← 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-154534529-GA-G (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=X&pos=154534529&ref=GA&alt=G&genome=hg38&allGenes=true"
API Response
json
{
"variants": [
{
"chr": "X",
"pos": 154534529,
"ref": "GA",
"alt": "G",
"effect": "intron_variant",
"transcript": "ENST00000393562.10",
"consequences": [
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-34delT",
"hgvs_p": null,
"transcript": "NM_001360016.2",
"protein_id": "NP_001346945.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 515,
"cds_start": -4,
"cds_end": null,
"cds_length": 1548,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2223,
"mane_select": "ENST00000393562.10",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000393562.10",
"protein_id": "ENSP00000377192.3",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 515,
"cds_start": -4,
"cds_end": null,
"cds_length": 1548,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2223,
"mane_select": "NM_001360016.2",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000696421.1",
"protein_id": "ENSP00000512616.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 581,
"cds_start": -4,
"cds_end": null,
"cds_length": 1746,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2142,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000369620.6",
"protein_id": "ENSP00000358633.2",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 561,
"cds_start": -4,
"cds_end": null,
"cds_length": 1686,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1799,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.576-34delT",
"hgvs_p": null,
"transcript": "NM_000402.4",
"protein_id": "NP_000393.4",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 545,
"cds_start": -4,
"cds_end": null,
"cds_length": 1638,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2396,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-31delT",
"hgvs_p": null,
"transcript": "ENST00000439227.6",
"protein_id": "ENSP00000395599.2",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 516,
"cds_start": -4,
"cds_end": null,
"cds_length": 1551,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2336,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-34delT",
"hgvs_p": null,
"transcript": "NM_001042351.3",
"protein_id": "NP_001035810.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 515,
"cds_start": -4,
"cds_end": null,
"cds_length": 1548,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2267,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000393564.7",
"protein_id": "ENSP00000377194.2",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 515,
"cds_start": -4,
"cds_end": null,
"cds_length": 1548,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2271,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000696429.1",
"protein_id": "ENSP00000512624.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 515,
"cds_start": -4,
"cds_end": null,
"cds_length": 1548,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2359,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000696430.1",
"protein_id": "ENSP00000512625.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 515,
"cds_start": -4,
"cds_end": null,
"cds_length": 1548,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2417,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000696420.1",
"protein_id": "ENSP00000512615.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 491,
"cds_start": -4,
"cds_end": null,
"cds_length": 1476,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1995,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 11,
"intron_rank": 3,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.348-31delT",
"hgvs_p": null,
"transcript": "ENST00000696423.1",
"protein_id": "ENSP00000512618.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 470,
"cds_start": -4,
"cds_end": null,
"cds_length": 1413,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2023,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 11,
"intron_rank": 3,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.348-34delT",
"hgvs_p": null,
"transcript": "ENST00000696422.1",
"protein_id": "ENSP00000512617.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 469,
"cds_start": -4,
"cds_end": null,
"cds_length": 1410,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2020,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 9,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-31delT",
"hgvs_p": null,
"transcript": "ENST00000440967.5",
"protein_id": "ENSP00000400648.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 319,
"cds_start": -4,
"cds_end": null,
"cds_length": 962,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1056,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "c.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000433845.1",
"protein_id": "ENSP00000394690.1",
"transcript_support_level": 3,
"aa_start": null,
"aa_end": null,
"aa_length": 255,
"cds_start": -4,
"cds_end": null,
"cds_length": 769,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 817,
"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": 11,
"intron_rank": 3,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "n.366-34delT",
"hgvs_p": null,
"transcript": "ENST00000696424.1",
"protein_id": "ENSP00000512619.1",
"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": 2009,
"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": 12,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "n.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000696425.1",
"protein_id": "ENSP00000512620.1",
"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": 2034,
"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": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "n.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000696426.1",
"protein_id": "ENSP00000512621.1",
"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": 2638,
"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": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "n.486-34delT",
"hgvs_p": null,
"transcript": "ENST00000696427.1",
"protein_id": "ENSP00000512622.1",
"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": 2209,
"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": 13,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"hgvs_c": "n.*328-34delT",
"hgvs_p": null,
"transcript": "ENST00000696428.1",
"protein_id": "ENSP00000512623.1",
"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": 2335,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "G6PD",
"gene_hgnc_id": 4057,
"dbsnp": "rs3216174",
"frequency_reference_population": 0.0035350637,
"hom_count_reference_population": 1455,
"allele_count_reference_population": 4262,
"gnomad_exomes_af": 0.00353549,
"gnomad_genomes_af": 0.00353092,
"gnomad_exomes_ac": 3866,
"gnomad_genomes_ac": 396,
"gnomad_exomes_homalt": 118,
"gnomad_genomes_homalt": 12,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": null,
"computational_prediction_selected": null,
"computational_source_selected": null,
"splice_score_selected": 0.07999999821186066,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": null,
"bayesdelnoaf_prediction": null,
"phylop100way_score": -0.169,
"phylop100way_prediction": "Benign",
"spliceai_max_score": 0.08,
"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": -9,
"acmg_classification": "Benign",
"acmg_criteria": "BP6,BA1",
"acmg_by_gene": [
{
"score": -9,
"benign_score": 9,
"pathogenic_score": 0,
"criteria": [
"BP6",
"BA1"
],
"verdict": "Benign",
"transcript": "ENST00000393562.10",
"gene_symbol": "G6PD",
"hgnc_id": 4057,
"effects": [
"intron_variant"
],
"inheritance_mode": "XL",
"hgvs_c": "c.486-34delT",
"hgvs_p": null
}
],
"clinvar_disease": " due to G6PD deficiency, nonspherocytic hemolytic,Anemia,not provided,not specified",
"clinvar_classification": "Conflicting classifications of pathogenicity",
"clinvar_review_status": "criteria provided, conflicting classifications",
"clinvar_submissions_summary": "US:1 B:3",
"phenotype_combined": "not specified|Anemia, nonspherocytic hemolytic, due to G6PD deficiency|not provided",
"pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
"custom_annotations": null
}
],
"message": null
}