← 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: 1-97450068-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 97450068,
      "ref": "A",
      "alt": "G",
      "effect": "synonymous_variant",
      "transcript": "NM_000110.4",
      "consequences": [
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1896T>C",
          "hgvs_p": "p.Phe632Phe",
          "transcript": "NM_000110.4",
          "protein_id": "NP_000101.2",
          "transcript_support_level": null,
          "aa_start": 632,
          "aa_end": null,
          "aa_length": 1025,
          "cds_start": 1896,
          "cds_end": null,
          "cds_length": 3078,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000370192.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000110.4"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1896T>C",
          "hgvs_p": "p.Phe632Phe",
          "transcript": "ENST00000370192.8",
          "protein_id": "ENSP00000359211.3",
          "transcript_support_level": 1,
          "aa_start": 632,
          "aa_end": null,
          "aa_length": 1025,
          "cds_start": 1896,
          "cds_end": null,
          "cds_length": 3078,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000110.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000370192.8"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2064T>C",
          "hgvs_p": "p.Phe688Phe",
          "transcript": "ENST00000876340.1",
          "protein_id": "ENSP00000546399.1",
          "transcript_support_level": null,
          "aa_start": 688,
          "aa_end": null,
          "aa_length": 1081,
          "cds_start": 2064,
          "cds_end": null,
          "cds_length": 3246,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876340.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1896T>C",
          "hgvs_p": "p.Phe632Phe",
          "transcript": "ENST00000969915.1",
          "protein_id": "ENSP00000639974.1",
          "transcript_support_level": null,
          "aa_start": 632,
          "aa_end": null,
          "aa_length": 1060,
          "cds_start": 1896,
          "cds_end": null,
          "cds_length": 3183,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000969915.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1896T>C",
          "hgvs_p": "p.Phe632Phe",
          "transcript": "ENST00000876335.1",
          "protein_id": "ENSP00000546394.1",
          "transcript_support_level": null,
          "aa_start": 632,
          "aa_end": null,
          "aa_length": 1058,
          "cds_start": 1896,
          "cds_end": null,
          "cds_length": 3177,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876335.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1896T>C",
          "hgvs_p": "p.Phe632Phe",
          "transcript": "ENST00000969914.1",
          "protein_id": "ENSP00000639973.1",
          "transcript_support_level": null,
          "aa_start": 632,
          "aa_end": null,
          "aa_length": 1055,
          "cds_start": 1896,
          "cds_end": null,
          "cds_length": 3168,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000969914.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1896T>C",
          "hgvs_p": "p.Phe632Phe",
          "transcript": "ENST00000876334.1",
          "protein_id": "ENSP00000546393.1",
          "transcript_support_level": null,
          "aa_start": 632,
          "aa_end": null,
          "aa_length": 1002,
          "cds_start": 1896,
          "cds_end": null,
          "cds_length": 3009,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876334.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1800T>C",
          "hgvs_p": "p.Phe600Phe",
          "transcript": "ENST00000876341.1",
          "protein_id": "ENSP00000546400.1",
          "transcript_support_level": null,
          "aa_start": 600,
          "aa_end": null,
          "aa_length": 993,
          "cds_start": 1800,
          "cds_end": null,
          "cds_length": 2982,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876341.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1785T>C",
          "hgvs_p": "p.Phe595Phe",
          "transcript": "ENST00000876339.1",
          "protein_id": "ENSP00000546398.1",
          "transcript_support_level": null,
          "aa_start": 595,
          "aa_end": null,
          "aa_length": 988,
          "cds_start": 1785,
          "cds_end": null,
          "cds_length": 2967,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876339.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1896T>C",
          "hgvs_p": "p.Phe632Phe",
          "transcript": "ENST00000876337.1",
          "protein_id": "ENSP00000546396.1",
          "transcript_support_level": null,
          "aa_start": 632,
          "aa_end": null,
          "aa_length": 985,
          "cds_start": 1896,
          "cds_end": null,
          "cds_length": 2958,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876337.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1896T>C",
          "hgvs_p": "p.Phe632Phe",
          "transcript": "ENST00000876336.1",
          "protein_id": "ENSP00000546395.1",
          "transcript_support_level": null,
          "aa_start": 632,
          "aa_end": null,
          "aa_length": 978,
          "cds_start": 1896,
          "cds_end": null,
          "cds_length": 2937,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876336.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1680T>C",
          "hgvs_p": "p.Phe560Phe",
          "transcript": "ENST00000876338.1",
          "protein_id": "ENSP00000546397.1",
          "transcript_support_level": null,
          "aa_start": 560,
          "aa_end": null,
          "aa_length": 953,
          "cds_start": 1680,
          "cds_end": null,
          "cds_length": 2862,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876338.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1785T>C",
          "hgvs_p": "p.Phe595Phe",
          "transcript": "XM_017000507.2",
          "protein_id": "XP_016855996.1",
          "transcript_support_level": null,
          "aa_start": 595,
          "aa_end": null,
          "aa_length": 988,
          "cds_start": 1785,
          "cds_end": null,
          "cds_length": 2967,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017000507.2"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1680T>C",
          "hgvs_p": "p.Phe560Phe",
          "transcript": "XM_005270562.3",
          "protein_id": "XP_005270619.2",
          "transcript_support_level": null,
          "aa_start": 560,
          "aa_end": null,
          "aa_length": 953,
          "cds_start": 1680,
          "cds_end": null,
          "cds_length": 2862,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005270562.3"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1668T>C",
          "hgvs_p": "p.Phe556Phe",
          "transcript": "XM_047448076.1",
          "protein_id": "XP_047304032.1",
          "transcript_support_level": null,
          "aa_start": 556,
          "aa_end": null,
          "aa_length": 949,
          "cds_start": 1668,
          "cds_end": null,
          "cds_length": 2850,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047448076.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1569T>C",
          "hgvs_p": "p.Phe523Phe",
          "transcript": "XM_047448077.1",
          "protein_id": "XP_047304033.1",
          "transcript_support_level": null,
          "aa_start": 523,
          "aa_end": null,
          "aa_length": 916,
          "cds_start": 1569,
          "cds_end": null,
          "cds_length": 2751,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047448077.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "F",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.1896T>C",
          "hgvs_p": "p.Phe632Phe",
          "transcript": "XM_006710397.4",
          "protein_id": "XP_006710460.1",
          "transcript_support_level": null,
          "aa_start": 632,
          "aa_end": null,
          "aa_length": 889,
          "cds_start": 1896,
          "cds_end": null,
          "cds_length": 2670,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006710397.4"
        }
      ],
      "gene_symbol": "DPYD",
      "gene_hgnc_id": 3012,
      "dbsnp": "rs17376848",
      "frequency_reference_population": 0.04657689,
      "hom_count_reference_population": 2196,
      "allele_count_reference_population": 75167,
      "gnomad_exomes_af": 0.0468693,
      "gnomad_genomes_af": 0.0437701,
      "gnomad_exomes_ac": 68503,
      "gnomad_genomes_ac": 6664,
      "gnomad_exomes_homalt": 2002,
      "gnomad_genomes_homalt": 194,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.6499999761581421,
      "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.65,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.288,
      "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": -13,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP7,BA1",
      "acmg_by_gene": [
        {
          "score": -13,
          "benign_score": 13,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP7",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "NM_000110.4",
          "gene_symbol": "DPYD",
          "hgnc_id": 3012,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1896T>C",
          "hgvs_p": "p.Phe632Phe"
        }
      ],
      "clinvar_disease": "Dihydropyrimidine dehydrogenase deficiency,capecitabine response - Toxicity,fluorouracil response - Toxicity,not provided,not specified",
      "clinvar_classification": "drug response",
      "clinvar_review_status": "reviewed by expert panel",
      "clinvar_submissions_summary": "B:2 O:3",
      "phenotype_combined": "not provided|not specified|Dihydropyrimidine dehydrogenase deficiency|capecitabine response - Toxicity|fluorouracil response - Toxicity",
      "pathogenicity_classification_combined": "drug response",
      "custom_annotations": null
    }
  ],
  "message": null
}