← 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: 4-1003397-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 1003397,
      "ref": "T",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_000203.5",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1577T>G",
          "hgvs_p": "p.Leu526Arg",
          "transcript": "NM_000203.5",
          "protein_id": "NP_000194.2",
          "transcript_support_level": null,
          "aa_start": 526,
          "aa_end": null,
          "aa_length": 653,
          "cds_start": 1577,
          "cds_end": null,
          "cds_length": 1962,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000514224.2",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000203.5"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1577T>G",
          "hgvs_p": "p.Leu526Arg",
          "transcript": "ENST00000514224.2",
          "protein_id": "ENSP00000425081.2",
          "transcript_support_level": 2,
          "aa_start": 526,
          "aa_end": null,
          "aa_length": 653,
          "cds_start": 1577,
          "cds_end": null,
          "cds_length": 1962,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000203.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000514224.2"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1577T>G",
          "hgvs_p": "p.Leu526Arg",
          "transcript": "ENST00000247933.9",
          "protein_id": "ENSP00000247933.4",
          "transcript_support_level": 1,
          "aa_start": 526,
          "aa_end": null,
          "aa_length": 653,
          "cds_start": 1577,
          "cds_end": null,
          "cds_length": 1962,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000247933.9"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1652T>G",
          "hgvs_p": "p.Leu551Arg",
          "transcript": "ENST00000962389.1",
          "protein_id": "ENSP00000632448.1",
          "transcript_support_level": null,
          "aa_start": 551,
          "aa_end": null,
          "aa_length": 678,
          "cds_start": 1652,
          "cds_end": null,
          "cds_length": 2037,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000962389.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1616T>G",
          "hgvs_p": "p.Leu539Arg",
          "transcript": "ENST00000871737.1",
          "protein_id": "ENSP00000541796.1",
          "transcript_support_level": null,
          "aa_start": 539,
          "aa_end": null,
          "aa_length": 666,
          "cds_start": 1616,
          "cds_end": null,
          "cds_length": 2001,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000871737.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1577T>G",
          "hgvs_p": "p.Leu526Arg",
          "transcript": "ENST00000962388.1",
          "protein_id": "ENSP00000632447.1",
          "transcript_support_level": null,
          "aa_start": 526,
          "aa_end": null,
          "aa_length": 653,
          "cds_start": 1577,
          "cds_end": null,
          "cds_length": 1962,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000962388.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1577T>G",
          "hgvs_p": "p.Leu526Arg",
          "transcript": "ENST00000871736.1",
          "protein_id": "ENSP00000541795.1",
          "transcript_support_level": null,
          "aa_start": 526,
          "aa_end": null,
          "aa_length": 651,
          "cds_start": 1577,
          "cds_end": null,
          "cds_length": 1956,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000871736.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1544T>G",
          "hgvs_p": "p.Leu515Arg",
          "transcript": "ENST00000871734.1",
          "protein_id": "ENSP00000541793.1",
          "transcript_support_level": null,
          "aa_start": 515,
          "aa_end": null,
          "aa_length": 642,
          "cds_start": 1544,
          "cds_end": null,
          "cds_length": 1929,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000871734.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1520T>G",
          "hgvs_p": "p.Leu507Arg",
          "transcript": "ENST00000871738.1",
          "protein_id": "ENSP00000541797.1",
          "transcript_support_level": null,
          "aa_start": 507,
          "aa_end": null,
          "aa_length": 634,
          "cds_start": 1520,
          "cds_end": null,
          "cds_length": 1905,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000871738.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1469T>G",
          "hgvs_p": "p.Leu490Arg",
          "transcript": "ENST00000871735.1",
          "protein_id": "ENSP00000541794.1",
          "transcript_support_level": null,
          "aa_start": 490,
          "aa_end": null,
          "aa_length": 617,
          "cds_start": 1469,
          "cds_end": null,
          "cds_length": 1854,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000871735.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1328T>G",
          "hgvs_p": "p.Leu443Arg",
          "transcript": "ENST00000962390.1",
          "protein_id": "ENSP00000632449.1",
          "transcript_support_level": null,
          "aa_start": 443,
          "aa_end": null,
          "aa_length": 570,
          "cds_start": 1328,
          "cds_end": null,
          "cds_length": 1713,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000962390.1"
        },
        {
          "aa_ref": "L",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1181T>G",
          "hgvs_p": "p.Leu394Arg",
          "transcript": "NM_001363576.1",
          "protein_id": "NP_001350505.1",
          "transcript_support_level": null,
          "aa_start": 394,
          "aa_end": null,
          "aa_length": 521,
          "cds_start": 1181,
          "cds_end": null,
          "cds_length": 1566,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001363576.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1764T>G",
          "hgvs_p": "p.Pro588Pro",
          "transcript": "XM_047415650.1",
          "protein_id": "XP_047271606.1",
          "transcript_support_level": null,
          "aa_start": 588,
          "aa_end": null,
          "aa_length": 632,
          "cds_start": 1764,
          "cds_end": null,
          "cds_length": 1899,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047415650.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1525-152T>G",
          "hgvs_p": null,
          "transcript": "ENST00000871739.1",
          "protein_id": "ENSP00000541798.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 611,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1836,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000871739.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "n.1684T>G",
          "hgvs_p": null,
          "transcript": "ENST00000514698.5",
          "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": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000514698.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "n.1633T>G",
          "hgvs_p": null,
          "transcript": "ENST00000652070.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": "ENST00000652070.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "n.1665T>G",
          "hgvs_p": null,
          "transcript": "NR_110313.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": "NR_110313.1"
        },
        {
          "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": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "n.-32T>G",
          "hgvs_p": null,
          "transcript": "ENST00000514417.1",
          "protein_id": null,
          "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": "retained_intron",
          "feature": "ENST00000514417.1"
        },
        {
          "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": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "n.*8T>G",
          "hgvs_p": null,
          "transcript": "ENST00000502829.1",
          "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": "ENST00000502829.1"
        }
      ],
      "gene_symbol": "IDUA",
      "gene_hgnc_id": 5391,
      "dbsnp": "rs781136336",
      "frequency_reference_population": 0.000006582325,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": 0.00000658233,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.8719952702522278,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.695,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.23,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.25,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 1.819,
      "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": 6,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PM1,PM2,PP3_Moderate",
      "acmg_by_gene": [
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PM1",
            "PM2",
            "PP3_Moderate"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_000203.5",
          "gene_symbol": "IDUA",
          "hgnc_id": 5391,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1577T>G",
          "hgvs_p": "p.Leu526Arg"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}