← 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: 10-94842865-C-T (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=10&pos=94842865&ref=C&alt=T&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "10",
"pos": 94842865,
"ref": "C",
"alt": "T",
"effect": "synonymous_variant",
"transcript": "NM_000769.4",
"consequences": [
{
"aa_ref": "V",
"aa_alt": "V",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 9,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "c.990C>T",
"hgvs_p": "p.Val330Val",
"transcript": "NM_000769.4",
"protein_id": "NP_000760.1",
"transcript_support_level": null,
"aa_start": 330,
"aa_end": null,
"aa_length": 490,
"cds_start": 990,
"cds_end": null,
"cds_length": 1473,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "ENST00000371321.9",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_000769.4"
},
{
"aa_ref": "V",
"aa_alt": "V",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 9,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "c.990C>T",
"hgvs_p": "p.Val330Val",
"transcript": "ENST00000371321.9",
"protein_id": "ENSP00000360372.3",
"transcript_support_level": 1,
"aa_start": 330,
"aa_end": null,
"aa_length": 490,
"cds_start": 990,
"cds_end": null,
"cds_length": 1473,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "NM_000769.4",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000371321.9"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ENSG00000276490",
"gene_hgnc_id": null,
"hgvs_c": "n.*748C>T",
"hgvs_p": null,
"transcript": "ENST00000464755.1",
"protein_id": "ENSP00000483243.1",
"transcript_support_level": 2,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": null,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "nonsense_mediated_decay",
"feature": "ENST00000464755.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": false,
"strand": true,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 12,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ENSG00000276490",
"gene_hgnc_id": null,
"hgvs_c": "n.*748C>T",
"hgvs_p": null,
"transcript": "ENST00000464755.1",
"protein_id": "ENSP00000483243.1",
"transcript_support_level": 2,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": null,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "nonsense_mediated_decay",
"feature": "ENST00000464755.1"
},
{
"aa_ref": "V",
"aa_alt": "V",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 10,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "c.990C>T",
"hgvs_p": "p.Val330Val",
"transcript": "ENST00000883431.1",
"protein_id": "ENSP00000553490.1",
"transcript_support_level": null,
"aa_start": 330,
"aa_end": null,
"aa_length": 498,
"cds_start": 990,
"cds_end": null,
"cds_length": 1497,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883431.1"
},
{
"aa_ref": "V",
"aa_alt": "V",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 9,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "c.1011C>T",
"hgvs_p": "p.Val337Val",
"transcript": "ENST00000883430.1",
"protein_id": "ENSP00000553489.1",
"transcript_support_level": null,
"aa_start": 337,
"aa_end": null,
"aa_length": 497,
"cds_start": 1011,
"cds_end": null,
"cds_length": 1494,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883430.1"
},
{
"aa_ref": "V",
"aa_alt": "V",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 9,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "c.1011C>T",
"hgvs_p": "p.Val337Val",
"transcript": "ENST00000883435.1",
"protein_id": "ENSP00000553494.1",
"transcript_support_level": null,
"aa_start": 337,
"aa_end": null,
"aa_length": 497,
"cds_start": 1011,
"cds_end": null,
"cds_length": 1494,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883435.1"
},
{
"aa_ref": "V",
"aa_alt": "V",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 8,
"exon_rank_end": null,
"exon_count": 10,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "c.999C>T",
"hgvs_p": "p.Val333Val",
"transcript": "ENST00000883437.1",
"protein_id": "ENSP00000553496.1",
"transcript_support_level": null,
"aa_start": 333,
"aa_end": null,
"aa_length": 493,
"cds_start": 999,
"cds_end": null,
"cds_length": 1482,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883437.1"
},
{
"aa_ref": "V",
"aa_alt": "V",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 9,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "c.984C>T",
"hgvs_p": "p.Val328Val",
"transcript": "ENST00000883434.1",
"protein_id": "ENSP00000553493.1",
"transcript_support_level": null,
"aa_start": 328,
"aa_end": null,
"aa_length": 488,
"cds_start": 984,
"cds_end": null,
"cds_length": 1467,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883434.1"
},
{
"aa_ref": "V",
"aa_alt": "V",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 9,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "c.927C>T",
"hgvs_p": "p.Val309Val",
"transcript": "ENST00000883433.1",
"protein_id": "ENSP00000553492.1",
"transcript_support_level": null,
"aa_start": 309,
"aa_end": null,
"aa_length": 469,
"cds_start": 927,
"cds_end": null,
"cds_length": 1410,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883433.1"
},
{
"aa_ref": "V",
"aa_alt": "V",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "c.597C>T",
"hgvs_p": "p.Val199Val",
"transcript": "ENST00000883436.1",
"protein_id": "ENSP00000553495.1",
"transcript_support_level": null,
"aa_start": 199,
"aa_end": null,
"aa_length": 359,
"cds_start": 597,
"cds_end": null,
"cds_length": 1080,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883436.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": 5,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "c.820-7052C>T",
"hgvs_p": null,
"transcript": "ENST00000883432.1",
"protein_id": "ENSP00000553491.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 380,
"cds_start": null,
"cds_end": null,
"cds_length": 1143,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883432.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"hgvs_c": "n.1901C>T",
"hgvs_p": null,
"transcript": "ENST00000645461.1",
"protein_id": null,
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": null,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "retained_intron",
"feature": "ENST00000645461.1"
}
],
"gene_symbol": "CYP2C19",
"gene_hgnc_id": 2621,
"dbsnp": "rs3758580",
"frequency_reference_population": 0.16359295,
"hom_count_reference_population": 23889,
"allele_count_reference_population": 264022,
"gnomad_exomes_af": 0.163221,
"gnomad_genomes_af": 0.167171,
"gnomad_exomes_ac": 238587,
"gnomad_genomes_ac": 25435,
"gnomad_exomes_homalt": 21552,
"gnomad_genomes_homalt": 2337,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": -0.8600000143051147,
"computational_prediction_selected": "Benign",
"computational_source_selected": "BayesDel_noAF",
"splice_score_selected": 0.029999999329447746,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": -0.86,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 0.69,
"phylop100way_prediction": "Benign",
"spliceai_max_score": 0.03,
"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": -13,
"acmg_classification": "Benign",
"acmg_criteria": "BP4_Strong,BP7,BA1",
"acmg_by_gene": [
{
"score": -13,
"benign_score": 13,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BP7",
"BA1"
],
"verdict": "Benign",
"transcript": "NM_000769.4",
"gene_symbol": "CYP2C19",
"hgnc_id": 2621,
"effects": [
"synonymous_variant"
],
"inheritance_mode": "AD",
"hgvs_c": "c.990C>T",
"hgvs_p": "p.Val330Val"
},
{
"score": -12,
"benign_score": 12,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BA1"
],
"verdict": "Benign",
"transcript": "ENST00000464755.1",
"gene_symbol": "ENSG00000276490",
"hgnc_id": null,
"effects": [
"non_coding_transcript_exon_variant"
],
"inheritance_mode": "",
"hgvs_c": "n.*748C>T",
"hgvs_p": null
}
],
"clinvar_disease": "",
"clinvar_classification": "",
"clinvar_review_status": "",
"clinvar_submissions_summary": "",
"phenotype_combined": null,
"pathogenicity_classification_combined": null,
"custom_annotations": null
}
],
"message": null
}