← 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: 16-23694785-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 23694785,
      "ref": "G",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "NM_033266.4",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.2043C>T",
          "hgvs_p": "p.Pro681Pro",
          "transcript": "NM_033266.4",
          "protein_id": "NP_150296.4",
          "transcript_support_level": null,
          "aa_start": 681,
          "aa_end": null,
          "aa_length": 926,
          "cds_start": 2043,
          "cds_end": null,
          "cds_length": 2781,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000256797.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_033266.4"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.2043C>T",
          "hgvs_p": "p.Pro681Pro",
          "transcript": "ENST00000256797.9",
          "protein_id": "ENSP00000256797.5",
          "transcript_support_level": 1,
          "aa_start": 681,
          "aa_end": null,
          "aa_length": 926,
          "cds_start": 2043,
          "cds_end": null,
          "cds_length": 2781,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_033266.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000256797.9"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.1887C>T",
          "hgvs_p": "p.Pro629Pro",
          "transcript": "ENST00000457008.6",
          "protein_id": "ENSP00000413812.2",
          "transcript_support_level": 1,
          "aa_start": 629,
          "aa_end": null,
          "aa_length": 874,
          "cds_start": 1887,
          "cds_end": null,
          "cds_length": 2625,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000457008.6"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.2073C>T",
          "hgvs_p": "p.Pro691Pro",
          "transcript": "ENST00000885430.1",
          "protein_id": "ENSP00000555489.1",
          "transcript_support_level": null,
          "aa_start": 691,
          "aa_end": null,
          "aa_length": 936,
          "cds_start": 2073,
          "cds_end": null,
          "cds_length": 2811,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000885430.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.2037C>T",
          "hgvs_p": "p.Pro679Pro",
          "transcript": "ENST00000885429.1",
          "protein_id": "ENSP00000555488.1",
          "transcript_support_level": null,
          "aa_start": 679,
          "aa_end": null,
          "aa_length": 924,
          "cds_start": 2037,
          "cds_end": null,
          "cds_length": 2775,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000885429.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.2043C>T",
          "hgvs_p": "p.Pro681Pro",
          "transcript": "ENST00000885433.1",
          "protein_id": "ENSP00000555492.1",
          "transcript_support_level": null,
          "aa_start": 681,
          "aa_end": null,
          "aa_length": 908,
          "cds_start": 2043,
          "cds_end": null,
          "cds_length": 2727,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000885433.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.1971C>T",
          "hgvs_p": "p.Pro657Pro",
          "transcript": "ENST00000885424.1",
          "protein_id": "ENSP00000555483.1",
          "transcript_support_level": null,
          "aa_start": 657,
          "aa_end": null,
          "aa_length": 902,
          "cds_start": 1971,
          "cds_end": null,
          "cds_length": 2709,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000885424.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.1941C>T",
          "hgvs_p": "p.Pro647Pro",
          "transcript": "ENST00000885432.1",
          "protein_id": "ENSP00000555491.1",
          "transcript_support_level": null,
          "aa_start": 647,
          "aa_end": null,
          "aa_length": 892,
          "cds_start": 1941,
          "cds_end": null,
          "cds_length": 2679,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000885432.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.1887C>T",
          "hgvs_p": "p.Pro629Pro",
          "transcript": "NM_001308220.2",
          "protein_id": "NP_001295149.2",
          "transcript_support_level": null,
          "aa_start": 629,
          "aa_end": null,
          "aa_length": 874,
          "cds_start": 1887,
          "cds_end": null,
          "cds_length": 2625,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001308220.2"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.1881C>T",
          "hgvs_p": "p.Pro627Pro",
          "transcript": "ENST00000885428.1",
          "protein_id": "ENSP00000555487.1",
          "transcript_support_level": null,
          "aa_start": 627,
          "aa_end": null,
          "aa_length": 872,
          "cds_start": 1881,
          "cds_end": null,
          "cds_length": 2619,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000885428.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.1875C>T",
          "hgvs_p": "p.Pro625Pro",
          "transcript": "ENST00000885426.1",
          "protein_id": "ENSP00000555485.1",
          "transcript_support_level": null,
          "aa_start": 625,
          "aa_end": null,
          "aa_length": 870,
          "cds_start": 1875,
          "cds_end": null,
          "cds_length": 2613,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000885426.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.2043C>T",
          "hgvs_p": "p.Pro681Pro",
          "transcript": "ENST00000885431.1",
          "protein_id": "ENSP00000555490.1",
          "transcript_support_level": null,
          "aa_start": 681,
          "aa_end": null,
          "aa_length": 852,
          "cds_start": 2043,
          "cds_end": null,
          "cds_length": 2559,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000885431.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.1815C>T",
          "hgvs_p": "p.Pro605Pro",
          "transcript": "ENST00000885427.1",
          "protein_id": "ENSP00000555486.1",
          "transcript_support_level": null,
          "aa_start": 605,
          "aa_end": null,
          "aa_length": 850,
          "cds_start": 1815,
          "cds_end": null,
          "cds_length": 2553,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000885427.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.1887C>T",
          "hgvs_p": "p.Pro629Pro",
          "transcript": "ENST00000885425.1",
          "protein_id": "ENSP00000555484.1",
          "transcript_support_level": null,
          "aa_start": 629,
          "aa_end": null,
          "aa_length": 800,
          "cds_start": 1887,
          "cds_end": null,
          "cds_length": 2403,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000885425.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.1611C>T",
          "hgvs_p": "p.Pro537Pro",
          "transcript": "XM_047433506.1",
          "protein_id": "XP_047289462.1",
          "transcript_support_level": null,
          "aa_start": 537,
          "aa_end": null,
          "aa_length": 782,
          "cds_start": 1611,
          "cds_end": null,
          "cds_length": 2349,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047433506.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "c.*327C>T",
          "hgvs_p": null,
          "transcript": "XM_011545711.3",
          "protein_id": "XP_011544013.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 573,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1722,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011545711.3"
        },
        {
          "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": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "n.-25C>T",
          "hgvs_p": null,
          "transcript": "ENST00000562458.2",
          "protein_id": "ENSP00000456866.2",
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000562458.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERN2",
          "gene_hgnc_id": 16942,
          "hgvs_c": "n.*1907C>T",
          "hgvs_p": null,
          "transcript": "ENST00000562562.1",
          "protein_id": "ENSP00000457361.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": "ENST00000562562.1"
        }
      ],
      "gene_symbol": "ERN2",
      "gene_hgnc_id": 16942,
      "dbsnp": "rs200960092",
      "frequency_reference_population": 0.000019219062,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 31,
      "gnomad_exomes_af": 0.0000184838,
      "gnomad_genomes_af": 0.0000262736,
      "gnomad_exomes_ac": 27,
      "gnomad_genomes_ac": 4,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 1,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.7799999713897705,
      "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.78,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -8.499,
      "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": -5,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Strong,BP7",
      "acmg_by_gene": [
        {
          "score": -5,
          "benign_score": 5,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP7"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_033266.4",
          "gene_symbol": "ERN2",
          "hgnc_id": 16942,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.2043C>T",
          "hgvs_p": "p.Pro681Pro"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}