← 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-31326241-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 31326241,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "NM_001042492.3",
      "consequences": [
        {
          "aa_ref": "V",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 37,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.5257G>A",
          "hgvs_p": "p.Val1753Ile",
          "transcript": "NM_001042492.3",
          "protein_id": "NP_001035957.1",
          "transcript_support_level": null,
          "aa_start": 1753,
          "aa_end": null,
          "aa_length": 2839,
          "cds_start": 5257,
          "cds_end": null,
          "cds_length": 8520,
          "cdna_start": 5590,
          "cdna_end": null,
          "cdna_length": 12373,
          "mane_select": "ENST00000358273.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "I",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 37,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.5257G>A",
          "hgvs_p": "p.Val1753Ile",
          "transcript": "ENST00000358273.9",
          "protein_id": "ENSP00000351015.4",
          "transcript_support_level": 1,
          "aa_start": 1753,
          "aa_end": null,
          "aa_length": 2839,
          "cds_start": 5257,
          "cds_end": null,
          "cds_length": 8520,
          "cdna_start": 5590,
          "cdna_end": null,
          "cdna_length": 12373,
          "mane_select": "NM_001042492.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 36,
          "exon_rank_end": null,
          "exon_count": 57,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.5194G>A",
          "hgvs_p": "p.Val1732Ile",
          "transcript": "ENST00000356175.7",
          "protein_id": "ENSP00000348498.3",
          "transcript_support_level": 1,
          "aa_start": 1732,
          "aa_end": null,
          "aa_length": 2818,
          "cds_start": 5194,
          "cds_end": null,
          "cds_length": 8457,
          "cdna_start": 5577,
          "cdna_end": null,
          "cdna_length": 12362,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 37,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*422G>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": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8788,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 37,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*422G>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": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8788,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.5287G>A",
          "hgvs_p": "p.Val1763Ile",
          "transcript": "ENST00000691014.1",
          "protein_id": "ENSP00000510595.1",
          "transcript_support_level": null,
          "aa_start": 1763,
          "aa_end": null,
          "aa_length": 2849,
          "cds_start": 5287,
          "cds_end": null,
          "cds_length": 8550,
          "cdna_start": 5620,
          "cdna_end": null,
          "cdna_length": 12415,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 36,
          "exon_rank_end": null,
          "exon_count": 57,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.5194G>A",
          "hgvs_p": "p.Val1732Ile",
          "transcript": "NM_000267.4",
          "protein_id": "NP_000258.1",
          "transcript_support_level": null,
          "aa_start": 1732,
          "aa_end": null,
          "aa_length": 2818,
          "cds_start": 5194,
          "cds_end": null,
          "cds_length": 8457,
          "cdna_start": 5527,
          "cdna_end": null,
          "cdna_length": 12310,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 37,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.5239G>A",
          "hgvs_p": "p.Val1747Ile",
          "transcript": "ENST00000696138.1",
          "protein_id": "ENSP00000512431.1",
          "transcript_support_level": null,
          "aa_start": 1747,
          "aa_end": null,
          "aa_length": 2807,
          "cds_start": 5239,
          "cds_end": null,
          "cds_length": 8424,
          "cdna_start": 5622,
          "cdna_end": null,
          "cdna_length": 12484,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.4192G>A",
          "hgvs_p": "p.Val1398Ile",
          "transcript": "ENST00000456735.6",
          "protein_id": "ENSP00000389907.2",
          "transcript_support_level": 5,
          "aa_start": 1398,
          "aa_end": null,
          "aa_length": 2502,
          "cds_start": 4192,
          "cds_end": null,
          "cds_length": 7509,
          "cdna_start": 4192,
          "cdna_end": null,
          "cdna_length": 7787,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.3730G>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": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5691,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*923G>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": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2335,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.1902G>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": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5018,
          "mane_select": null,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.-180G>A",
          "hgvs_p": null,
          "transcript": "ENST00000684826.1",
          "protein_id": "ENSP00000509994.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1045,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3138,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7344,
          "mane_select": null,
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.-180G>A",
          "hgvs_p": null,
          "transcript": "ENST00000693617.1",
          "protein_id": "ENSP00000510031.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1027,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3084,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7501,
          "mane_select": null,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.-247G>A",
          "hgvs_p": null,
          "transcript": "ENST00000687027.1",
          "protein_id": "ENSP00000508715.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 891,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2676,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6985,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*923G>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": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2335,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "NF1",
      "gene_hgnc_id": 7765,
      "dbsnp": "rs148540952",
      "frequency_reference_population": 0.000011190815,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 18,
      "gnomad_exomes_af": 0.00000892672,
      "gnomad_genomes_af": 0.0000328601,
      "gnomad_exomes_ac": 13,
      "gnomad_genomes_ac": 5,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.2626155614852905,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.05999999865889549,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.188,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.3627,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.32,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 9.538,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.06,
      "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": -2,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM1,BP4_Moderate,BP6,BS2_Supporting",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM1",
            "BP4_Moderate",
            "BP6",
            "BS2_Supporting"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_001042492.3",
          "gene_symbol": "NF1",
          "hgnc_id": 7765,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.5257G>A",
          "hgvs_p": "p.Val1753Ile"
        }
      ],
      "clinvar_disease": " type 1,Cardiovascular phenotype,Hereditary cancer-predisposing syndrome,Neurofibromatosis,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:3 LB:2 B:1",
      "phenotype_combined": "Hereditary cancer-predisposing syndrome|Neurofibromatosis, type 1|not provided|Hereditary cancer-predisposing syndrome;Cardiovascular phenotype",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}