← 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: X-85864699-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 85864699,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_000390.4",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1893A>G",
          "hgvs_p": "p.Ile631Met",
          "transcript": "NM_000390.4",
          "protein_id": "NP_000381.1",
          "transcript_support_level": null,
          "aa_start": 631,
          "aa_end": null,
          "aa_length": 653,
          "cds_start": 1893,
          "cds_end": null,
          "cds_length": 1962,
          "cdna_start": 1919,
          "cdna_end": null,
          "cdna_length": 5438,
          "mane_select": "ENST00000357749.7",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000390.4"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1893A>G",
          "hgvs_p": "p.Ile631Met",
          "transcript": "ENST00000357749.7",
          "protein_id": "ENSP00000350386.2",
          "transcript_support_level": 1,
          "aa_start": 631,
          "aa_end": null,
          "aa_length": 653,
          "cds_start": 1893,
          "cds_end": null,
          "cds_length": 1962,
          "cdna_start": 1919,
          "cdna_end": null,
          "cdna_length": 5438,
          "mane_select": "NM_000390.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000357749.7"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1890A>G",
          "hgvs_p": "p.Ile630Met",
          "transcript": "ENST00000891168.1",
          "protein_id": "ENSP00000561227.1",
          "transcript_support_level": null,
          "aa_start": 630,
          "aa_end": null,
          "aa_length": 652,
          "cds_start": 1890,
          "cds_end": null,
          "cds_length": 1959,
          "cdna_start": 1913,
          "cdna_end": null,
          "cdna_length": 3503,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000891168.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1878A>G",
          "hgvs_p": "p.Ile626Met",
          "transcript": "ENST00000891170.1",
          "protein_id": "ENSP00000561229.1",
          "transcript_support_level": null,
          "aa_start": 626,
          "aa_end": null,
          "aa_length": 648,
          "cds_start": 1878,
          "cds_end": null,
          "cds_length": 1947,
          "cdna_start": 1893,
          "cdna_end": null,
          "cdna_length": 2608,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000891170.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1815A>G",
          "hgvs_p": "p.Ile605Met",
          "transcript": "ENST00000891169.1",
          "protein_id": "ENSP00000561228.1",
          "transcript_support_level": null,
          "aa_start": 605,
          "aa_end": null,
          "aa_length": 627,
          "cds_start": 1815,
          "cds_end": null,
          "cds_length": 1884,
          "cdna_start": 1825,
          "cdna_end": null,
          "cdna_length": 3428,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000891169.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1749A>G",
          "hgvs_p": "p.Ile583Met",
          "transcript": "ENST00000913025.1",
          "protein_id": "ENSP00000583084.1",
          "transcript_support_level": null,
          "aa_start": 583,
          "aa_end": null,
          "aa_length": 605,
          "cds_start": 1749,
          "cds_end": null,
          "cds_length": 1818,
          "cdna_start": 1773,
          "cdna_end": null,
          "cdna_length": 5287,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000913025.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1695A>G",
          "hgvs_p": "p.Ile565Met",
          "transcript": "ENST00000891167.1",
          "protein_id": "ENSP00000561226.1",
          "transcript_support_level": null,
          "aa_start": 565,
          "aa_end": null,
          "aa_length": 587,
          "cds_start": 1695,
          "cds_end": null,
          "cds_length": 1764,
          "cdna_start": 1721,
          "cdna_end": null,
          "cdna_length": 3324,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000891167.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1449A>G",
          "hgvs_p": "p.Ile483Met",
          "transcript": "NM_001320959.1",
          "protein_id": "NP_001307888.1",
          "transcript_support_level": null,
          "aa_start": 483,
          "aa_end": null,
          "aa_length": 505,
          "cds_start": 1449,
          "cds_end": null,
          "cds_length": 1518,
          "cdna_start": 1923,
          "cdna_end": null,
          "cdna_length": 5442,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001320959.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1449A>G",
          "hgvs_p": "p.Ile483Met",
          "transcript": "NM_001362517.1",
          "protein_id": "NP_001349446.1",
          "transcript_support_level": null,
          "aa_start": 483,
          "aa_end": null,
          "aa_length": 505,
          "cds_start": 1449,
          "cds_end": null,
          "cds_length": 1518,
          "cdna_start": 2062,
          "cdna_end": null,
          "cdna_length": 5581,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001362517.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1449A>G",
          "hgvs_p": "p.Ile483Met",
          "transcript": "NM_001362518.2",
          "protein_id": "NP_001349447.1",
          "transcript_support_level": null,
          "aa_start": 483,
          "aa_end": null,
          "aa_length": 505,
          "cds_start": 1449,
          "cds_end": null,
          "cds_length": 1518,
          "cdna_start": 1900,
          "cdna_end": null,
          "cdna_length": 5419,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001362518.2"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1449A>G",
          "hgvs_p": "p.Ile483Met",
          "transcript": "NM_001362519.1",
          "protein_id": "NP_001349448.1",
          "transcript_support_level": null,
          "aa_start": 483,
          "aa_end": null,
          "aa_length": 505,
          "cds_start": 1449,
          "cds_end": null,
          "cds_length": 1518,
          "cdna_start": 2058,
          "cdna_end": null,
          "cdna_length": 5577,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001362519.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.843A>G",
          "hgvs_p": "p.Ile281Met",
          "transcript": "ENST00000913026.1",
          "protein_id": "ENSP00000583085.1",
          "transcript_support_level": null,
          "aa_start": 281,
          "aa_end": null,
          "aa_length": 303,
          "cds_start": 843,
          "cds_end": null,
          "cds_length": 912,
          "cdna_start": 858,
          "cdna_end": null,
          "cdna_length": 4372,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000913026.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1449A>G",
          "hgvs_p": "p.Ile483Met",
          "transcript": "XM_047441793.1",
          "protein_id": "XP_047297749.1",
          "transcript_support_level": null,
          "aa_start": 483,
          "aa_end": null,
          "aa_length": 505,
          "cds_start": 1449,
          "cds_end": null,
          "cds_length": 1518,
          "cdna_start": 2003,
          "cdna_end": null,
          "cdna_length": 5522,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047441793.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "c.1449A>G",
          "hgvs_p": "p.Ile483Met",
          "transcript": "XM_047441794.1",
          "protein_id": "XP_047297750.1",
          "transcript_support_level": null,
          "aa_start": 483,
          "aa_end": null,
          "aa_length": 505,
          "cds_start": 1449,
          "cds_end": null,
          "cds_length": 1518,
          "cdna_start": 2146,
          "cdna_end": null,
          "cdna_length": 5665,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047441794.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "CHM",
          "gene_hgnc_id": 1940,
          "hgvs_c": "n.127-1605A>G",
          "hgvs_p": null,
          "transcript": "ENST00000467744.2",
          "protein_id": null,
          "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": 2040,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000467744.2"
        }
      ],
      "gene_symbol": "CHM",
      "gene_hgnc_id": 1940,
      "dbsnp": "rs778210722",
      "frequency_reference_population": 0.0000041395765,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 5,
      "gnomad_exomes_af": 0.00000364879,
      "gnomad_genomes_af": 0.00000896065,
      "gnomad_exomes_ac": 4,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.09212878346443176,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.136,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0715,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.56,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.319,
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_000390.4",
          "gene_symbol": "CHM",
          "hgnc_id": 1940,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "XL",
          "hgvs_c": "c.1893A>G",
          "hgvs_p": "p.Ile631Met"
        }
      ],
      "clinvar_disease": "Choroideremia,Inborn genetic diseases,not provided",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:2",
      "phenotype_combined": "not provided|Choroideremia|Inborn genetic diseases",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.