← 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-21176827-G-A (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=12&pos=21176827&ref=G&alt=A&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "12",
"pos": 21176827,
"ref": "G",
"alt": "A",
"effect": "synonymous_variant",
"transcript": "NM_006446.5",
"consequences": [
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 15,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "NM_006446.5",
"protein_id": "NP_006437.3",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 691,
"cds_start": 411,
"cds_end": null,
"cds_length": 2076,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "ENST00000256958.3",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_006446.5"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 15,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000256958.3",
"protein_id": "ENSP00000256958.2",
"transcript_support_level": 1,
"aa_start": 137,
"aa_end": null,
"aa_length": 691,
"cds_start": 411,
"cds_end": null,
"cds_length": 2076,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "NM_006446.5",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000256958.3"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 16,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870182.1",
"protein_id": "ENSP00000540241.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 691,
"cds_start": 411,
"cds_end": null,
"cds_length": 2076,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870182.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 16,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870184.1",
"protein_id": "ENSP00000540243.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 691,
"cds_start": 411,
"cds_end": null,
"cds_length": 2076,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870184.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870189.1",
"protein_id": "ENSP00000540248.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 691,
"cds_start": 411,
"cds_end": null,
"cds_length": 2076,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870189.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 15,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870178.1",
"protein_id": "ENSP00000540237.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 690,
"cds_start": 411,
"cds_end": null,
"cds_length": 2073,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870178.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870179.1",
"protein_id": "ENSP00000540238.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 658,
"cds_start": 411,
"cds_end": null,
"cds_length": 1977,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870179.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 15,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870180.1",
"protein_id": "ENSP00000540239.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 658,
"cds_start": 411,
"cds_end": null,
"cds_length": 1977,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870180.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870186.1",
"protein_id": "ENSP00000540245.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 642,
"cds_start": 411,
"cds_end": null,
"cds_length": 1929,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870186.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870181.1",
"protein_id": "ENSP00000540240.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 610,
"cds_start": 411,
"cds_end": null,
"cds_length": 1833,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870181.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870188.1",
"protein_id": "ENSP00000540247.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 609,
"cds_start": 411,
"cds_end": null,
"cds_length": 1830,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870188.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870183.1",
"protein_id": "ENSP00000540242.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 574,
"cds_start": 411,
"cds_end": null,
"cds_length": 1725,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870183.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870187.1",
"protein_id": "ENSP00000540246.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 555,
"cds_start": 411,
"cds_end": null,
"cds_length": 1668,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870187.1"
},
{
"aa_ref": "S",
"aa_alt": "S",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"synonymous_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 12,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser",
"transcript": "ENST00000870185.1",
"protein_id": "ENSP00000540244.1",
"transcript_support_level": null,
"aa_start": 137,
"aa_end": null,
"aa_length": 493,
"cds_start": 411,
"cds_end": null,
"cds_length": 1482,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000870185.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ENSG00000257062",
"gene_hgnc_id": null,
"hgvs_c": "n.*193G>A",
"hgvs_p": null,
"transcript": "ENST00000543498.5",
"protein_id": "ENSP00000454306.1",
"transcript_support_level": 4,
"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": null,
"mane_select": null,
"mane_plus": null,
"biotype": "nonsense_mediated_decay",
"feature": "ENST00000543498.5"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 6,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ENSG00000257062",
"gene_hgnc_id": null,
"hgvs_c": "n.*193G>A",
"hgvs_p": null,
"transcript": "ENST00000543498.5",
"protein_id": "ENSP00000454306.1",
"transcript_support_level": 4,
"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": null,
"mane_select": null,
"mane_plus": null,
"biotype": "nonsense_mediated_decay",
"feature": "ENST00000543498.5"
}
],
"gene_symbol": "SLCO1B1",
"gene_hgnc_id": 10959,
"dbsnp": "rs11045818",
"frequency_reference_population": 0.11321172,
"hom_count_reference_population": 11914,
"allele_count_reference_population": 170433,
"gnomad_exomes_af": 0.113754,
"gnomad_genomes_af": 0.108384,
"gnomad_exomes_ac": 153953,
"gnomad_genomes_ac": 16480,
"gnomad_exomes_homalt": 10719,
"gnomad_genomes_homalt": 1195,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": -0.8999999761581421,
"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.9,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 0.153,
"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": -20,
"acmg_classification": "Benign",
"acmg_criteria": "BP4_Strong,BP6_Very_Strong,BA1",
"acmg_by_gene": [
{
"score": -20,
"benign_score": 20,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BP6_Very_Strong",
"BA1"
],
"verdict": "Benign",
"transcript": "NM_006446.5",
"gene_symbol": "SLCO1B1",
"hgnc_id": 10959,
"effects": [
"synonymous_variant"
],
"inheritance_mode": "AR",
"hgvs_c": "c.411G>A",
"hgvs_p": "p.Ser137Ser"
},
{
"score": -20,
"benign_score": 20,
"pathogenic_score": 0,
"criteria": [
"BP4_Strong",
"BP6_Very_Strong",
"BA1"
],
"verdict": "Benign",
"transcript": "ENST00000543498.5",
"gene_symbol": "ENSG00000257062",
"hgnc_id": null,
"effects": [
"non_coding_transcript_exon_variant"
],
"inheritance_mode": "",
"hgvs_c": "n.*193G>A",
"hgvs_p": null
}
],
"clinvar_disease": "Rotor syndrome,SLCO1B1-related disorder,not provided",
"clinvar_classification": "Benign",
"clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
"clinvar_submissions_summary": "B:4",
"phenotype_combined": "Rotor syndrome|not provided|SLCO1B1-related disorder",
"pathogenicity_classification_combined": "Benign",
"custom_annotations": null
}
],
"message": null
}