← 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-22428188-AG-TA (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=X&pos=22428188&ref=AG&alt=TA&genome=hg38&allGenes=true"API Response
json
{
"message": null,
"variants": [
{
"acmg_by_gene": [
{
"benign_score": 0,
"criteria": [],
"effects": [
"non_coding_transcript_exon_variant"
],
"gene_symbol": "PHEX",
"hgnc_id": 8918,
"hgvs_c": "n.57_58delAGinsTA",
"hgvs_p": null,
"inheritance_mode": "XL",
"pathogenic_score": 0,
"score": 0,
"transcript": "ENST00000456621.1",
"verdict": "Uncertain_significance"
},
{
"benign_score": 0,
"criteria": [],
"effects": [
"intron_variant"
],
"gene_symbol": "PTCHD1-AS",
"hgnc_id": 37703,
"hgvs_c": "n.454-38469_454-38468delCTinsTA",
"hgvs_p": null,
"inheritance_mode": "",
"pathogenic_score": 0,
"score": 0,
"transcript": "NR_073010.2",
"verdict": "Uncertain_significance"
}
],
"acmg_classification": "Uncertain_significance",
"acmg_criteria": "",
"acmg_score": 0,
"allele_count_reference_population": 0,
"alphamissense_prediction": null,
"alphamissense_score": null,
"alt": "TA",
"apogee2_prediction": null,
"apogee2_score": null,
"bayesdelnoaf_prediction": null,
"bayesdelnoaf_score": null,
"chr": "X",
"clinvar_classification": "",
"clinvar_disease": "",
"clinvar_review_status": "",
"clinvar_submissions_summary": "",
"computational_prediction_selected": null,
"computational_score_selected": null,
"computational_source_selected": null,
"consequences": [
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "retained_intron",
"canonical": false,
"cdna_end": null,
"cdna_length": 389,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_count": 3,
"exon_rank": 1,
"exon_rank_end": null,
"feature": "ENST00000456621.1",
"gene_hgnc_id": 8918,
"gene_symbol": "PHEX",
"hgvs_c": "n.57_58delAGinsTA",
"hgvs_p": null,
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000456621.1",
"transcript_support_level": 2
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "nonsense_mediated_decay",
"canonical": false,
"cdna_end": null,
"cdna_length": 2159,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 14,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000683289.1",
"gene_hgnc_id": 8918,
"gene_symbol": "PHEX",
"hgvs_c": "n.*141-139_*141-138delAGinsTA",
"hgvs_p": null,
"intron_rank": 12,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": "ENSP00000508195.1",
"strand": true,
"transcript": "ENST00000683289.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 718,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 4,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000687119.1",
"gene_hgnc_id": 37703,
"gene_symbol": "PTCHD1-AS",
"hgvs_c": "n.313-38469_313-38468delCTinsTA",
"hgvs_p": null,
"intron_rank": 3,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": false,
"transcript": "ENST00000687119.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 1141,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 9,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000687248.2",
"gene_hgnc_id": 37703,
"gene_symbol": "PTCHD1-AS",
"hgvs_c": "n.482-38469_482-38468delCTinsTA",
"hgvs_p": null,
"intron_rank": 4,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": false,
"transcript": "ENST00000687248.2",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 3772,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 12,
"exon_rank": null,
"exon_rank_end": null,
"feature": "NR_073010.2",
"gene_hgnc_id": 37703,
"gene_symbol": "PTCHD1-AS",
"hgvs_c": "n.454-38469_454-38468delCTinsTA",
"hgvs_p": null,
"intron_rank": 4,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": false,
"transcript": "NR_073010.2",
"transcript_support_level": null
}
],
"custom_annotations": null,
"dbscsnv_ada_prediction": null,
"dbscsnv_ada_score": null,
"dbsnp": null,
"effect": "non_coding_transcript_exon_variant",
"frequency_reference_population": null,
"gene_hgnc_id": 8918,
"gene_symbol": "PHEX",
"gnomad_exomes_ac": null,
"gnomad_exomes_af": null,
"gnomad_exomes_homalt": null,
"gnomad_genomes_ac": null,
"gnomad_genomes_af": null,
"gnomad_genomes_homalt": null,
"gnomad_mito_heteroplasmic": null,
"gnomad_mito_homoplasmic": null,
"hom_count_reference_population": 0,
"mitotip_prediction": null,
"mitotip_score": null,
"pathogenicity_classification_combined": null,
"phenotype_combined": null,
"phylop100way_prediction": "Benign",
"phylop100way_score": 2.561,
"pos": 22428188,
"ref": "AG",
"revel_prediction": null,
"revel_score": null,
"splice_prediction_selected": null,
"splice_score_selected": null,
"splice_source_selected": null,
"spliceai_max_prediction": null,
"spliceai_max_score": null,
"transcript": "ENST00000456621.1"
}
]
}