← 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: 2-43839035-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 43839035,
      "ref": "T",
      "alt": "G",
      "effect": "5_prime_UTR_variant",
      "transcript": "ENST00000272286.4",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG8",
          "gene_hgnc_id": 13887,
          "hgvs_c": "c.-19T>G",
          "hgvs_p": null,
          "transcript": "NM_022437.3",
          "protein_id": "NP_071882.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 673,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2022,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7180,
          "mane_select": "ENST00000272286.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG8",
          "gene_hgnc_id": 13887,
          "hgvs_c": "c.-19T>G",
          "hgvs_p": null,
          "transcript": "ENST00000272286.4",
          "protein_id": "ENSP00000272286.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 673,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2022,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7180,
          "mane_select": "NM_022437.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG8",
          "gene_hgnc_id": 13887,
          "hgvs_c": "c.-19T>G",
          "hgvs_p": null,
          "transcript": "NM_001357321.2",
          "protein_id": "NP_001344250.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 672,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2019,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7177,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-289A>C",
          "hgvs_p": null,
          "transcript": "XM_047445409.1",
          "protein_id": "XP_047301365.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 570,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1713,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2842,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 9,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ABCG8",
          "gene_hgnc_id": 13887,
          "hgvs_c": "c.76-5472T>G",
          "hgvs_p": null,
          "transcript": "ENST00000644611.1",
          "protein_id": "ENSP00000495423.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 454,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1366,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2011,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 3,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ABCG8",
          "gene_hgnc_id": 13887,
          "hgvs_c": "n.521-5472T>G",
          "hgvs_p": null,
          "transcript": "ENST00000643284.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3058,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-356A>C",
          "hgvs_p": null,
          "transcript": "NM_022436.3",
          "protein_id": "NP_071881.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 651,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1956,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2760,
          "mane_select": "ENST00000405322.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-356A>C",
          "hgvs_p": null,
          "transcript": "ENST00000405322.8",
          "protein_id": "ENSP00000384513.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 651,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1956,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2760,
          "mane_select": "NM_022436.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "n.-170A>C",
          "hgvs_p": null,
          "transcript": "ENST00000409962.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2512,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-356A>C",
          "hgvs_p": null,
          "transcript": "XM_011533024.3",
          "protein_id": "XP_011531326.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 606,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1821,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2625,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-356A>C",
          "hgvs_p": null,
          "transcript": "XM_006712073.4",
          "protein_id": "XP_006712136.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 593,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1782,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2123,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-1099A>C",
          "hgvs_p": null,
          "transcript": "XM_011533025.4",
          "protein_id": "XP_011531327.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 570,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1713,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3260,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-356A>C",
          "hgvs_p": null,
          "transcript": "XM_011533026.3",
          "protein_id": "XP_011531328.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 561,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1686,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2490,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-356A>C",
          "hgvs_p": null,
          "transcript": "XM_005264480.5",
          "protein_id": "XP_005264537.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 558,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1677,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2647,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-1214A>C",
          "hgvs_p": null,
          "transcript": "XM_011533027.4",
          "protein_id": "XP_011531329.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 480,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1443,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3105,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-1180A>C",
          "hgvs_p": null,
          "transcript": "XM_047445410.1",
          "protein_id": "XP_047301366.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 422,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1269,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2434,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-1180A>C",
          "hgvs_p": null,
          "transcript": "XM_047445411.1",
          "protein_id": "XP_047301367.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 387,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1164,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2958,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ABCG5",
          "gene_hgnc_id": 13886,
          "hgvs_c": "c.-356A>C",
          "hgvs_p": null,
          "transcript": "XM_006712074.4",
          "protein_id": "XP_006712137.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 339,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1020,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1358,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ABCG8",
      "gene_hgnc_id": 13887,
      "dbsnp": "rs3806471",
      "frequency_reference_population": 0.35299957,
      "hom_count_reference_population": 104532,
      "allele_count_reference_population": 546934,
      "gnomad_exomes_af": 0.350641,
      "gnomad_genomes_af": 0.374684,
      "gnomad_exomes_ac": 489991,
      "gnomad_genomes_ac": 56943,
      "gnomad_exomes_homalt": 92987,
      "gnomad_genomes_homalt": 11545,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8899999856948853,
      "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.89,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -1.646,
      "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": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000272286.4",
          "gene_symbol": "ABCG8",
          "hgnc_id": 13887,
          "effects": [
            "5_prime_UTR_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.-19T>G",
          "hgvs_p": null
        },
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "XM_047445409.1",
          "gene_symbol": "ABCG5",
          "hgnc_id": 13886,
          "effects": [
            "5_prime_UTR_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.-289A>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Sitosterolemia,Sitosterolemia 1,not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:7",
      "phenotype_combined": "not specified|Sitosterolemia|Sitosterolemia 1|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}