← 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-218125576-GT-G (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=218125576&ref=GT&alt=G&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "2",
"pos": 218125576,
"ref": "GT",
"alt": "G",
"effect": "intron_variant",
"transcript": "NM_001168298.2",
"consequences": [
{
"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": 4,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "CXCR2",
"gene_hgnc_id": 6027,
"hgvs_c": "c.-141+218delT",
"hgvs_p": null,
"transcript": "ENST00000453237.5",
"protein_id": "ENSP00000413686.1",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 199,
"cds_start": -4,
"cds_end": null,
"cds_length": 602,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 813,
"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": 4,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "CXCR2",
"gene_hgnc_id": 6027,
"hgvs_c": "c.-141+222delT",
"hgvs_p": null,
"transcript": "NM_001168298.2",
"protein_id": "NP_001161770.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 360,
"cds_start": -4,
"cds_end": null,
"cds_length": 1083,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2656,
"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": 3,
"intron_rank": 1,
"intron_rank_end": null,
"gene_symbol": "CXCR2",
"gene_hgnc_id": 6027,
"hgvs_c": "c.-89+222delT",
"hgvs_p": null,
"transcript": "XM_047444190.1",
"protein_id": "XP_047300146.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 360,
"cds_start": -4,
"cds_end": null,
"cds_length": 1083,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2604,
"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": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CXCR2",
"gene_hgnc_id": 6027,
"hgvs_c": "c.-345delT",
"hgvs_p": null,
"transcript": "ENST00000449014.5",
"protein_id": "ENSP00000410506.1",
"transcript_support_level": 1,
"aa_start": null,
"aa_end": null,
"aa_length": 14,
"cds_start": -4,
"cds_end": null,
"cds_length": 45,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 262,
"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": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CXCR2",
"gene_hgnc_id": 6027,
"hgvs_c": "c.-274delT",
"hgvs_p": null,
"transcript": "ENST00000415392.5",
"protein_id": "ENSP00000392348.1",
"transcript_support_level": 5,
"aa_start": null,
"aa_end": null,
"aa_length": 137,
"cds_start": -4,
"cds_end": null,
"cds_length": 415,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 585,
"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": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CXCR2",
"gene_hgnc_id": 6027,
"hgvs_c": "c.-345delT",
"hgvs_p": null,
"transcript": "XM_047444187.1",
"protein_id": "XP_047300143.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 360,
"cds_start": -4,
"cds_end": null,
"cds_length": 1083,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2695,
"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": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CXCR2",
"gene_hgnc_id": 6027,
"hgvs_c": "c.-435delT",
"hgvs_p": null,
"transcript": "XM_047444189.1",
"protein_id": "XP_047300145.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 360,
"cds_start": -4,
"cds_end": null,
"cds_length": 1083,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2785,
"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": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "CXCR2",
"gene_hgnc_id": 6027,
"hgvs_c": "c.-424delT",
"hgvs_p": null,
"transcript": "XM_047444191.1",
"protein_id": "XP_047300147.1",
"transcript_support_level": null,
"aa_start": null,
"aa_end": null,
"aa_length": 291,
"cds_start": -4,
"cds_end": null,
"cds_length": 876,
"cdna_start": null,
"cdna_end": null,
"cdna_length": 2567,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "CXCR2",
"gene_hgnc_id": 6027,
"dbsnp": "rs45493792",
"frequency_reference_population": 0.59661245,
"hom_count_reference_population": 28044,
"allele_count_reference_population": 89962,
"gnomad_exomes_af": 0.384615,
"gnomad_genomes_af": 0.596649,
"gnomad_exomes_ac": 10,
"gnomad_genomes_ac": 89952,
"gnomad_exomes_homalt": 2,
"gnomad_genomes_homalt": 28042,
"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.467,
"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": -8,
"acmg_classification": "Benign",
"acmg_criteria": "BA1",
"acmg_by_gene": [
{
"score": -8,
"benign_score": 8,
"pathogenic_score": 0,
"criteria": [
"BA1"
],
"verdict": "Benign",
"transcript": "NM_001168298.2",
"gene_symbol": "CXCR2",
"hgnc_id": 6027,
"effects": [
"intron_variant"
],
"inheritance_mode": "AR",
"hgvs_c": "c.-141+222delT",
"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
}