← 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: 12-47973409-A-T (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=12&pos=47973409&ref=A&alt=T&genome=hg38&allGenes=true"
API Response
json
{
"variants": [
{
"chr": "12",
"pos": 47973409,
"ref": "A",
"alt": "T",
"effect": "stop_lost",
"transcript": "NM_001844.5",
"consequences": [
{
"aa_ref": "*",
"aa_alt": "K",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_lost"
],
"exon_rank": 54,
"exon_rank_end": null,
"exon_count": 54,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.4462T>A",
"hgvs_p": "p.Ter1488Lysext*?",
"transcript": "NM_001844.5",
"protein_id": "NP_001835.3",
"transcript_support_level": null,
"aa_start": 1488,
"aa_end": null,
"aa_length": 1487,
"cds_start": 4462,
"cds_end": null,
"cds_length": 4464,
"cdna_start": 4617,
"cdna_end": null,
"cdna_length": 5059,
"mane_select": "ENST00000380518.8",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "*",
"aa_alt": "K",
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_lost"
],
"exon_rank": 54,
"exon_rank_end": null,
"exon_count": 54,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.4462T>A",
"hgvs_p": "p.Ter1488Lysext*?",
"transcript": "ENST00000380518.8",
"protein_id": "ENSP00000369889.3",
"transcript_support_level": 1,
"aa_start": 1488,
"aa_end": null,
"aa_length": 1487,
"cds_start": 4462,
"cds_end": null,
"cds_length": 4464,
"cdna_start": 4617,
"cdna_end": null,
"cdna_length": 5059,
"mane_select": "NM_001844.5",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "*",
"aa_alt": "K",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_lost",
"splice_region_variant"
],
"exon_rank": 53,
"exon_rank_end": null,
"exon_count": 53,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.4255T>A",
"hgvs_p": "p.Ter1419Lysext*?",
"transcript": "ENST00000337299.7",
"protein_id": "ENSP00000338213.6",
"transcript_support_level": 1,
"aa_start": 1419,
"aa_end": null,
"aa_length": 1418,
"cds_start": 4255,
"cds_end": null,
"cds_length": 4257,
"cdna_start": 4440,
"cdna_end": null,
"cdna_length": 4442,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "*",
"aa_alt": "K",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_lost"
],
"exon_rank": 53,
"exon_rank_end": null,
"exon_count": 53,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.4255T>A",
"hgvs_p": "p.Ter1419Lysext*?",
"transcript": "NM_033150.3",
"protein_id": "NP_149162.2",
"transcript_support_level": null,
"aa_start": 1419,
"aa_end": null,
"aa_length": 1418,
"cds_start": 4255,
"cds_end": null,
"cds_length": 4257,
"cdna_start": 4410,
"cdna_end": null,
"cdna_length": 4852,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "*",
"aa_alt": "K",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_lost"
],
"exon_rank": 56,
"exon_rank_end": null,
"exon_count": 56,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.4606T>A",
"hgvs_p": "p.Ter1536Lysext*?",
"transcript": "XM_017018828.1",
"protein_id": "XP_016874317.1",
"transcript_support_level": null,
"aa_start": 1536,
"aa_end": null,
"aa_length": 1535,
"cds_start": 4606,
"cds_end": null,
"cds_length": 4608,
"cdna_start": 4728,
"cdna_end": null,
"cdna_length": 5170,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "*",
"aa_alt": "K",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_lost"
],
"exon_rank": 56,
"exon_rank_end": null,
"exon_count": 56,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.4603T>A",
"hgvs_p": "p.Ter1535Lysext*?",
"transcript": "XM_017018829.1",
"protein_id": "XP_016874318.1",
"transcript_support_level": null,
"aa_start": 1535,
"aa_end": null,
"aa_length": 1534,
"cds_start": 4603,
"cds_end": null,
"cds_length": 4605,
"cdna_start": 4725,
"cdna_end": null,
"cdna_length": 5167,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "*",
"aa_alt": "K",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_lost"
],
"exon_rank": 55,
"exon_rank_end": null,
"exon_count": 55,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.4396T>A",
"hgvs_p": "p.Ter1466Lysext*?",
"transcript": "XM_017018830.1",
"protein_id": "XP_016874319.1",
"transcript_support_level": null,
"aa_start": 1466,
"aa_end": null,
"aa_length": 1465,
"cds_start": 4396,
"cds_end": null,
"cds_length": 4398,
"cdna_start": 4518,
"cdna_end": null,
"cdna_length": 4960,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "*",
"aa_alt": "K",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_lost"
],
"exon_rank": 54,
"exon_rank_end": null,
"exon_count": 54,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.3916T>A",
"hgvs_p": "p.Ter1306Lysext*?",
"transcript": "XM_017018831.3",
"protein_id": "XP_016874320.1",
"transcript_support_level": null,
"aa_start": 1306,
"aa_end": null,
"aa_length": 1305,
"cds_start": 3916,
"cds_end": null,
"cds_length": 3918,
"cdna_start": 4946,
"cdna_end": null,
"cdna_length": 5388,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "*",
"aa_alt": "K",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"stop_lost"
],
"exon_rank": 54,
"exon_rank_end": null,
"exon_count": 54,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "c.3916T>A",
"hgvs_p": "p.Ter1306Lysext*?",
"transcript": "XM_047428315.1",
"protein_id": "XP_047284271.1",
"transcript_support_level": null,
"aa_start": 1306,
"aa_end": null,
"aa_length": 1305,
"cds_start": 3916,
"cds_end": null,
"cds_length": 3918,
"cdna_start": 4395,
"cdna_end": null,
"cdna_length": 4837,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": false,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 37,
"exon_rank_end": null,
"exon_count": 37,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"hgvs_c": "n.3548T>A",
"hgvs_p": null,
"transcript": "ENST00000493991.5",
"protein_id": null,
"transcript_support_level": 2,
"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": 3756,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "COL2A1",
"gene_hgnc_id": 2200,
"dbsnp": null,
"frequency_reference_population": null,
"hom_count_reference_population": 0,
"allele_count_reference_population": 0,
"gnomad_exomes_af": null,
"gnomad_genomes_af": null,
"gnomad_exomes_ac": null,
"gnomad_genomes_ac": null,
"gnomad_exomes_homalt": null,
"gnomad_genomes_homalt": null,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": -0.12999999523162842,
"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.13,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 9.267,
"phylop100way_prediction": "Pathogenic",
"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": 4,
"acmg_classification": "Uncertain_significance",
"acmg_criteria": "PM2,PM4",
"acmg_by_gene": [
{
"score": 4,
"benign_score": 0,
"pathogenic_score": 4,
"criteria": [
"PM2",
"PM4"
],
"verdict": "Uncertain_significance",
"transcript": "NM_001844.5",
"gene_symbol": "COL2A1",
"hgnc_id": 2200,
"effects": [
"stop_lost"
],
"inheritance_mode": "Unknown,AD,AR",
"hgvs_c": "c.4462T>A",
"hgvs_p": "p.Ter1488Lysext*?"
}
],
"clinvar_disease": "not provided",
"clinvar_classification": "Uncertain significance",
"clinvar_review_status": "criteria provided, single submitter",
"clinvar_submissions_summary": "US:1",
"phenotype_combined": "not provided",
"pathogenicity_classification_combined": "Uncertain significance",
"custom_annotations": null
}
],
"message": null
}