← 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: 17-31258475-C-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 31258475,
      "ref": "C",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "NM_001042492.3",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 32,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.4305C>A",
          "hgvs_p": "p.Ile1435Ile",
          "transcript": "NM_001042492.3",
          "protein_id": "NP_001035957.1",
          "transcript_support_level": null,
          "aa_start": 1435,
          "aa_end": null,
          "aa_length": 2839,
          "cds_start": 4305,
          "cds_end": null,
          "cds_length": 8520,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000358273.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001042492.3"
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 32,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.4305C>A",
          "hgvs_p": "p.Ile1435Ile",
          "transcript": "ENST00000358273.9",
          "protein_id": "ENSP00000351015.4",
          "transcript_support_level": 1,
          "aa_start": 1435,
          "aa_end": null,
          "aa_length": 2839,
          "cds_start": 4305,
          "cds_end": null,
          "cds_length": 8520,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001042492.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000358273.9"
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 57,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.4242C>A",
          "hgvs_p": "p.Ile1414Ile",
          "transcript": "ENST00000356175.7",
          "protein_id": "ENSP00000348498.3",
          "transcript_support_level": 1,
          "aa_start": 1414,
          "aa_end": null,
          "aa_length": 2818,
          "cds_start": 4242,
          "cds_end": null,
          "cds_length": 8457,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000356175.7"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.4242C>A",
          "hgvs_p": null,
          "transcript": "ENST00000579081.6",
          "protein_id": "ENSP00000462408.2",
          "transcript_support_level": 1,
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000579081.6"
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 33,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.4335C>A",
          "hgvs_p": "p.Ile1445Ile",
          "transcript": "ENST00000691014.1",
          "protein_id": "ENSP00000510595.1",
          "transcript_support_level": null,
          "aa_start": 1445,
          "aa_end": null,
          "aa_length": 2849,
          "cds_start": 4335,
          "cds_end": null,
          "cds_length": 8550,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000691014.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 57,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.4242C>A",
          "hgvs_p": "p.Ile1414Ile",
          "transcript": "NM_000267.4",
          "protein_id": "NP_000258.1",
          "transcript_support_level": null,
          "aa_start": 1414,
          "aa_end": null,
          "aa_length": 2818,
          "cds_start": 4242,
          "cds_end": null,
          "cds_length": 8457,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000267.4"
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 32,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.4287C>A",
          "hgvs_p": "p.Ile1429Ile",
          "transcript": "ENST00000696138.1",
          "protein_id": "ENSP00000512431.1",
          "transcript_support_level": null,
          "aa_start": 1429,
          "aa_end": null,
          "aa_length": 2807,
          "cds_start": 4287,
          "cds_end": null,
          "cds_length": 8424,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000696138.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.3240C>A",
          "hgvs_p": "p.Ile1080Ile",
          "transcript": "ENST00000456735.6",
          "protein_id": "ENSP00000389907.2",
          "transcript_support_level": 5,
          "aa_start": 1080,
          "aa_end": null,
          "aa_length": 2502,
          "cds_start": 3240,
          "cds_end": null,
          "cds_length": 7509,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000456735.6"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*139C>A",
          "hgvs_p": null,
          "transcript": "ENST00000466819.5",
          "protein_id": "ENSP00000463819.1",
          "transcript_support_level": 5,
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000466819.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*139C>A",
          "hgvs_p": null,
          "transcript": "ENST00000479614.1",
          "protein_id": "ENSP00000462157.1",
          "transcript_support_level": 5,
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000479614.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.2778C>A",
          "hgvs_p": null,
          "transcript": "ENST00000493220.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000493220.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.93C>A",
          "hgvs_p": null,
          "transcript": "ENST00000581113.7",
          "protein_id": "ENSP00000492721.2",
          "transcript_support_level": 5,
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000581113.7"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.950C>A",
          "hgvs_p": null,
          "transcript": "ENST00000687863.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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000687863.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.277C>A",
          "hgvs_p": null,
          "transcript": "ENST00000691649.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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000691649.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.411C>A",
          "hgvs_p": null,
          "transcript": "ENST00000696140.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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000696140.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*198C>A",
          "hgvs_p": null,
          "transcript": "ENST00000696141.1",
          "protein_id": "ENSP00000512433.1",
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000696141.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*139C>A",
          "hgvs_p": null,
          "transcript": "ENST00000466819.5",
          "protein_id": "ENSP00000463819.1",
          "transcript_support_level": 5,
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000466819.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*139C>A",
          "hgvs_p": null,
          "transcript": "ENST00000479614.1",
          "protein_id": "ENSP00000462157.1",
          "transcript_support_level": 5,
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000479614.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*198C>A",
          "hgvs_p": null,
          "transcript": "ENST00000696141.1",
          "protein_id": "ENSP00000512433.1",
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000696141.1"
        }
      ],
      "gene_symbol": "NF1",
      "gene_hgnc_id": 7765,
      "dbsnp": "rs779865988",
      "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.20000000298023224,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.09000000357627869,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.2,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.389,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.09,
      "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": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Moderate,BP7",
      "acmg_by_gene": [
        {
          "score": -1,
          "benign_score": 3,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate",
            "BP7"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_001042492.3",
          "gene_symbol": "NF1",
          "hgnc_id": 7765,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.4305C>A",
          "hgvs_p": "p.Ile1435Ile"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}