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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 111447506,
      "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.1198G>A",
          "hgvs_p": "p.Glu400Lys",
          "transcript": "NM_005475.3",
          "protein_id": "NP_005466.1",
          "transcript_support_level": null,
          "aa_start": 400,
          "aa_end": null,
          "aa_length": 575,
          "cds_start": 1198,
          "cds_end": null,
          "cds_length": 1728,
          "cdna_start": 1580,
          "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.1198G>A",
          "hgvs_p": "p.Glu400Lys",
          "transcript": "ENST00000341259.7",
          "protein_id": "ENSP00000345492.2",
          "transcript_support_level": 1,
          "aa_start": 400,
          "aa_end": null,
          "aa_length": 575,
          "cds_start": 1198,
          "cds_end": null,
          "cds_length": 1728,
          "cdna_start": 1580,
          "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.592G>A",
          "hgvs_p": "p.Glu198Lys",
          "transcript": "NM_001291424.1",
          "protein_id": "NP_001278353.1",
          "transcript_support_level": null,
          "aa_start": 198,
          "aa_end": null,
          "aa_length": 373,
          "cds_start": 592,
          "cds_end": null,
          "cds_length": 1122,
          "cdna_start": 632,
          "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.592G>A",
          "hgvs_p": "p.Glu198Lys",
          "transcript": "ENST00000538307.1",
          "protein_id": "ENSP00000440597.1",
          "transcript_support_level": 2,
          "aa_start": 198,
          "aa_end": null,
          "aa_length": 373,
          "cds_start": 592,
          "cds_end": null,
          "cds_length": 1122,
          "cdna_start": 632,
          "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.1321G>A",
          "hgvs_p": "p.Glu441Lys",
          "transcript": "XM_011537719.3",
          "protein_id": "XP_011536021.1",
          "transcript_support_level": null,
          "aa_start": 441,
          "aa_end": null,
          "aa_length": 616,
          "cds_start": 1321,
          "cds_end": null,
          "cds_length": 1851,
          "cdna_start": 1703,
          "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.1321G>A",
          "hgvs_p": "p.Glu441Lys",
          "transcript": "XM_011537720.4",
          "protein_id": "XP_011536022.1",
          "transcript_support_level": null,
          "aa_start": 441,
          "aa_end": null,
          "aa_length": 616,
          "cds_start": 1321,
          "cds_end": null,
          "cds_length": 1851,
          "cdna_start": 1743,
          "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.1318G>A",
          "hgvs_p": "p.Glu440Lys",
          "transcript": "XM_005253818.5",
          "protein_id": "XP_005253875.1",
          "transcript_support_level": null,
          "aa_start": 440,
          "aa_end": null,
          "aa_length": 615,
          "cds_start": 1318,
          "cds_end": null,
          "cds_length": 1848,
          "cdna_start": 1700,
          "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.1318G>A",
          "hgvs_p": "p.Glu440Lys",
          "transcript": "XM_047428025.1",
          "protein_id": "XP_047283981.1",
          "transcript_support_level": null,
          "aa_start": 440,
          "aa_end": null,
          "aa_length": 615,
          "cds_start": 1318,
          "cds_end": null,
          "cds_length": 1848,
          "cdna_start": 1740,
          "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.1201G>A",
          "hgvs_p": "p.Glu401Lys",
          "transcript": "XM_005253819.5",
          "protein_id": "XP_005253876.1",
          "transcript_support_level": null,
          "aa_start": 401,
          "aa_end": null,
          "aa_length": 576,
          "cds_start": 1201,
          "cds_end": null,
          "cds_length": 1731,
          "cdna_start": 1583,
          "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.1198G>A",
          "hgvs_p": "p.Glu400Lys",
          "transcript": "XM_047428026.1",
          "protein_id": "XP_047283982.1",
          "transcript_support_level": null,
          "aa_start": 400,
          "aa_end": null,
          "aa_length": 575,
          "cds_start": 1198,
          "cds_end": null,
          "cds_length": 1728,
          "cdna_start": 1620,
          "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.400G>A",
          "hgvs_p": "p.Glu134Lys",
          "transcript": "XM_006719180.5",
          "protein_id": "XP_006719243.1",
          "transcript_support_level": null,
          "aa_start": 134,
          "aa_end": null,
          "aa_length": 309,
          "cds_start": 400,
          "cds_end": null,
          "cds_length": 930,
          "cdna_start": 1658,
          "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.397G>A",
          "hgvs_p": "p.Glu133Lys",
          "transcript": "XM_047428028.1",
          "protein_id": "XP_047283984.1",
          "transcript_support_level": null,
          "aa_start": 133,
          "aa_end": null,
          "aa_length": 308,
          "cds_start": 397,
          "cds_end": null,
          "cds_length": 927,
          "cdna_start": 687,
          "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-3319C>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": "rs72650673",
      "frequency_reference_population": 0.0014439279,
      "hom_count_reference_population": 3,
      "allele_count_reference_population": 2150,
      "gnomad_exomes_af": 0.00150995,
      "gnomad_genomes_af": 0.000790444,
      "gnomad_exomes_ac": 2042,
      "gnomad_genomes_ac": 108,
      "gnomad_exomes_homalt": 3,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.3876110315322876,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.507,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.7868,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.1,
      "bayesdelnoaf_prediction": "Benign",
      "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": -6,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4,BS1_Supporting,BS2",
      "acmg_by_gene": [
        {
          "score": -6,
          "benign_score": 6,
          "pathogenic_score": 0,
          "criteria": [
            "BP4",
            "BS1_Supporting",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000341259.7",
          "gene_symbol": "SH2B3",
          "hgnc_id": 29605,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "Unknown,AR",
          "hgvs_c": "c.1198G>A",
          "hgvs_p": "p.Glu400Lys"
        },
        {
          "score": -5,
          "benign_score": 5,
          "pathogenic_score": 0,
          "criteria": [
            "BP4",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000642389.2",
          "gene_symbol": "ATXN2",
          "hgnc_id": 10555,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "n.*171-3319C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Primary familial polycythemia due to EPO receptor mutation,Primary myelofibrosis,Thrombocythemia 1,not provided",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:5",
      "phenotype_combined": "not provided|Primary familial polycythemia due to EPO receptor mutation;Thrombocythemia 1;Primary myelofibrosis",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}