← 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-151289680-G-C (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=151289680&ref=G&alt=C&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "2",
"pos": 151289680,
"ref": "G",
"alt": "C",
"effect": "5_prime_UTR_variant",
"transcript": "ENST00000883657.1",
"consequences": [
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"5_prime_UTR_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 8,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "c.-796C>G",
"hgvs_p": null,
"transcript": "ENST00000883657.1",
"protein_id": "ENSP00000553716.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 307,
"cds_start": null,
"cds_end": null,
"cds_length": 924,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2161,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883657.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"5_prime_UTR_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 7,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "c.-94C>G",
"hgvs_p": null,
"transcript": "ENST00000883656.1",
"protein_id": "ENSP00000553715.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 275,
"cds_start": null,
"cds_end": null,
"cds_length": 828,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1371,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883656.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"5_prime_UTR_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "c.-94C>G",
"hgvs_p": null,
"transcript": "ENST00000883658.1",
"protein_id": "ENSP00000553717.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 209,
"cds_start": null,
"cds_end": null,
"cds_length": 630,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 956,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883658.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"5_prime_UTR_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "c.-281C>G",
"hgvs_p": null,
"transcript": "ENST00000414946.1",
"protein_id": "ENSP00000387373.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 27,
"cds_start": null,
"cds_end": null,
"cds_length": 86,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 581,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000414946.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 2,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "n.184C>G",
"hgvs_p": null,
"transcript": "ENST00000477072.1",
"protein_id": null,
"transcript_support_level": 3,
"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": 455,
"mane_select": null,
"mane_plus": null,
"biotype": "retained_intron",
"feature": "ENST00000477072.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 1,
"exon_rank_end": null,
"exon_count": 3,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "n.184C>G",
"hgvs_p": null,
"transcript": "ENST00000491771.5",
"protein_id": null,
"transcript_support_level": 2,
"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": 2094,
"mane_select": null,
"mane_plus": null,
"biotype": "retained_intron",
"feature": "ENST00000491771.5"
},
{
"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": 8,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "c.-94C>G",
"hgvs_p": null,
"transcript": "NM_004688.3",
"protein_id": "NP_004679.2",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 307,
"cds_start": null,
"cds_end": null,
"cds_length": 924,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1229,
"mane_select": "ENST00000243346.10",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_004688.3"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"upstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 8,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "c.-94C>G",
"hgvs_p": null,
"transcript": "ENST00000243346.10",
"protein_id": "ENSP00000243346.5",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 307,
"cds_start": null,
"cds_end": null,
"cds_length": 924,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1229,
"mane_select": "NM_004688.3",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000243346.10"
},
{
"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": 9,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "c.-278C>G",
"hgvs_p": null,
"transcript": "ENST00000883659.1",
"protein_id": "ENSP00000553718.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 307,
"cds_start": null,
"cds_end": null,
"cds_length": 924,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1404,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000883659.1"
},
{
"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": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "c.-94C>G",
"hgvs_p": null,
"transcript": "ENST00000930648.1",
"protein_id": "ENSP00000600707.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 217,
"cds_start": null,
"cds_end": null,
"cds_length": 654,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 928,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000930648.1"
},
{
"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": 8,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"hgvs_c": "c.-796C>G",
"hgvs_p": null,
"transcript": "XM_005246941.3",
"protein_id": "XP_005246998.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 307,
"cds_start": null,
"cds_end": null,
"cds_length": 924,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 1931,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "XM_005246941.3"
}
],
"gene_symbol": "NMI",
"gene_hgnc_id": 7854,
"dbsnp": "rs2194492",
"frequency_reference_population": 0.5263469,
"hom_count_reference_population": 21424,
"allele_count_reference_population": 80110,
"gnomad_exomes_af": 0.583333,
"gnomad_genomes_af": 0.526315,
"gnomad_exomes_ac": 49,
"gnomad_genomes_ac": 80061,
"gnomad_exomes_homalt": 14,
"gnomad_genomes_homalt": 21410,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": -0.7799999713897705,
"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.78,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": -0.518,
"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": -12,
"acmg_classification": "Benign",
"acmg_criteria": "BP4_Strong,BA1",
"acmg_by_gene": [
{
"score": -12,
"benign_score": 12,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BA1"
],
"verdict": "Benign",
"transcript": "ENST00000883657.1",
"gene_symbol": "NMI",
"hgnc_id": 7854,
"effects": [
"5_prime_UTR_variant"
],
"inheritance_mode": "",
"hgvs_c": "c.-796C>G",
"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
}