← 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: 2-167243228-T-C (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=167243228&ref=T&alt=C&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "2",
"pos": 167243228,
"ref": "T",
"alt": "C",
"effect": "synonymous_variant",
"transcript": "NM_152381.6",
"consequences": [
{
"aa_ref": "G",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 9,
"exon_rank_end": null,
"exon_count": 11,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1836T>C",
"hgvs_p": "p.Gly612Gly",
"transcript": "NM_152381.6",
"protein_id": "NP_689594.4",
"transcript_support_level": null,
"aa_start": 612,
"aa_end": null,
"aa_length": 3549,
"cds_start": 1836,
"cds_end": null,
"cds_length": 10650,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "ENST00000409195.6",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_152381.6"
},
{
"aa_ref": "G",
"aa_alt": "G",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 9,
"exon_rank_end": null,
"exon_count": 11,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1836T>C",
"hgvs_p": "p.Gly612Gly",
"transcript": "ENST00000409195.6",
"protein_id": "ENSP00000386840.2",
"transcript_support_level": 5,
"aa_start": 612,
"aa_end": null,
"aa_length": 3549,
"cds_start": 1836,
"cds_end": null,
"cds_length": 10650,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "NM_152381.6",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000409195.6"
},
{
"aa_ref": "G",
"aa_alt": "G",
"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": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1170T>C",
"hgvs_p": "p.Gly390Gly",
"transcript": "ENST00000409273.6",
"protein_id": "ENSP00000387255.1",
"transcript_support_level": 1,
"aa_start": 390,
"aa_end": null,
"aa_length": 3327,
"cds_start": 1170,
"cds_end": null,
"cds_length": 9984,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000409273.6"
},
{
"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": 11,
"intron_rank": 9,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1275+1318T>C",
"hgvs_p": null,
"transcript": "ENST00000409728.5",
"protein_id": "ENSP00000386619.1",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 971,
"cds_start": null,
"cds_end": null,
"cds_length": 2916,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000409728.5"
},
{
"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": 10,
"intron_rank": 8,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1176+1318T>C",
"hgvs_p": null,
"transcript": "ENST00000409043.5",
"protein_id": "ENSP00000386454.1",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 938,
"cds_start": null,
"cds_end": null,
"cds_length": 2817,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000409043.5"
},
{
"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": 8,
"intron_rank": 6,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.510+1318T>C",
"hgvs_p": null,
"transcript": "ENST00000409605.1",
"protein_id": "ENSP00000386981.1",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 716,
"cds_start": null,
"cds_end": null,
"cds_length": 2151,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000409605.1"
},
{
"aa_ref": "G",
"aa_alt": "G",
"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": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1170T>C",
"hgvs_p": "p.Gly390Gly",
"transcript": "ENST00000672671.1",
"protein_id": "ENSP00000499978.1",
"transcript_support_level": null,
"aa_start": 390,
"aa_end": null,
"aa_length": 3837,
"cds_start": 1170,
"cds_end": null,
"cds_length": 11514,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000672671.1"
},
{
"aa_ref": "G",
"aa_alt": "G",
"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": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1311T>C",
"hgvs_p": "p.Gly437Gly",
"transcript": "ENST00000628543.2",
"protein_id": "ENSP00000486198.1",
"transcript_support_level": 5,
"aa_start": 437,
"aa_end": null,
"aa_length": 3374,
"cds_start": 1311,
"cds_end": null,
"cds_length": 10125,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000628543.2"
},
{
"aa_ref": "G",
"aa_alt": "G",
"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": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1170T>C",
"hgvs_p": "p.Gly390Gly",
"transcript": "NM_001199144.2",
"protein_id": "NP_001186073.1",
"transcript_support_level": null,
"aa_start": 390,
"aa_end": null,
"aa_length": 3327,
"cds_start": 1170,
"cds_end": null,
"cds_length": 9984,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_001199144.2"
},
{
"aa_ref": "G",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 8,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1113T>C",
"hgvs_p": "p.Gly371Gly",
"transcript": "XM_017003309.2",
"protein_id": "XP_016858798.1",
"transcript_support_level": null,
"aa_start": 371,
"aa_end": null,
"aa_length": 3308,
"cds_start": 1113,
"cds_end": null,
"cds_length": 9927,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "XM_017003309.2"
},
{
"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": 11,
"intron_rank": 9,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1275+1318T>C",
"hgvs_p": null,
"transcript": "NM_001199143.2",
"protein_id": "NP_001186072.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 971,
"cds_start": null,
"cds_end": null,
"cds_length": 2916,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_001199143.2"
},
{
"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": 10,
"intron_rank": 8,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1200+1318T>C",
"hgvs_p": null,
"transcript": "ENST00000672716.1",
"protein_id": "ENSP00000500725.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 946,
"cds_start": null,
"cds_end": null,
"cds_length": 2841,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000672716.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": 10,
"intron_rank": 8,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.1176+1318T>C",
"hgvs_p": null,
"transcript": "NM_001079810.4",
"protein_id": "NP_001073278.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 938,
"cds_start": null,
"cds_end": null,
"cds_length": 2817,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_001079810.4"
},
{
"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": 8,
"intron_rank": 6,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "c.510+1318T>C",
"hgvs_p": null,
"transcript": "NM_001199145.2",
"protein_id": "NP_001186074.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 716,
"cds_start": null,
"cds_end": null,
"cds_length": 2151,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_001199145.2"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"hgvs_c": "n.1392T>C",
"hgvs_p": null,
"transcript": "ENST00000672277.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": "ENST00000672277.1"
}
],
"gene_symbol": "XIRP2",
"gene_hgnc_id": 14303,
"dbsnp": "rs10497323",
"frequency_reference_population": 0.19420831,
"hom_count_reference_population": 36887,
"allele_count_reference_population": 313406,
"gnomad_exomes_af": 0.185481,
"gnomad_genomes_af": 0.278152,
"gnomad_exomes_ac": 271133,
"gnomad_genomes_ac": 42273,
"gnomad_exomes_homalt": 29249,
"gnomad_genomes_homalt": 7638,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": -0.5799999833106995,
"computational_prediction_selected": "Benign",
"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.58,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 0.321,
"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": -14,
"acmg_classification": "Benign",
"acmg_criteria": "BP4_Strong,BP6,BP7,BA1",
"acmg_by_gene": [
{
"score": -14,
"benign_score": 14,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BP6",
"BP7",
"BA1"
],
"verdict": "Benign",
"transcript": "NM_152381.6",
"gene_symbol": "XIRP2",
"hgnc_id": 14303,
"effects": [
"synonymous_variant"
],
"inheritance_mode": "AR",
"hgvs_c": "c.1836T>C",
"hgvs_p": "p.Gly612Gly"
}
],
"clinvar_disease": "XIRP2-related disorder",
"clinvar_classification": "Benign",
"clinvar_review_status": "no assertion criteria provided",
"clinvar_submissions_summary": "null",
"phenotype_combined": "XIRP2-related disorder",
"pathogenicity_classification_combined": "Benign",
"custom_annotations": null
}
],
"message": null
}