← 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-97098623-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 97098623,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_000110.4",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2632A>G",
          "hgvs_p": "p.Ser878Gly",
          "transcript": "NM_000110.4",
          "protein_id": "NP_000101.2",
          "transcript_support_level": null,
          "aa_start": 878,
          "aa_end": null,
          "aa_length": 1025,
          "cds_start": 2632,
          "cds_end": null,
          "cds_length": 3078,
          "cdna_start": 2744,
          "cdna_end": null,
          "cdna_length": 4423,
          "mane_select": "ENST00000370192.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000110.4"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2632A>G",
          "hgvs_p": "p.Ser878Gly",
          "transcript": "ENST00000370192.8",
          "protein_id": "ENSP00000359211.3",
          "transcript_support_level": 1,
          "aa_start": 878,
          "aa_end": null,
          "aa_length": 1025,
          "cds_start": 2632,
          "cds_end": null,
          "cds_length": 3078,
          "cdna_start": 2744,
          "cdna_end": null,
          "cdna_length": 4423,
          "mane_select": "NM_000110.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000370192.8"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2800A>G",
          "hgvs_p": "p.Ser934Gly",
          "transcript": "ENST00000876340.1",
          "protein_id": "ENSP00000546399.1",
          "transcript_support_level": null,
          "aa_start": 934,
          "aa_end": null,
          "aa_length": 1081,
          "cds_start": 2800,
          "cds_end": null,
          "cds_length": 3246,
          "cdna_start": 2907,
          "cdna_end": null,
          "cdna_length": 4583,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876340.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2737A>G",
          "hgvs_p": "p.Ser913Gly",
          "transcript": "ENST00000969915.1",
          "protein_id": "ENSP00000639974.1",
          "transcript_support_level": null,
          "aa_start": 913,
          "aa_end": null,
          "aa_length": 1060,
          "cds_start": 2737,
          "cds_end": null,
          "cds_length": 3183,
          "cdna_start": 2849,
          "cdna_end": null,
          "cdna_length": 4525,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000969915.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2731A>G",
          "hgvs_p": "p.Ser911Gly",
          "transcript": "ENST00000876335.1",
          "protein_id": "ENSP00000546394.1",
          "transcript_support_level": null,
          "aa_start": 911,
          "aa_end": null,
          "aa_length": 1058,
          "cds_start": 2731,
          "cds_end": null,
          "cds_length": 3177,
          "cdna_start": 2849,
          "cdna_end": null,
          "cdna_length": 4528,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876335.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2632A>G",
          "hgvs_p": "p.Ser878Gly",
          "transcript": "ENST00000969914.1",
          "protein_id": "ENSP00000639973.1",
          "transcript_support_level": null,
          "aa_start": 878,
          "aa_end": null,
          "aa_length": 1055,
          "cds_start": 2632,
          "cds_end": null,
          "cds_length": 3168,
          "cdna_start": 2762,
          "cdna_end": null,
          "cdna_length": 4527,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000969914.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2563A>G",
          "hgvs_p": "p.Ser855Gly",
          "transcript": "ENST00000876334.1",
          "protein_id": "ENSP00000546393.1",
          "transcript_support_level": null,
          "aa_start": 855,
          "aa_end": null,
          "aa_length": 1002,
          "cds_start": 2563,
          "cds_end": null,
          "cds_length": 3009,
          "cdna_start": 2698,
          "cdna_end": null,
          "cdna_length": 4374,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876334.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2536A>G",
          "hgvs_p": "p.Ser846Gly",
          "transcript": "ENST00000876341.1",
          "protein_id": "ENSP00000546400.1",
          "transcript_support_level": null,
          "aa_start": 846,
          "aa_end": null,
          "aa_length": 993,
          "cds_start": 2536,
          "cds_end": null,
          "cds_length": 2982,
          "cdna_start": 2575,
          "cdna_end": null,
          "cdna_length": 4254,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876341.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2521A>G",
          "hgvs_p": "p.Ser841Gly",
          "transcript": "ENST00000876339.1",
          "protein_id": "ENSP00000546398.1",
          "transcript_support_level": null,
          "aa_start": 841,
          "aa_end": null,
          "aa_length": 988,
          "cds_start": 2521,
          "cds_end": null,
          "cds_length": 2967,
          "cdna_start": 2628,
          "cdna_end": null,
          "cdna_length": 4307,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876339.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2512A>G",
          "hgvs_p": "p.Ser838Gly",
          "transcript": "ENST00000876337.1",
          "protein_id": "ENSP00000546396.1",
          "transcript_support_level": null,
          "aa_start": 838,
          "aa_end": null,
          "aa_length": 985,
          "cds_start": 2512,
          "cds_end": null,
          "cds_length": 2958,
          "cdna_start": 2624,
          "cdna_end": null,
          "cdna_length": 4303,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876337.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2632A>G",
          "hgvs_p": "p.Ser878Gly",
          "transcript": "ENST00000876336.1",
          "protein_id": "ENSP00000546395.1",
          "transcript_support_level": null,
          "aa_start": 878,
          "aa_end": null,
          "aa_length": 978,
          "cds_start": 2632,
          "cds_end": null,
          "cds_length": 2937,
          "cdna_start": 2744,
          "cdna_end": null,
          "cdna_length": 4282,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876336.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2416A>G",
          "hgvs_p": "p.Ser806Gly",
          "transcript": "ENST00000876338.1",
          "protein_id": "ENSP00000546397.1",
          "transcript_support_level": null,
          "aa_start": 806,
          "aa_end": null,
          "aa_length": 953,
          "cds_start": 2416,
          "cds_end": null,
          "cds_length": 2862,
          "cdna_start": 2528,
          "cdna_end": null,
          "cdna_length": 4207,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000876338.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2521A>G",
          "hgvs_p": "p.Ser841Gly",
          "transcript": "XM_017000507.2",
          "protein_id": "XP_016855996.1",
          "transcript_support_level": null,
          "aa_start": 841,
          "aa_end": null,
          "aa_length": 988,
          "cds_start": 2521,
          "cds_end": null,
          "cds_length": 2967,
          "cdna_start": 2658,
          "cdna_end": null,
          "cdna_length": 4337,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017000507.2"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2416A>G",
          "hgvs_p": "p.Ser806Gly",
          "transcript": "XM_005270562.3",
          "protein_id": "XP_005270619.2",
          "transcript_support_level": null,
          "aa_start": 806,
          "aa_end": null,
          "aa_length": 953,
          "cds_start": 2416,
          "cds_end": null,
          "cds_length": 2862,
          "cdna_start": 2553,
          "cdna_end": null,
          "cdna_length": 4232,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005270562.3"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2404A>G",
          "hgvs_p": "p.Ser802Gly",
          "transcript": "XM_047448076.1",
          "protein_id": "XP_047304032.1",
          "transcript_support_level": null,
          "aa_start": 802,
          "aa_end": null,
          "aa_length": 949,
          "cds_start": 2404,
          "cds_end": null,
          "cds_length": 2850,
          "cdna_start": 2662,
          "cdna_end": null,
          "cdna_length": 4341,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047448076.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DPYD",
          "gene_hgnc_id": 3012,
          "hgvs_c": "c.2305A>G",
          "hgvs_p": "p.Ser769Gly",
          "transcript": "XM_047448077.1",
          "protein_id": "XP_047304033.1",
          "transcript_support_level": null,
          "aa_start": 769,
          "aa_end": null,
          "aa_length": 916,
          "cds_start": 2305,
          "cds_end": null,
          "cds_length": 2751,
          "cdna_start": 2442,
          "cdna_end": null,
          "cdna_length": 4121,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047448077.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "DPYD-AS1",
          "gene_hgnc_id": 40195,
          "hgvs_c": "n.64+2637T>C",
          "hgvs_p": null,
          "transcript": "ENST00000422980.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 533,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000422980.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "DPYD-AS1",
          "gene_hgnc_id": 40195,
          "hgvs_c": "n.64+2637T>C",
          "hgvs_p": null,
          "transcript": "NR_046590.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 533,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "NR_046590.1"
        }
      ],
      "gene_symbol": "DPYD",
      "gene_hgnc_id": 3012,
      "dbsnp": "rs762911226",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.3327104449272156,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.343,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.0985,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.07,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 5.51,
      "phylop100way_prediction": "Uncertain_significance",
      "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": 1,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4",
      "acmg_by_gene": [
        {
          "score": 1,
          "benign_score": 1,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_000110.4",
          "gene_symbol": "DPYD",
          "hgnc_id": 3012,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.2632A>G",
          "hgvs_p": "p.Ser878Gly"
        },
        {
          "score": 1,
          "benign_score": 1,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000422980.1",
          "gene_symbol": "DPYD-AS1",
          "hgnc_id": 40195,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.64+2637T>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Dihydropyrimidine dehydrogenase deficiency",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Dihydropyrimidine dehydrogenase deficiency",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.