← 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-162371955-G-A (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=162371955&ref=G&alt=A&genome=hg38&allGenes=true"
API Response
json
{
"variants": [
{
"chr": "2",
"pos": 162371955,
"ref": "G",
"alt": "A",
"effect": "synonymous_variant",
"transcript": "ENST00000332142.10",
"consequences": [
{
"aa_ref": "H",
"aa_alt": "H",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 16,
"exon_rank_end": null,
"exon_count": 16,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "KCNH7",
"gene_hgnc_id": 18863,
"hgvs_c": "c.3465C>T",
"hgvs_p": "p.His1155His",
"transcript": "NM_033272.4",
"protein_id": "NP_150375.2",
"transcript_support_level": null,
"aa_start": 1155,
"aa_end": null,
"aa_length": 1196,
"cds_start": 3465,
"cds_end": null,
"cds_length": 3591,
"cdna_start": 3714,
"cdna_end": null,
"cdna_length": 4262,
"mane_select": "ENST00000332142.10",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "H",
"aa_alt": "H",
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 16,
"exon_rank_end": null,
"exon_count": 16,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "KCNH7",
"gene_hgnc_id": 18863,
"hgvs_c": "c.3465C>T",
"hgvs_p": "p.His1155His",
"transcript": "ENST00000332142.10",
"protein_id": "ENSP00000331727.5",
"transcript_support_level": 1,
"aa_start": 1155,
"aa_end": null,
"aa_length": 1196,
"cds_start": 3465,
"cds_end": null,
"cds_length": 3591,
"cdna_start": 3714,
"cdna_end": null,
"cdna_length": 4262,
"mane_select": "NM_033272.4",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "H",
"aa_alt": "H",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 17,
"exon_rank_end": null,
"exon_count": 17,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "KCNH7",
"gene_hgnc_id": 18863,
"hgvs_c": "c.3489C>T",
"hgvs_p": "p.His1163His",
"transcript": "XM_011512109.4",
"protein_id": "XP_011510411.1",
"transcript_support_level": null,
"aa_start": 1163,
"aa_end": null,
"aa_length": 1204,
"cds_start": 3489,
"cds_end": null,
"cds_length": 3615,
"cdna_start": 3738,
"cdna_end": null,
"cdna_length": 4286,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "H",
"aa_alt": "H",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 17,
"exon_rank_end": null,
"exon_count": 17,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "KCNH7",
"gene_hgnc_id": 18863,
"hgvs_c": "c.3480C>T",
"hgvs_p": "p.His1160His",
"transcript": "XM_017005218.3",
"protein_id": "XP_016860707.1",
"transcript_support_level": null,
"aa_start": 1160,
"aa_end": null,
"aa_length": 1201,
"cds_start": 3480,
"cds_end": null,
"cds_length": 3606,
"cdna_start": 3729,
"cdna_end": null,
"cdna_length": 4277,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "H",
"aa_alt": "H",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 16,
"exon_rank_end": null,
"exon_count": 16,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "KCNH7",
"gene_hgnc_id": 18863,
"hgvs_c": "c.3456C>T",
"hgvs_p": "p.His1152His",
"transcript": "XM_017005219.3",
"protein_id": "XP_016860708.1",
"transcript_support_level": null,
"aa_start": 1152,
"aa_end": null,
"aa_length": 1193,
"cds_start": 3456,
"cds_end": null,
"cds_length": 3582,
"cdna_start": 3705,
"cdna_end": null,
"cdna_length": 4253,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "H",
"aa_alt": "H",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"synonymous_variant"
],
"exon_rank": 15,
"exon_rank_end": null,
"exon_count": 15,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "KCNH7",
"gene_hgnc_id": 18863,
"hgvs_c": "c.3444C>T",
"hgvs_p": "p.His1148His",
"transcript": "XM_017005220.3",
"protein_id": "XP_016860709.1",
"transcript_support_level": null,
"aa_start": 1148,
"aa_end": null,
"aa_length": 1189,
"cds_start": 3444,
"cds_end": null,
"cds_length": 3570,
"cdna_start": 3693,
"cdna_end": null,
"cdna_length": 4241,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 8,
"exon_rank_end": null,
"exon_count": 8,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "GCA",
"gene_hgnc_id": 15990,
"hgvs_c": "c.*575G>A",
"hgvs_p": null,
"transcript": "XM_005246446.4",
"protein_id": "XP_005246503.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 233,
"cds_start": -4,
"cds_end": null,
"cds_length": 702,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 4835,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "KCNH7",
"gene_hgnc_id": 18863,
"dbsnp": "rs78734560",
"frequency_reference_population": 0.00057997665,
"hom_count_reference_population": 2,
"allele_count_reference_population": 936,
"gnomad_exomes_af": 0.000296253,
"gnomad_genomes_af": 0.00330334,
"gnomad_exomes_ac": 433,
"gnomad_genomes_ac": 503,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": 2,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": -0.8199999928474426,
"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.82,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 0.865,
"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": -9,
"acmg_classification": "Benign",
"acmg_criteria": "BP4_Strong,BP7,BS2",
"acmg_by_gene": [
{
"score": -9,
"benign_score": 9,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BP7",
"BS2"
],
"verdict": "Benign",
"transcript": "ENST00000332142.10",
"gene_symbol": "KCNH7",
"hgnc_id": 18863,
"effects": [
"synonymous_variant"
],
"inheritance_mode": "AD",
"hgvs_c": "c.3465C>T",
"hgvs_p": "p.His1155His"
},
{
"score": -8,
"benign_score": 8,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BS2"
],
"verdict": "Benign",
"transcript": "XM_005246446.4",
"gene_symbol": "GCA",
"hgnc_id": 15990,
"effects": [
"3_prime_UTR_variant"
],
"inheritance_mode": "AR",
"hgvs_c": "c.*575G>A",
"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
}