← 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-149482765-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 149482765,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_000202.8",
      "consequences": [
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "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": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1634T>C",
          "hgvs_p": "p.Phe545Ser",
          "transcript": "NM_000202.8",
          "protein_id": "NP_000193.1",
          "transcript_support_level": null,
          "aa_start": 545,
          "aa_end": null,
          "aa_length": 550,
          "cds_start": 1634,
          "cds_end": null,
          "cds_length": 1653,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000340855.11",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000202.8"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "canonical": true,
          "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": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1634T>C",
          "hgvs_p": "p.Phe545Ser",
          "transcript": "ENST00000340855.11",
          "protein_id": "ENSP00000339801.6",
          "transcript_support_level": 1,
          "aa_start": 545,
          "aa_end": null,
          "aa_length": 550,
          "cds_start": 1634,
          "cds_end": null,
          "cds_length": 1653,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000202.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000340855.11"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "canonical": true,
          "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": "ENSG00000241489",
          "gene_hgnc_id": null,
          "hgvs_c": "c.1001T>C",
          "hgvs_p": "p.Phe334Ser",
          "transcript": "ENST00000651111.1",
          "protein_id": "ENSP00000498395.1",
          "transcript_support_level": null,
          "aa_start": 334,
          "aa_end": null,
          "aa_length": 339,
          "cds_start": 1001,
          "cds_end": null,
          "cds_length": 1020,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000651111.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1715T>C",
          "hgvs_p": "p.Phe572Ser",
          "transcript": "ENST00000875674.1",
          "protein_id": "ENSP00000545733.1",
          "transcript_support_level": null,
          "aa_start": 572,
          "aa_end": null,
          "aa_length": 577,
          "cds_start": 1715,
          "cds_end": null,
          "cds_length": 1734,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000875674.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1694T>C",
          "hgvs_p": "p.Phe565Ser",
          "transcript": "ENST00000875673.1",
          "protein_id": "ENSP00000545732.1",
          "transcript_support_level": null,
          "aa_start": 565,
          "aa_end": null,
          "aa_length": 570,
          "cds_start": 1694,
          "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": "ENST00000875673.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1679T>C",
          "hgvs_p": "p.Phe560Ser",
          "transcript": "ENST00000875670.1",
          "protein_id": "ENSP00000545729.1",
          "transcript_support_level": null,
          "aa_start": 560,
          "aa_end": null,
          "aa_length": 565,
          "cds_start": 1679,
          "cds_end": null,
          "cds_length": 1698,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000875670.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "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": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1679T>C",
          "hgvs_p": "p.Phe560Ser",
          "transcript": "ENST00000947400.1",
          "protein_id": "ENSP00000617459.1",
          "transcript_support_level": null,
          "aa_start": 560,
          "aa_end": null,
          "aa_length": 565,
          "cds_start": 1679,
          "cds_end": null,
          "cds_length": 1698,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000947400.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "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": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1625T>C",
          "hgvs_p": "p.Phe542Ser",
          "transcript": "ENST00000875672.1",
          "protein_id": "ENSP00000545731.1",
          "transcript_support_level": null,
          "aa_start": 542,
          "aa_end": null,
          "aa_length": 547,
          "cds_start": 1625,
          "cds_end": null,
          "cds_length": 1644,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000875672.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "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": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1520T>C",
          "hgvs_p": "p.Phe507Ser",
          "transcript": "ENST00000947401.1",
          "protein_id": "ENSP00000617460.1",
          "transcript_support_level": null,
          "aa_start": 507,
          "aa_end": null,
          "aa_length": 512,
          "cds_start": 1520,
          "cds_end": null,
          "cds_length": 1539,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000947401.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "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": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1505T>C",
          "hgvs_p": "p.Phe502Ser",
          "transcript": "ENST00000875668.1",
          "protein_id": "ENSP00000545727.1",
          "transcript_support_level": null,
          "aa_start": 502,
          "aa_end": null,
          "aa_length": 507,
          "cds_start": 1505,
          "cds_end": null,
          "cds_length": 1524,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000875668.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1493T>C",
          "hgvs_p": "p.Phe498Ser",
          "transcript": "ENST00000875669.1",
          "protein_id": "ENSP00000545728.1",
          "transcript_support_level": null,
          "aa_start": 498,
          "aa_end": null,
          "aa_length": 503,
          "cds_start": 1493,
          "cds_end": null,
          "cds_length": 1512,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000875669.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1460T>C",
          "hgvs_p": "p.Phe487Ser",
          "transcript": "ENST00000875667.1",
          "protein_id": "ENSP00000545726.1",
          "transcript_support_level": null,
          "aa_start": 487,
          "aa_end": null,
          "aa_length": 492,
          "cds_start": 1460,
          "cds_end": null,
          "cds_length": 1479,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000875667.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1433T>C",
          "hgvs_p": "p.Phe478Ser",
          "transcript": "ENST00000930297.1",
          "protein_id": "ENSP00000600356.1",
          "transcript_support_level": null,
          "aa_start": 478,
          "aa_end": null,
          "aa_length": 483,
          "cds_start": 1433,
          "cds_end": null,
          "cds_length": 1452,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000930297.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1424T>C",
          "hgvs_p": "p.Phe475Ser",
          "transcript": "ENST00000930298.1",
          "protein_id": "ENSP00000600357.1",
          "transcript_support_level": null,
          "aa_start": 475,
          "aa_end": null,
          "aa_length": 480,
          "cds_start": 1424,
          "cds_end": null,
          "cds_length": 1443,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000930298.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "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": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1364T>C",
          "hgvs_p": "p.Phe455Ser",
          "transcript": "NM_001166550.4",
          "protein_id": "NP_001160022.1",
          "transcript_support_level": null,
          "aa_start": 455,
          "aa_end": null,
          "aa_length": 460,
          "cds_start": 1364,
          "cds_end": null,
          "cds_length": 1383,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001166550.4"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IDS",
          "gene_hgnc_id": 5389,
          "hgvs_c": "c.1319T>C",
          "hgvs_p": "p.Phe440Ser",
          "transcript": "ENST00000875671.1",
          "protein_id": "ENSP00000545730.1",
          "transcript_support_level": null,
          "aa_start": 440,
          "aa_end": null,
          "aa_length": 445,
          "cds_start": 1319,
          "cds_end": null,
          "cds_length": 1338,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000875671.1"
        },
        {
          "aa_ref": "F",
          "aa_alt": "S",
          "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": "ENSG00000241489",
          "gene_hgnc_id": null,
          "hgvs_c": "c.1001T>C",
          "hgvs_p": "p.Phe334Ser",
          "transcript": "ENST00000422081.6",
          "protein_id": "ENSP00000477056.1",
          "transcript_support_level": 2,
          "aa_start": 334,
          "aa_end": null,
          "aa_length": 339,
          "cds_start": 1001,
          "cds_end": null,
          "cds_length": 1020,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000422081.6"
        }
      ],
      "gene_symbol": "IDS",
      "gene_hgnc_id": 5389,
      "dbsnp": "rs1064458",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.048950016498565674,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.187,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0675,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.44,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.473,
      "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": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_000202.8",
          "gene_symbol": "IDS",
          "hgnc_id": 5389,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "XL,AR",
          "hgvs_c": "c.1634T>C",
          "hgvs_p": "p.Phe545Ser"
        },
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000651111.1",
          "gene_symbol": "ENSG00000241489",
          "hgnc_id": null,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.1001T>C",
          "hgvs_p": "p.Phe334Ser"
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}