← Back to variant description

GeneBe API Showcase

This page demonstrates how to use the GeneBe API to query variant information. The API provides programmatic access to genomic annotations and variant data.

API presented here should be used for checking single variants. If you want to check many variants at once, please use other API endpoints that you will find in the documentation.

Documentation & Advanced Usage

Complete API documentation:docs.genebe.net/docs/api/overview/

Interactive endpoint tester:api.genebe.net/cloud/gb-api-doc/swagger-ui/

Python client for pandas:pypi.org/project/genebe/

Java CLI for VCF files:github.com/pstawinski/genebe-cli

All tools documented at:docs.genebe.net

API Request Examples for Variant: X-141906091-C-A (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=X&pos=141906091&ref=C&alt=A&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 141906091,
      "ref": "C",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "NM_005462.5",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MAGEC1",
          "gene_hgnc_id": 6812,
          "hgvs_c": "c.687C>A",
          "hgvs_p": "p.Ala229Ala",
          "transcript": "NM_005462.5",
          "protein_id": "NP_005453.2",
          "transcript_support_level": null,
          "aa_start": 229,
          "aa_end": null,
          "aa_length": 1142,
          "cds_start": 687,
          "cds_end": null,
          "cds_length": 3429,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000285879.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_005462.5"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MAGEC1",
          "gene_hgnc_id": 6812,
          "hgvs_c": "c.687C>A",
          "hgvs_p": "p.Ala229Ala",
          "transcript": "ENST00000285879.5",
          "protein_id": "ENSP00000285879.4",
          "transcript_support_level": 1,
          "aa_start": 229,
          "aa_end": null,
          "aa_length": 1142,
          "cds_start": 687,
          "cds_end": null,
          "cds_length": 3429,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_005462.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000285879.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "MAGEC1",
          "gene_hgnc_id": 6812,
          "hgvs_c": "c.-115+544C>A",
          "hgvs_p": null,
          "transcript": "ENST00000406005.2",
          "protein_id": "ENSP00000385500.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 209,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 630,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000406005.2"
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MAGEC1",
          "gene_hgnc_id": 6812,
          "hgvs_c": "c.687C>A",
          "hgvs_p": "p.Ala229Ala",
          "transcript": "XM_011531418.3",
          "protein_id": "XP_011529720.1",
          "transcript_support_level": null,
          "aa_start": 229,
          "aa_end": null,
          "aa_length": 1142,
          "cds_start": 687,
          "cds_end": null,
          "cds_length": 3429,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011531418.3"
        }
      ],
      "gene_symbol": "MAGEC1",
      "gene_hgnc_id": 6812,
      "dbsnp": "rs176039",
      "frequency_reference_population": null,
      "hom_count_reference_population": null,
      "allele_count_reference_population": null,
      "gnomad_exomes_af": 0.364953,
      "gnomad_genomes_af": 0.413141,
      "gnomad_exomes_ac": 159022,
      "gnomad_genomes_ac": 20241,
      "gnomad_exomes_homalt": 2418,
      "gnomad_genomes_homalt": 131,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8299999833106995,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.83,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.868,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -7,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BP7",
      "acmg_by_gene": [
        {
          "score": -7,
          "benign_score": 7,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BP7"
          ],
          "verdict": "Benign",
          "transcript": "NM_005462.5",
          "gene_symbol": "MAGEC1",
          "hgnc_id": 6812,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.687C>A",
          "hgvs_p": "p.Ala229Ala"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LB:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}