← 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: 3-170998299-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 170998299,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000314251.8",
      "consequences": [
        {
          "aa_ref": "V",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC2A2",
          "gene_hgnc_id": 11006,
          "hgvs_c": "c.1268T>C",
          "hgvs_p": "p.Val423Ala",
          "transcript": "NM_000340.2",
          "protein_id": "NP_000331.1",
          "transcript_support_level": null,
          "aa_start": 423,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 1268,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": 1318,
          "cdna_end": null,
          "cdna_length": 3181,
          "mane_select": "ENST00000314251.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "A",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC2A2",
          "gene_hgnc_id": 11006,
          "hgvs_c": "c.1268T>C",
          "hgvs_p": "p.Val423Ala",
          "transcript": "ENST00000314251.8",
          "protein_id": "ENSP00000323568.3",
          "transcript_support_level": 1,
          "aa_start": 423,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 1268,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": 1318,
          "cdna_end": null,
          "cdna_length": 3181,
          "mane_select": "NM_000340.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC2A2",
          "gene_hgnc_id": 11006,
          "hgvs_c": "n.*735T>C",
          "hgvs_p": null,
          "transcript": "ENST00000497642.5",
          "protein_id": "ENSP00000418456.1",
          "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": 2583,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC2A2",
          "gene_hgnc_id": 11006,
          "hgvs_c": "n.*735T>C",
          "hgvs_p": null,
          "transcript": "ENST00000497642.5",
          "protein_id": "ENSP00000418456.1",
          "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": 2583,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC2A2",
          "gene_hgnc_id": 11006,
          "hgvs_c": "c.911T>C",
          "hgvs_p": "p.Val304Ala",
          "transcript": "NM_001278658.2",
          "protein_id": "NP_001265587.1",
          "transcript_support_level": null,
          "aa_start": 304,
          "aa_end": null,
          "aa_length": 405,
          "cds_start": 911,
          "cds_end": null,
          "cds_length": 1218,
          "cdna_start": 1055,
          "cdna_end": null,
          "cdna_length": 2918,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC2A2",
          "gene_hgnc_id": 11006,
          "hgvs_c": "c.749T>C",
          "hgvs_p": "p.Val250Ala",
          "transcript": "NM_001278659.2",
          "protein_id": "NP_001265588.1",
          "transcript_support_level": null,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 351,
          "cds_start": 749,
          "cds_end": null,
          "cds_length": 1056,
          "cdna_start": 1193,
          "cdna_end": null,
          "cdna_length": 3056,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC2A2",
          "gene_hgnc_id": 11006,
          "hgvs_c": "c.1223T>C",
          "hgvs_p": "p.Val408Ala",
          "transcript": "XM_011513087.3",
          "protein_id": "XP_011511389.1",
          "transcript_support_level": null,
          "aa_start": 408,
          "aa_end": null,
          "aa_length": 509,
          "cds_start": 1223,
          "cds_end": null,
          "cds_length": 1530,
          "cdna_start": 1302,
          "cdna_end": null,
          "cdna_length": 3165,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC2A2",
          "gene_hgnc_id": 11006,
          "hgvs_c": "c.749T>C",
          "hgvs_p": "p.Val250Ala",
          "transcript": "XM_047448761.1",
          "protein_id": "XP_047304717.1",
          "transcript_support_level": null,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 351,
          "cds_start": 749,
          "cds_end": null,
          "cds_length": 1056,
          "cdna_start": 841,
          "cdna_end": null,
          "cdna_length": 2704,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC2A2",
          "gene_hgnc_id": 11006,
          "hgvs_c": "n.*735T>C",
          "hgvs_p": null,
          "transcript": "ENST00000469787.1",
          "protein_id": "ENSP00000417918.1",
          "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": 1533,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC2A2",
          "gene_hgnc_id": 11006,
          "hgvs_c": "n.*735T>C",
          "hgvs_p": null,
          "transcript": "ENST00000469787.1",
          "protein_id": "ENSP00000417918.1",
          "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": 1533,
          "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": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000286856",
          "gene_hgnc_id": null,
          "hgvs_c": "n.291+3274A>G",
          "hgvs_p": null,
          "transcript": "ENST00000655926.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": 453,
          "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": 4,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000286856",
          "gene_hgnc_id": null,
          "hgvs_c": "n.309+3274A>G",
          "hgvs_p": null,
          "transcript": "ENST00000834079.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": 1483,
          "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": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000286856",
          "gene_hgnc_id": null,
          "hgvs_c": "n.476+3274A>G",
          "hgvs_p": null,
          "transcript": "ENST00000834080.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": 692,
          "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": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000286856",
          "gene_hgnc_id": null,
          "hgvs_c": "n.486+3274A>G",
          "hgvs_p": null,
          "transcript": "ENST00000834081.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": 1037,
          "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": 4,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000286856",
          "gene_hgnc_id": null,
          "hgvs_c": "n.484+3274A>G",
          "hgvs_p": null,
          "transcript": "ENST00000834082.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": 1656,
          "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": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000286856",
          "gene_hgnc_id": null,
          "hgvs_c": "n.448+3274A>G",
          "hgvs_p": null,
          "transcript": "ENST00000834083.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": 610,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SLC2A2",
      "gene_hgnc_id": 11006,
      "dbsnp": "rs28928874",
      "frequency_reference_population": 6.842014e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 6.84201e-7,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 1,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.8408223986625671,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.03999999910593033,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.751,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.2327,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": 0.08,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 7.103,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.04,
      "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": 6,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PM2,PM5,PP3_Moderate",
      "acmg_by_gene": [
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PM2",
            "PM5",
            "PP3_Moderate"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000314251.8",
          "gene_symbol": "SLC2A2",
          "hgnc_id": 11006,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1268T>C",
          "hgvs_p": "p.Val423Ala"
        },
        {
          "score": 4,
          "benign_score": 0,
          "pathogenic_score": 4,
          "criteria": [
            "PM2",
            "PP3_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000655926.1",
          "gene_symbol": "ENSG00000286856",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.291+3274A>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}