← 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-31529309-AT-TA (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=31529309&ref=AT&alt=TA&genome=hg38&allGenes=true"API Response
json
{
"message": null,
"variants": [
{
"acmg_by_gene": [
{
"benign_score": 0,
"criteria": [
"PM1",
"PM5",
"PP2",
"PP3"
],
"effects": [
"missense_variant",
"splice_region_variant"
],
"gene_symbol": "SRD5A2",
"hgnc_id": 11285,
"hgvs_c": "c.695_696delATinsTA",
"hgvs_p": "p.His232Leu",
"inheritance_mode": "AR",
"pathogenic_score": 6,
"score": 6,
"transcript": "NM_000348.4",
"verdict": "Likely_pathogenic"
},
{
"benign_score": 0,
"criteria": [
"PP3"
],
"effects": [
"intron_variant"
],
"gene_symbol": "ENSG00000228563",
"hgnc_id": null,
"hgvs_c": "n.255+1609_255+1610delATinsTA",
"hgvs_p": null,
"inheritance_mode": "",
"pathogenic_score": 1,
"score": 1,
"transcript": "ENST00000435713.1",
"verdict": "Uncertain_significance"
}
],
"acmg_classification": "Likely_pathogenic",
"acmg_criteria": "PM1,PM5,PP2,PP3",
"acmg_score": 6,
"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": "2",
"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": "L",
"aa_end": null,
"aa_length": 254,
"aa_ref": "H",
"aa_start": 232,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 4519,
"cdna_start": 734,
"cds_end": null,
"cds_length": 765,
"cds_start": 695,
"consequences": [
"missense_variant",
"splice_region_variant"
],
"exon_count": 5,
"exon_rank": null,
"exon_rank_end": null,
"feature": "NM_000348.4",
"gene_hgnc_id": 11285,
"gene_symbol": "SRD5A2",
"hgvs_c": "c.695_696delATinsTA",
"hgvs_p": "p.His232Leu",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": "ENST00000622030.2",
"protein_coding": true,
"protein_id": "NP_000339.2",
"strand": false,
"transcript": "NM_000348.4",
"transcript_support_level": null
},
{
"aa_alt": "L",
"aa_end": null,
"aa_length": 254,
"aa_ref": "H",
"aa_start": 232,
"biotype": "protein_coding",
"canonical": true,
"cdna_end": null,
"cdna_length": 4519,
"cdna_start": 734,
"cds_end": null,
"cds_length": 765,
"cds_start": 695,
"consequences": [
"missense_variant",
"splice_region_variant"
],
"exon_count": 5,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000622030.2",
"gene_hgnc_id": 11285,
"gene_symbol": "SRD5A2",
"hgvs_c": "c.695_696delATinsTA",
"hgvs_p": "p.His232Leu",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": "NM_000348.4",
"protein_coding": true,
"protein_id": "ENSP00000477587.1",
"strand": false,
"transcript": "ENST00000622030.2",
"transcript_support_level": 1
},
{
"aa_alt": "L",
"aa_end": null,
"aa_length": 288,
"aa_ref": "H",
"aa_start": 266,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 2579,
"cdna_start": 839,
"cds_end": null,
"cds_length": 867,
"cds_start": 797,
"consequences": [
"missense_variant",
"splice_region_variant"
],
"exon_count": 6,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000882642.1",
"gene_hgnc_id": 11285,
"gene_symbol": "SRD5A2",
"hgvs_c": "c.797_798delATinsTA",
"hgvs_p": "p.His266Leu",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": true,
"protein_id": "ENSP00000552701.1",
"strand": false,
"transcript": "ENST00000882642.1",
"transcript_support_level": null
},
{
"aa_alt": "L",
"aa_end": null,
"aa_length": 220,
"aa_ref": "H",
"aa_start": 198,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 2314,
"cdna_start": 635,
"cds_end": null,
"cds_length": 663,
"cds_start": 593,
"consequences": [
"missense_variant",
"splice_region_variant"
],
"exon_count": 4,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000882643.1",
"gene_hgnc_id": 11285,
"gene_symbol": "SRD5A2",
"hgvs_c": "c.593_594delATinsTA",
"hgvs_p": "p.His198Leu",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": true,
"protein_id": "ENSP00000552702.1",
"strand": false,
"transcript": "ENST00000882643.1",
"transcript_support_level": null
},
{
"aa_alt": "L",
"aa_end": null,
"aa_length": 180,
"aa_ref": "H",
"aa_start": 158,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 5267,
"cdna_start": 1482,
"cds_end": null,
"cds_length": 543,
"cds_start": 473,
"consequences": [
"missense_variant",
"splice_region_variant"
],
"exon_count": 5,
"exon_rank": null,
"exon_rank_end": null,
"feature": "XM_011533069.3",
"gene_hgnc_id": 11285,
"gene_symbol": "SRD5A2",
"hgvs_c": "c.473_474delATinsTA",
"hgvs_p": "p.His158Leu",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": true,
"protein_id": "XP_011531371.1",
"strand": false,
"transcript": "XM_011533069.3",
"transcript_support_level": null
},
{
"aa_alt": "L",
"aa_end": null,
"aa_length": 169,
"aa_ref": "H",
"aa_start": 147,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 4654,
"cdna_start": 869,
"cds_end": null,
"cds_length": 510,
"cds_start": 440,
"consequences": [
"missense_variant",
"splice_region_variant"
],
"exon_count": 7,
"exon_rank": null,
"exon_rank_end": null,
"feature": "XM_011533072.3",
"gene_hgnc_id": 11285,
"gene_symbol": "SRD5A2",
"hgvs_c": "c.440_441delATinsTA",
"hgvs_p": "p.His147Leu",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": true,
"protein_id": "XP_011531374.1",
"strand": false,
"transcript": "XM_011533072.3",
"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": 646,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 3,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000435713.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000228563",
"hgvs_c": "n.255+1609_255+1610delATinsTA",
"hgvs_p": null,
"intron_rank": 2,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000435713.1",
"transcript_support_level": 3
}
],
"custom_annotations": null,
"dbscsnv_ada_prediction": null,
"dbscsnv_ada_score": null,
"dbsnp": null,
"effect": "missense_variant,splice_region_variant",
"frequency_reference_population": null,
"gene_hgnc_id": 11285,
"gene_symbol": "SRD5A2",
"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": "Pathogenic",
"phylop100way_score": 7.957,
"pos": 31529309,
"ref": "AT",
"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": "NM_000348.4"
}
]
}