← 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: 17-41724714-G-T (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=17&pos=41724714&ref=G&alt=T&genome=hg38&allGenes=true"
API Response
json
{
"variants": [
{
"chr": "17",
"pos": 41724714,
"ref": "G",
"alt": "T",
"effect": "stop_gained",
"transcript": "ENST00000347901.9",
"consequences": [
{
"aa_ref": "S",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 11,
"exon_rank_end": null,
"exon_count": 11,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.1847C>A",
"hgvs_p": "p.Ser616*",
"transcript": "NM_177977.3",
"protein_id": "NP_817084.2",
"transcript_support_level": null,
"aa_start": 616,
"aa_end": null,
"aa_length": 619,
"cds_start": 1847,
"cds_end": null,
"cds_length": 1860,
"cdna_start": 1856,
"cdna_end": null,
"cdna_length": 3930,
"mane_select": "ENST00000347901.9",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "S",
"aa_alt": "*",
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 11,
"exon_rank_end": null,
"exon_count": 11,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.1847C>A",
"hgvs_p": "p.Ser616*",
"transcript": "ENST00000347901.9",
"protein_id": "ENSP00000334002.4",
"transcript_support_level": 1,
"aa_start": 616,
"aa_end": null,
"aa_length": 619,
"cds_start": 1847,
"cds_end": null,
"cds_length": 1860,
"cdna_start": 1856,
"cdna_end": null,
"cdna_length": 3930,
"mane_select": "NM_177977.3",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "S",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 12,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.2003C>A",
"hgvs_p": "p.Ser668*",
"transcript": "ENST00000310778.5",
"protein_id": "ENSP00000309392.5",
"transcript_support_level": 1,
"aa_start": 668,
"aa_end": null,
"aa_length": 671,
"cds_start": 2003,
"cds_end": null,
"cds_length": 2016,
"cdna_start": 2013,
"cdna_end": null,
"cdna_length": 4087,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "S",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 10,
"exon_rank_end": null,
"exon_count": 10,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.1772C>A",
"hgvs_p": "p.Ser591*",
"transcript": "ENST00000393939.6",
"protein_id": "ENSP00000377513.2",
"transcript_support_level": 1,
"aa_start": 591,
"aa_end": null,
"aa_length": 594,
"cds_start": 1772,
"cds_end": null,
"cds_length": 1785,
"cdna_start": 1782,
"cdna_end": null,
"cdna_length": 5683,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "S",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 10,
"exon_rank_end": null,
"exon_count": 10,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.1796C>A",
"hgvs_p": "p.Ser599*",
"transcript": "NM_001079870.1",
"protein_id": "NP_001073339.1",
"transcript_support_level": null,
"aa_start": 599,
"aa_end": null,
"aa_length": 602,
"cds_start": 1796,
"cds_end": null,
"cds_length": 1809,
"cdna_start": 1808,
"cdna_end": null,
"cdna_length": 3883,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "S",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 10,
"exon_rank_end": null,
"exon_count": 10,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.1796C>A",
"hgvs_p": "p.Ser599*",
"transcript": "ENST00000341193.9",
"protein_id": "ENSP00000343170.5",
"transcript_support_level": 2,
"aa_start": 599,
"aa_end": null,
"aa_length": 602,
"cds_start": 1796,
"cds_end": null,
"cds_length": 1809,
"cdna_start": 1806,
"cdna_end": null,
"cdna_length": 3880,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "S",
"aa_alt": "*",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_gained"
],
"exon_rank": 10,
"exon_rank_end": null,
"exon_count": 10,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.1772C>A",
"hgvs_p": "p.Ser591*",
"transcript": "NM_001079871.1",
"protein_id": "NP_001073340.1",
"transcript_support_level": null,
"aa_start": 591,
"aa_end": null,
"aa_length": 594,
"cds_start": 1772,
"cds_end": null,
"cds_length": 1785,
"cdna_start": 1784,
"cdna_end": null,
"cdna_length": 3859,
"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": 12,
"intron_rank": 11,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.1891+52C>A",
"hgvs_p": null,
"transcript": "NM_001367459.1",
"protein_id": "NP_001354388.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 636,
"cds_start": -4,
"cds_end": null,
"cds_length": 1911,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2188,
"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": 12,
"intron_rank": 11,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.1855+52C>A",
"hgvs_p": null,
"transcript": "NM_001367460.1",
"protein_id": "NP_001354389.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 624,
"cds_start": -4,
"cds_end": null,
"cds_length": 1875,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2152,
"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": 10,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.1720+52C>A",
"hgvs_p": null,
"transcript": "NM_001367461.1",
"protein_id": "NP_001354390.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 579,
"cds_start": -4,
"cds_end": null,
"cds_length": 1740,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2017,
"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": 10,
"intron_rank": 9,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.1331+1145C>A",
"hgvs_p": null,
"transcript": "NM_001367462.1",
"protein_id": "NP_001354391.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": 1628,
"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": 2,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.316+52C>A",
"hgvs_p": null,
"transcript": "ENST00000458656.5",
"protein_id": "ENSP00000404640.1",
"transcript_support_level": 2,
"aa_start": null,
"aa_end": null,
"aa_length": 111,
"cds_start": -4,
"cds_end": null,
"cds_length": 336,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 601,
"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": 3,
"intron_rank": 2,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.202+52C>A",
"hgvs_p": null,
"transcript": "ENST00000442364.1",
"protein_id": "ENSP00000388981.1",
"transcript_support_level": 3,
"aa_start": null,
"aa_end": null,
"aa_length": 73,
"cds_start": -4,
"cds_end": null,
"cds_length": 222,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 487,
"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": 2,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"hgvs_c": "c.38+1145C>A",
"hgvs_p": null,
"transcript": "ENST00000455021.5",
"protein_id": "ENSP00000397242.1",
"transcript_support_level": 3,
"aa_start": null,
"aa_end": null,
"aa_length": 39,
"cds_start": -4,
"cds_end": null,
"cds_length": 120,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 324,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "HAP1",
"gene_hgnc_id": 4812,
"dbsnp": "rs34381648",
"frequency_reference_population": 0.011779401,
"hom_count_reference_population": 1738,
"allele_count_reference_population": 18757,
"gnomad_exomes_af": 0.00651526,
"gnomad_genomes_af": 0.0615908,
"gnomad_exomes_ac": 9383,
"gnomad_genomes_ac": 9374,
"gnomad_exomes_homalt": 820,
"gnomad_genomes_homalt": 918,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.4300000071525574,
"computational_prediction_selected": "Pathogenic",
"computational_source_selected": "BayesDel_noAF",
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": 0.43,
"bayesdelnoaf_prediction": "Pathogenic",
"phylop100way_score": -0.024,
"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": -16,
"acmg_classification": "Benign",
"acmg_criteria": "BP6_Very_Strong,BA1",
"acmg_by_gene": [
{
"score": -16,
"benign_score": 16,
"pathogenic_score": 0,
"criteria": [
"BP6_Very_Strong",
"BA1"
],
"verdict": "Benign",
"transcript": "ENST00000347901.9",
"gene_symbol": "HAP1",
"hgnc_id": 4812,
"effects": [
"stop_gained"
],
"inheritance_mode": "AR",
"hgvs_c": "c.1847C>A",
"hgvs_p": "p.Ser616*"
}
],
"clinvar_disease": "not provided",
"clinvar_classification": "Benign",
"clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
"clinvar_submissions_summary": "B:2",
"phenotype_combined": "not provided",
"pathogenicity_classification_combined": "Benign",
"custom_annotations": null
}
],
"message": null
}