← 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-22097039-G-T (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=X&pos=22097039&ref=G&alt=T&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "X",
"pos": 22097039,
"ref": "G",
"alt": "T",
"effect": "splice_donor_variant,intron_variant",
"transcript": "NM_000444.6",
"consequences": [
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"splice_donor_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 22,
"intron_rank": 8,
"intron_rank_end": null,
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"hgvs_c": "c.933+1G>T",
"hgvs_p": null,
"transcript": "NM_000444.6",
"protein_id": "NP_000435.3",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 749,
"cds_start": null,
"cds_end": null,
"cds_length": 2250,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "ENST00000379374.5",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_000444.6"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"splice_donor_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 22,
"intron_rank": 8,
"intron_rank_end": null,
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"hgvs_c": "c.933+1G>T",
"hgvs_p": null,
"transcript": "ENST00000379374.5",
"protein_id": "ENSP00000368682.4",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 749,
"cds_start": null,
"cds_end": null,
"cds_length": 2250,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "NM_000444.6",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000379374.5"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"splice_donor_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 21,
"intron_rank": 8,
"intron_rank_end": null,
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"hgvs_c": "c.933+1G>T",
"hgvs_p": null,
"transcript": "NM_001282754.2",
"protein_id": "NP_001269683.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 695,
"cds_start": null,
"cds_end": null,
"cds_length": 2088,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_001282754.2"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"splice_donor_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 11,
"intron_rank": 8,
"intron_rank_end": null,
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"hgvs_c": "c.930+1G>T",
"hgvs_p": null,
"transcript": "ENST00000684143.1",
"protein_id": "ENSP00000508264.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 427,
"cds_start": null,
"cds_end": null,
"cds_length": 1284,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000684143.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"splice_donor_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 22,
"intron_rank": 8,
"intron_rank_end": null,
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"hgvs_c": "c.642+1G>T",
"hgvs_p": null,
"transcript": "XM_024452390.2",
"protein_id": "XP_024308158.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 652,
"cds_start": null,
"cds_end": null,
"cds_length": 1959,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "XM_024452390.2"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"splice_donor_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 18,
"intron_rank": 4,
"intron_rank_end": null,
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"hgvs_c": "c.177+1G>T",
"hgvs_p": null,
"transcript": "XM_011545533.2",
"protein_id": "XP_011543835.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 497,
"cds_start": null,
"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": "XM_011545533.2"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"splice_donor_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 18,
"intron_rank": 4,
"intron_rank_end": null,
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"hgvs_c": "c.177+1G>T",
"hgvs_p": null,
"transcript": "XM_017029579.2",
"protein_id": "XP_016885068.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 497,
"cds_start": null,
"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": "XM_017029579.2"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"splice_donor_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": 8,
"intron_rank_end": null,
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"hgvs_c": "c.933+1G>T",
"hgvs_p": null,
"transcript": "XM_047442159.1",
"protein_id": "XP_047298115.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 475,
"cds_start": null,
"cds_end": null,
"cds_length": 1428,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "XM_047442159.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"splice_donor_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 9,
"intron_rank": 8,
"intron_rank_end": null,
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"hgvs_c": "n.1359+1G>T",
"hgvs_p": null,
"transcript": "ENST00000475778.2",
"protein_id": null,
"transcript_support_level": 5,
"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": "ENST00000475778.2"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"splice_donor_variant",
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 20,
"intron_rank": 6,
"intron_rank_end": null,
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"hgvs_c": "n.607+1G>T",
"hgvs_p": null,
"transcript": "ENST00000684745.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": "pseudogene",
"feature": "ENST00000684745.1"
}
],
"gene_symbol": "PHEX",
"gene_hgnc_id": 8918,
"dbsnp": "rs1556025314",
"frequency_reference_population": null,
"hom_count_reference_population": 0,
"allele_count_reference_population": 0,
"gnomad_exomes_af": null,
"gnomad_genomes_af": null,
"gnomad_exomes_ac": null,
"gnomad_genomes_ac": null,
"gnomad_exomes_homalt": null,
"gnomad_genomes_homalt": null,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.20000000298023224,
"computational_prediction_selected": "Pathogenic",
"computational_source_selected": "BayesDel_noAF",
"splice_score_selected": 0.9359999895095825,
"splice_prediction_selected": "Pathogenic",
"splice_source_selected": "dbscSNV1_RF",
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": 0.2,
"bayesdelnoaf_prediction": "Pathogenic",
"phylop100way_score": 7.182,
"phylop100way_prediction": "Uncertain_significance",
"spliceai_max_score": 1,
"spliceai_max_prediction": "Pathogenic",
"dbscsnv_ada_score": 0.999986741007567,
"dbscsnv_ada_prediction": "Pathogenic",
"apogee2_score": null,
"apogee2_prediction": null,
"mitotip_score": null,
"mitotip_prediction": null,
"acmg_score": 12,
"acmg_classification": "Pathogenic",
"acmg_criteria": "PVS1_Moderate,PM2,PP5_Very_Strong",
"acmg_by_gene": [
{
"score": 12,
"benign_score": 0,
"pathogenic_score": 12,
"criteria": [
"PVS1_Moderate",
"PM2",
"PP5_Very_Strong"
],
"verdict": "Pathogenic",
"transcript": "NM_000444.6",
"gene_symbol": "PHEX",
"hgnc_id": 8918,
"effects": [
"splice_donor_variant",
"intron_variant"
],
"inheritance_mode": "XL",
"hgvs_c": "c.933+1G>T",
"hgvs_p": null
}
],
"clinvar_disease": "Familial X-linked hypophosphatemic vitamin D refractory rickets,PHEX-related disorder,not provided",
"clinvar_classification": "Pathogenic",
"clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
"clinvar_submissions_summary": "P:2",
"phenotype_combined": "Familial X-linked hypophosphatemic vitamin D refractory rickets|not provided|PHEX-related disorder",
"pathogenicity_classification_combined": "Pathogenic",
"custom_annotations": null
}
],
"message": null
}