← 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-1004292-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 1004292,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_000203.5",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1861C>G",
          "hgvs_p": "p.Arg621Gly",
          "transcript": "NM_000203.5",
          "protein_id": "NP_000194.2",
          "transcript_support_level": null,
          "aa_start": 621,
          "aa_end": null,
          "aa_length": 653,
          "cds_start": 1861,
          "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": "R",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1861C>G",
          "hgvs_p": "p.Arg621Gly",
          "transcript": "ENST00000514224.2",
          "protein_id": "ENSP00000425081.2",
          "transcript_support_level": 2,
          "aa_start": 621,
          "aa_end": null,
          "aa_length": 653,
          "cds_start": 1861,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1861C>G",
          "hgvs_p": "p.Arg621Gly",
          "transcript": "ENST00000247933.9",
          "protein_id": "ENSP00000247933.4",
          "transcript_support_level": 1,
          "aa_start": 621,
          "aa_end": null,
          "aa_length": 653,
          "cds_start": 1861,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1936C>G",
          "hgvs_p": "p.Arg646Gly",
          "transcript": "ENST00000962389.1",
          "protein_id": "ENSP00000632448.1",
          "transcript_support_level": null,
          "aa_start": 646,
          "aa_end": null,
          "aa_length": 678,
          "cds_start": 1936,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1900C>G",
          "hgvs_p": "p.Arg634Gly",
          "transcript": "ENST00000871737.1",
          "protein_id": "ENSP00000541796.1",
          "transcript_support_level": null,
          "aa_start": 634,
          "aa_end": null,
          "aa_length": 666,
          "cds_start": 1900,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1861C>G",
          "hgvs_p": "p.Arg621Gly",
          "transcript": "ENST00000962388.1",
          "protein_id": "ENSP00000632447.1",
          "transcript_support_level": null,
          "aa_start": 621,
          "aa_end": null,
          "aa_length": 653,
          "cds_start": 1861,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1855C>G",
          "hgvs_p": "p.Arg619Gly",
          "transcript": "ENST00000871736.1",
          "protein_id": "ENSP00000541795.1",
          "transcript_support_level": null,
          "aa_start": 619,
          "aa_end": null,
          "aa_length": 651,
          "cds_start": 1855,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1828C>G",
          "hgvs_p": "p.Arg610Gly",
          "transcript": "ENST00000871734.1",
          "protein_id": "ENSP00000541793.1",
          "transcript_support_level": null,
          "aa_start": 610,
          "aa_end": null,
          "aa_length": 642,
          "cds_start": 1828,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1804C>G",
          "hgvs_p": "p.Arg602Gly",
          "transcript": "ENST00000871738.1",
          "protein_id": "ENSP00000541797.1",
          "transcript_support_level": null,
          "aa_start": 602,
          "aa_end": null,
          "aa_length": 634,
          "cds_start": 1804,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1753C>G",
          "hgvs_p": "p.Arg585Gly",
          "transcript": "ENST00000871735.1",
          "protein_id": "ENSP00000541794.1",
          "transcript_support_level": null,
          "aa_start": 585,
          "aa_end": null,
          "aa_length": 617,
          "cds_start": 1753,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1735C>G",
          "hgvs_p": "p.Arg579Gly",
          "transcript": "ENST00000871739.1",
          "protein_id": "ENSP00000541798.1",
          "transcript_support_level": null,
          "aa_start": 579,
          "aa_end": null,
          "aa_length": 611,
          "cds_start": 1735,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1612C>G",
          "hgvs_p": "p.Arg538Gly",
          "transcript": "ENST00000962390.1",
          "protein_id": "ENSP00000632449.1",
          "transcript_support_level": null,
          "aa_start": 538,
          "aa_end": null,
          "aa_length": 570,
          "cds_start": 1612,
          "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": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.1465C>G",
          "hgvs_p": "p.Arg489Gly",
          "transcript": "NM_001363576.1",
          "protein_id": "NP_001350505.1",
          "transcript_support_level": null,
          "aa_start": 489,
          "aa_end": null,
          "aa_length": 521,
          "cds_start": 1465,
          "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": 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": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "n.1972C>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": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "n.1917C>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": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "n.1953C>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": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDUA",
          "gene_hgnc_id": 5391,
          "hgvs_c": "c.*300C>G",
          "hgvs_p": null,
          "transcript": "XM_047415650.1",
          "protein_id": "XP_047271606.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 632,
          "cds_start": null,
          "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"
        }
      ],
      "gene_symbol": "IDUA",
      "gene_hgnc_id": 5391,
      "dbsnp": "rs121965025",
      "frequency_reference_population": 0.00019865436,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 320,
      "gnomad_exomes_af": 0.000206324,
      "gnomad_genomes_af": 0.00012503,
      "gnomad_exomes_ac": 301,
      "gnomad_genomes_ac": 19,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.8639323711395264,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.733,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.3092,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.23,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 1.514,
      "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": 2,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2_Supporting,PP3",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PM2_Supporting",
            "PP3"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_000203.5",
          "gene_symbol": "IDUA",
          "hgnc_id": 5391,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1861C>G",
          "hgvs_p": "p.Arg621Gly"
        }
      ],
      "clinvar_disease": " MPS-I-H/S, MPS-I-S,Hurler syndrome,Mucopolysaccharidosis,Mucopolysaccharidosis type 1,not provided",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "reviewed by expert panel",
      "clinvar_submissions_summary": "US:8",
      "phenotype_combined": "not provided|Mucopolysaccharidosis type 1|Hurler syndrome;Mucopolysaccharidosis, MPS-I-H/S;Mucopolysaccharidosis, MPS-I-S",
      "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.