← 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-165294040-A-AAATTT (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=165294040&ref=A&alt=AAATTT&genome=hg38&allGenes=true"
API Response
json
{
"variants": [
{
"chr": "2",
"pos": 165294040,
"ref": "A",
"alt": "AAATTT",
"effect": "5_prime_UTR_variant",
"transcript": "ENST00000283256.10",
"consequences": [
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"5_prime_UTR_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 27,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-147_-146insAATTT",
"hgvs_p": null,
"transcript": "ENST00000283256.10",
"protein_id": "ENSP00000283256.6",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 2005,
"cds_start": -4,
"cds_end": null,
"cds_length": 6018,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8660,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"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": 27,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "NM_001040142.2",
"protein_id": "NP_001035232.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 2005,
"cds_start": -4,
"cds_end": null,
"cds_length": 6018,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8776,
"mane_select": "ENST00000375437.7",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"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": 27,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "NM_001371246.1",
"protein_id": "NP_001358175.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 2005,
"cds_start": -4,
"cds_end": null,
"cds_length": 6018,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8776,
"mane_select": null,
"mane_plus": "ENST00000631182.3",
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 27,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "ENST00000375437.7",
"protein_id": "ENSP00000364586.2",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 2005,
"cds_start": -4,
"cds_end": null,
"cds_length": 6018,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8776,
"mane_select": "NM_001040142.2",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 27,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "ENST00000631182.3",
"protein_id": "ENSP00000486885.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 2005,
"cds_start": -4,
"cds_end": null,
"cds_length": 6018,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8776,
"mane_select": null,
"mane_plus": "NM_001371246.1",
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 11,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "ENST00000424833.5",
"protein_id": "ENSP00000406454.2",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 504,
"cds_start": -4,
"cds_end": null,
"cds_length": 1517,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1807,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 27,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "n.-147_-146insAATTT",
"hgvs_p": null,
"transcript": "ENST00000636662.2",
"protein_id": "ENSP00000489873.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 9456,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"5_prime_UTR_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 27,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "n.-147_-146insAATTT",
"hgvs_p": null,
"transcript": "ENST00000636662.2",
"protein_id": "ENSP00000489873.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 9456,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"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": 28,
"intron_rank": 2,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "NM_001040143.2",
"protein_id": "NP_001035233.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 2005,
"cds_start": -4,
"cds_end": null,
"cds_length": 6018,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8895,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"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": 27,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "NM_001371247.1",
"protein_id": "NP_001358176.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 2005,
"cds_start": -4,
"cds_end": null,
"cds_length": 6018,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8604,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"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": 28,
"intron_rank": 2,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "ENST00000636071.2",
"protein_id": "ENSP00000490107.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 2005,
"cds_start": -4,
"cds_end": null,
"cds_length": 6018,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8881,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"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": 27,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "ENST00000637266.2",
"protein_id": "ENSP00000490866.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 2005,
"cds_start": -4,
"cds_end": null,
"cds_length": 6018,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8610,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"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": 27,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-552-1840_-552-1839insAATTT",
"hgvs_p": null,
"transcript": "ENST00000636985.2",
"protein_id": "ENSP00000490849.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 1873,
"cds_start": -4,
"cds_end": null,
"cds_length": 5622,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8856,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 15,
"intron_rank": 2,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "n.313-1733_313-1732insAATTT",
"hgvs_p": null,
"transcript": "ENST00000635945.1",
"protein_id": null,
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 3119,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 28,
"intron_rank": 2,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "n.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "ENST00000636135.1",
"protein_id": "ENSP00000489821.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8519,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 29,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "n.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "ENST00000636384.2",
"protein_id": "ENSP00000490765.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 9007,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "n.-51-1733_-51-1732insAATTT",
"hgvs_p": null,
"transcript": "ENST00000637367.1",
"protein_id": "ENSP00000490592.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 4408,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"intron_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "n.141-1840_141-1839insAATTT",
"hgvs_p": null,
"transcript": "ENST00000638151.1",
"protein_id": null,
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2832,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"upstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 25,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "n.-4_-3insAATTT",
"hgvs_p": null,
"transcript": "ENST00000480032.4",
"protein_id": null,
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 11676,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"upstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 27,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "c.-147_-146insAATTT",
"hgvs_p": null,
"transcript": "NM_021007.3",
"protein_id": "NP_066287.2",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 2005,
"cds_start": -4,
"cds_end": null,
"cds_length": 6018,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8630,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"upstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 28,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"hgvs_c": "n.-147_-146insAATTT",
"hgvs_p": null,
"transcript": "ENST00000636769.1",
"protein_id": "ENSP00000490800.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": null,
"cds_start": -4,
"cds_end": null,
"cds_length": null,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 8573,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "SCN2A",
"gene_hgnc_id": 10588,
"dbsnp": "rs780674346",
"frequency_reference_population": 0.000017449847,
"hom_count_reference_population": 0,
"allele_count_reference_population": 11,
"gnomad_exomes_af": 0.00000569584,
"gnomad_genomes_af": 0.000077162,
"gnomad_exomes_ac": 3,
"gnomad_genomes_ac": 8,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": 0,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": null,
"computational_prediction_selected": null,
"computational_source_selected": null,
"splice_score_selected": null,
"splice_prediction_selected": null,
"splice_source_selected": null,
"revel_score": null,
"revel_prediction": null,
"alphamissense_score": null,
"alphamissense_prediction": null,
"bayesdelnoaf_score": null,
"bayesdelnoaf_prediction": null,
"phylop100way_score": 0.275,
"phylop100way_prediction": "Benign",
"spliceai_max_score": null,
"spliceai_max_prediction": null,
"dbscsnv_ada_score": null,
"dbscsnv_ada_prediction": null,
"apogee2_score": null,
"apogee2_prediction": null,
"mitotip_score": null,
"mitotip_prediction": null,
"acmg_score": 0,
"acmg_classification": "Uncertain_significance",
"acmg_criteria": "",
"acmg_by_gene": [
{
"score": 0,
"benign_score": 0,
"pathogenic_score": 0,
"criteria": [],
"verdict": "Uncertain_significance",
"transcript": "ENST00000283256.10",
"gene_symbol": "SCN2A",
"hgnc_id": 10588,
"effects": [
"5_prime_UTR_variant"
],
"inheritance_mode": "AD",
"hgvs_c": "c.-147_-146insAATTT",
"hgvs_p": null
}
],
"clinvar_disease": " 3, Autosomal Dominant, benign familial infantile,Early Infantile Epileptic Encephalopathy,Seizures",
"clinvar_classification": "Uncertain significance",
"clinvar_review_status": "criteria provided, single submitter",
"clinvar_submissions_summary": "US:2",
"phenotype_combined": "Early Infantile Epileptic Encephalopathy, Autosomal Dominant|Seizures, benign familial infantile, 3",
"pathogenicity_classification_combined": "Uncertain significance",
"custom_annotations": null
}
],
"message": null
}