← 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: 12-111447491-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 111447491,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000341259.7",
      "consequences": [
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.1183G>A",
          "hgvs_p": "p.Glu395Lys",
          "transcript": "NM_005475.3",
          "protein_id": "NP_005466.1",
          "transcript_support_level": null,
          "aa_start": 395,
          "aa_end": null,
          "aa_length": 575,
          "cds_start": 1183,
          "cds_end": null,
          "cds_length": 1728,
          "cdna_start": 1565,
          "cdna_end": null,
          "cdna_length": 5431,
          "mane_select": "ENST00000341259.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.1183G>A",
          "hgvs_p": "p.Glu395Lys",
          "transcript": "ENST00000341259.7",
          "protein_id": "ENSP00000345492.2",
          "transcript_support_level": 1,
          "aa_start": 395,
          "aa_end": null,
          "aa_length": 575,
          "cds_start": 1183,
          "cds_end": null,
          "cds_length": 1728,
          "cdna_start": 1565,
          "cdna_end": null,
          "cdna_length": 5431,
          "mane_select": "NM_005475.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.577G>A",
          "hgvs_p": "p.Glu193Lys",
          "transcript": "NM_001291424.1",
          "protein_id": "NP_001278353.1",
          "transcript_support_level": null,
          "aa_start": 193,
          "aa_end": null,
          "aa_length": 373,
          "cds_start": 577,
          "cds_end": null,
          "cds_length": 1122,
          "cdna_start": 617,
          "cdna_end": null,
          "cdna_length": 4483,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.577G>A",
          "hgvs_p": "p.Glu193Lys",
          "transcript": "ENST00000538307.1",
          "protein_id": "ENSP00000440597.1",
          "transcript_support_level": 2,
          "aa_start": 193,
          "aa_end": null,
          "aa_length": 373,
          "cds_start": 577,
          "cds_end": null,
          "cds_length": 1122,
          "cdna_start": 617,
          "cdna_end": null,
          "cdna_length": 2062,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.1306G>A",
          "hgvs_p": "p.Glu436Lys",
          "transcript": "XM_011537719.3",
          "protein_id": "XP_011536021.1",
          "transcript_support_level": null,
          "aa_start": 436,
          "aa_end": null,
          "aa_length": 616,
          "cds_start": 1306,
          "cds_end": null,
          "cds_length": 1851,
          "cdna_start": 1688,
          "cdna_end": null,
          "cdna_length": 5554,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.1306G>A",
          "hgvs_p": "p.Glu436Lys",
          "transcript": "XM_011537720.4",
          "protein_id": "XP_011536022.1",
          "transcript_support_level": null,
          "aa_start": 436,
          "aa_end": null,
          "aa_length": 616,
          "cds_start": 1306,
          "cds_end": null,
          "cds_length": 1851,
          "cdna_start": 1728,
          "cdna_end": null,
          "cdna_length": 5594,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.1303G>A",
          "hgvs_p": "p.Glu435Lys",
          "transcript": "XM_005253818.5",
          "protein_id": "XP_005253875.1",
          "transcript_support_level": null,
          "aa_start": 435,
          "aa_end": null,
          "aa_length": 615,
          "cds_start": 1303,
          "cds_end": null,
          "cds_length": 1848,
          "cdna_start": 1685,
          "cdna_end": null,
          "cdna_length": 5551,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.1303G>A",
          "hgvs_p": "p.Glu435Lys",
          "transcript": "XM_047428025.1",
          "protein_id": "XP_047283981.1",
          "transcript_support_level": null,
          "aa_start": 435,
          "aa_end": null,
          "aa_length": 615,
          "cds_start": 1303,
          "cds_end": null,
          "cds_length": 1848,
          "cdna_start": 1725,
          "cdna_end": null,
          "cdna_length": 5591,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.1186G>A",
          "hgvs_p": "p.Glu396Lys",
          "transcript": "XM_005253819.5",
          "protein_id": "XP_005253876.1",
          "transcript_support_level": null,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 576,
          "cds_start": 1186,
          "cds_end": null,
          "cds_length": 1731,
          "cdna_start": 1568,
          "cdna_end": null,
          "cdna_length": 5434,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.1183G>A",
          "hgvs_p": "p.Glu395Lys",
          "transcript": "XM_047428026.1",
          "protein_id": "XP_047283982.1",
          "transcript_support_level": null,
          "aa_start": 395,
          "aa_end": null,
          "aa_length": 575,
          "cds_start": 1183,
          "cds_end": null,
          "cds_length": 1728,
          "cdna_start": 1605,
          "cdna_end": null,
          "cdna_length": 5471,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.385G>A",
          "hgvs_p": "p.Glu129Lys",
          "transcript": "XM_006719180.5",
          "protein_id": "XP_006719243.1",
          "transcript_support_level": null,
          "aa_start": 129,
          "aa_end": null,
          "aa_length": 309,
          "cds_start": 385,
          "cds_end": null,
          "cds_length": 930,
          "cdna_start": 1643,
          "cdna_end": null,
          "cdna_length": 5509,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH2B3",
          "gene_hgnc_id": 29605,
          "hgvs_c": "c.382G>A",
          "hgvs_p": "p.Glu128Lys",
          "transcript": "XM_047428028.1",
          "protein_id": "XP_047283984.1",
          "transcript_support_level": null,
          "aa_start": 128,
          "aa_end": null,
          "aa_length": 308,
          "cds_start": 382,
          "cds_end": null,
          "cds_length": 927,
          "cdna_start": 672,
          "cdna_end": null,
          "cdna_length": 4538,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 27,
          "intron_rank": 26,
          "intron_rank_end": null,
          "gene_symbol": "ATXN2",
          "gene_hgnc_id": 10555,
          "hgvs_c": "n.*171-3304C>T",
          "hgvs_p": null,
          "transcript": "ENST00000642389.2",
          "protein_id": "ENSP00000496055.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4438,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SH2B3",
      "gene_hgnc_id": 29605,
      "dbsnp": "rs148636776",
      "frequency_reference_population": 0.00034914032,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 562,
      "gnomad_exomes_af": 0.000362054,
      "gnomad_genomes_af": 0.000222129,
      "gnomad_exomes_ac": 529,
      "gnomad_genomes_ac": 33,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.8579186797142029,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.635,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.9062,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.28,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 9.602,
      "phylop100way_prediction": "Pathogenic",
      "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": "PP3_Moderate,PP5,BS1_Supporting",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 1,
          "pathogenic_score": 3,
          "criteria": [
            "PP3_Moderate",
            "PP5",
            "BS1_Supporting"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000341259.7",
          "gene_symbol": "SH2B3",
          "hgnc_id": 29605,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "Unknown,AR",
          "hgvs_c": "c.1183G>A",
          "hgvs_p": "p.Glu395Lys"
        },
        {
          "score": -1,
          "benign_score": 4,
          "pathogenic_score": 3,
          "criteria": [
            "PP3_Moderate",
            "PP5",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000642389.2",
          "gene_symbol": "ATXN2",
          "hgnc_id": 10555,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "n.*171-3304C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Primary familial polycythemia due to EPO receptor mutation,Primary myelofibrosis,Thrombocythemia 1,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "P:3 LP:1 US:2",
      "phenotype_combined": "Primary familial polycythemia due to EPO receptor mutation|Thrombocythemia 1|Primary familial polycythemia due to EPO receptor mutation;Thrombocythemia 1;Primary myelofibrosis|not provided",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}