← 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-149482521-T-TA (hg38)

Bash / cURL Example

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

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 10,
          "criteria": [
            "BP6_Moderate",
            "BS1",
            "BS2"
          ],
          "effects": [
            "3_prime_UTR_variant"
          ],
          "gene_symbol": "IDS",
          "hgnc_id": 5389,
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "inheritance_mode": "XL",
          "pathogenic_score": 0,
          "score": -10,
          "transcript": "NM_000202.8",
          "verdict": "Benign"
        },
        {
          "benign_score": 10,
          "criteria": [
            "BP6_Moderate",
            "BS1",
            "BS2"
          ],
          "effects": [
            "3_prime_UTR_variant"
          ],
          "gene_symbol": "ENSG00000241489",
          "hgnc_id": null,
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "inheritance_mode": "",
          "pathogenic_score": 0,
          "score": -10,
          "transcript": "ENST00000651111.1",
          "verdict": "Benign"
        }
      ],
      "acmg_classification": "Benign",
      "acmg_criteria": "BP6_Moderate,BS1,BS2",
      "acmg_score": -10,
      "allele_count_reference_population": 3106,
      "alphamissense_prediction": null,
      "alphamissense_score": null,
      "alt": "TA",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": null,
      "bayesdelnoaf_score": null,
      "chr": "X",
      "clinvar_classification": "Likely benign",
      "clinvar_disease": "not provided",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LB:1",
      "computational_prediction_selected": null,
      "computational_score_selected": null,
      "computational_source_selected": null,
      "consequences": [
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 550,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 7580,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1653,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 9,
          "exon_rank": 9,
          "exon_rank_end": null,
          "feature": "NM_000202.8",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000340855.11",
          "protein_coding": true,
          "protein_id": "NP_000193.1",
          "strand": false,
          "transcript": "NM_000202.8",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 550,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 7580,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1653,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 9,
          "exon_rank": 9,
          "exon_rank_end": null,
          "feature": "ENST00000340855.11",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_000202.8",
          "protein_coding": true,
          "protein_id": "ENSP00000339801.6",
          "strand": false,
          "transcript": "ENST00000340855.11",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 339,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 9159,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1020,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 14,
          "exon_rank": 14,
          "exon_rank_end": null,
          "feature": "ENST00000651111.1",
          "gene_hgnc_id": null,
          "gene_symbol": "ENSG00000241489",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000498395.1",
          "strand": false,
          "transcript": "ENST00000651111.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 570,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2419,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1713,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 10,
          "exon_rank": 10,
          "exon_rank_end": null,
          "feature": "ENST00000875673.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000545732.1",
          "strand": false,
          "transcript": "ENST00000875673.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 565,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 5125,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1698,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 10,
          "exon_rank": 10,
          "exon_rank_end": null,
          "feature": "ENST00000875670.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000545729.1",
          "strand": false,
          "transcript": "ENST00000875670.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 565,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 5858,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1698,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 9,
          "exon_rank": 9,
          "exon_rank_end": null,
          "feature": "ENST00000947400.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000617459.1",
          "strand": false,
          "transcript": "ENST00000947400.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 547,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2353,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1644,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 9,
          "exon_rank": 9,
          "exon_rank_end": null,
          "feature": "ENST00000875672.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000545731.1",
          "strand": false,
          "transcript": "ENST00000875672.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 507,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 5427,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1524,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 9,
          "exon_rank": 9,
          "exon_rank_end": null,
          "feature": "ENST00000875668.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000545727.1",
          "strand": false,
          "transcript": "ENST00000875668.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 503,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 5004,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1512,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 8,
          "exon_rank": 8,
          "exon_rank_end": null,
          "feature": "ENST00000875669.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000545728.1",
          "strand": false,
          "transcript": "ENST00000875669.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 492,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 5673,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1479,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 8,
          "exon_rank": 8,
          "exon_rank_end": null,
          "feature": "ENST00000875667.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000545726.1",
          "strand": false,
          "transcript": "ENST00000875667.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 483,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 4881,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1452,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 8,
          "exon_rank": 8,
          "exon_rank_end": null,
          "feature": "ENST00000930297.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000600356.1",
          "strand": false,
          "transcript": "ENST00000930297.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 480,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 4842,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1443,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 8,
          "exon_rank": 8,
          "exon_rank_end": null,
          "feature": "ENST00000930298.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000600357.1",
          "strand": false,
          "transcript": "ENST00000930298.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 460,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 7536,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1383,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 9,
          "exon_rank": 9,
          "exon_rank_end": null,
          "feature": "NM_001166550.4",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "NP_001160022.1",
          "strand": false,
          "transcript": "NM_001166550.4",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 445,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 4757,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1338,
          "cds_start": null,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_count": 7,
          "exon_rank": 7,
          "exon_rank_end": null,
          "feature": "ENST00000875671.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000545730.1",
          "strand": false,
          "transcript": "ENST00000875671.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 577,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2139,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1734,
          "cds_start": null,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_count": 10,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000875674.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000545733.1",
          "strand": true,
          "transcript": "ENST00000875674.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 512,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 1866,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1539,
          "cds_start": null,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_count": 9,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000947401.1",
          "gene_hgnc_id": 5389,
          "gene_symbol": "IDS",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000617460.1",
          "strand": true,
          "transcript": "ENST00000947401.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 339,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2635,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 1020,
          "cds_start": null,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_count": 9,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000422081.6",
          "gene_hgnc_id": null,
          "gene_symbol": "ENSG00000241489",
          "hgvs_c": "c.*224dupT",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000477056.1",
          "strand": true,
          "transcript": "ENST00000422081.6",
          "transcript_support_level": 2
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": null,
      "dbscsnv_ada_score": null,
      "dbsnp": "rs71753099",
      "effect": "3_prime_UTR_variant",
      "frequency_reference_population": 0.007809848,
      "gene_hgnc_id": 5389,
      "gene_symbol": "IDS",
      "gnomad_exomes_ac": 2477,
      "gnomad_exomes_af": 0.00853746,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_ac": 629,
      "gnomad_genomes_af": 0.00584736,
      "gnomad_genomes_homalt": 7,
      "gnomad_mito_heteroplasmic": null,
      "gnomad_mito_homoplasmic": null,
      "hom_count_reference_population": 190,
      "mitotip_prediction": null,
      "mitotip_score": null,
      "pathogenicity_classification_combined": "Likely benign",
      "phenotype_combined": "not provided",
      "phylop100way_prediction": "Benign",
      "phylop100way_score": 0.135,
      "pos": 149482521,
      "ref": "T",
      "revel_prediction": null,
      "revel_score": null,
      "splice_prediction_selected": "Benign",
      "splice_score_selected": 0,
      "splice_source_selected": "max_spliceai",
      "spliceai_max_prediction": "Benign",
      "spliceai_max_score": 0,
      "transcript": "NM_000202.8"
    }
  ]
}
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.