← 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: X-49165298-C-G (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=X&pos=49165298&ref=C&alt=G&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "X",
"pos": 49165298,
"ref": "C",
"alt": "G",
"effect": "missense_variant",
"transcript": "NM_024859.4",
"consequences": [
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.616C>G",
"hgvs_p": "p.Arg206Gly",
"transcript": "NM_024859.4",
"protein_id": "NP_079135.3",
"transcript_support_level": null,
"aa_start": 206,
"aa_end": null,
"aa_length": 334,
"cds_start": 616,
"cds_end": null,
"cds_length": 1005,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "ENST00000595224.6",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_024859.4"
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.616C>G",
"hgvs_p": "p.Arg206Gly",
"transcript": "ENST00000595224.6",
"protein_id": "ENSP00000471299.1",
"transcript_support_level": 5,
"aa_start": 206,
"aa_end": null,
"aa_length": 334,
"cds_start": 616,
"cds_end": null,
"cds_length": 1005,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": "NM_024859.4",
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000595224.6"
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.388C>G",
"hgvs_p": "p.Arg130Gly",
"transcript": "ENST00000615626.4",
"protein_id": "ENSP00000479023.1",
"transcript_support_level": 1,
"aa_start": 130,
"aa_end": null,
"aa_length": 258,
"cds_start": 388,
"cds_end": null,
"cds_length": 777,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000615626.4"
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.388C>G",
"hgvs_p": "p.Arg130Gly",
"transcript": "ENST00000614074.4",
"protein_id": "ENSP00000484729.1",
"transcript_support_level": 1,
"aa_start": 130,
"aa_end": null,
"aa_length": 253,
"cds_start": 388,
"cds_end": null,
"cds_length": 762,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000614074.4"
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.616C>G",
"hgvs_p": "p.Arg206Gly",
"transcript": "ENST00000910545.1",
"protein_id": "ENSP00000580604.1",
"transcript_support_level": null,
"aa_start": 206,
"aa_end": null,
"aa_length": 329,
"cds_start": 616,
"cds_end": null,
"cds_length": 990,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000910545.1"
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.439C>G",
"hgvs_p": "p.Arg147Gly",
"transcript": "NM_001395401.1",
"protein_id": "NP_001382330.1",
"transcript_support_level": null,
"aa_start": 147,
"aa_end": null,
"aa_length": 275,
"cds_start": 439,
"cds_end": null,
"cds_length": 828,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_001395401.1"
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.439C>G",
"hgvs_p": "p.Arg147Gly",
"transcript": "ENST00000616266.4",
"protein_id": "ENSP00000481198.1",
"transcript_support_level": 5,
"aa_start": 147,
"aa_end": null,
"aa_length": 275,
"cds_start": 439,
"cds_end": null,
"cds_length": 828,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000616266.4"
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.415C>G",
"hgvs_p": "p.Arg139Gly",
"transcript": "ENST00000615915.4",
"protein_id": "ENSP00000484294.1",
"transcript_support_level": 2,
"aa_start": 139,
"aa_end": null,
"aa_length": 262,
"cds_start": 415,
"cds_end": null,
"cds_length": 789,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000615915.4"
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.388C>G",
"hgvs_p": "p.Arg130Gly",
"transcript": "NM_001099681.2",
"protein_id": "NP_001093151.2",
"transcript_support_level": null,
"aa_start": 130,
"aa_end": null,
"aa_length": 258,
"cds_start": 388,
"cds_end": null,
"cds_length": 777,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_001099681.2"
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.388C>G",
"hgvs_p": "p.Arg130Gly",
"transcript": "NM_001099682.2",
"protein_id": "NP_001093152.2",
"transcript_support_level": null,
"aa_start": 130,
"aa_end": null,
"aa_length": 253,
"cds_start": 388,
"cds_end": null,
"cds_length": 762,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "NM_001099682.2"
},
{
"aa_ref": "R",
"aa_alt": "G",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 2,
"exon_rank_end": null,
"exon_count": 3,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "c.232C>G",
"hgvs_p": "p.Arg78Gly",
"transcript": "ENST00000454342.2",
"protein_id": "ENSP00000400147.1",
"transcript_support_level": 2,
"aa_start": 78,
"aa_end": null,
"aa_length": 142,
"cds_start": 232,
"cds_end": null,
"cds_length": 430,
"cdna_start": null,
"cdna_end": null,
"cdna_length": null,
"mane_select": null,
"mane_plus": null,
"biotype": "protein_coding",
"feature": "ENST00000454342.2"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "n.454C>G",
"hgvs_p": null,
"transcript": "ENST00000612119.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": null,
"mane_select": null,
"mane_plus": null,
"biotype": "pseudogene",
"feature": "ENST00000612119.1"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "n.*198C>G",
"hgvs_p": null,
"transcript": "ENST00000614322.4",
"protein_id": "ENSP00000479878.1",
"transcript_support_level": 5,
"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": "ENST00000614322.4"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 3,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "n.1758C>G",
"hgvs_p": null,
"transcript": "ENST00000616812.4",
"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": null,
"mane_select": null,
"mane_plus": null,
"biotype": "retained_intron",
"feature": "ENST00000616812.4"
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"3_prime_UTR_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 6,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"hgvs_c": "n.*198C>G",
"hgvs_p": null,
"transcript": "ENST00000614322.4",
"protein_id": "ENSP00000479878.1",
"transcript_support_level": 5,
"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": "ENST00000614322.4"
}
],
"gene_symbol": "MAGIX",
"gene_hgnc_id": 30006,
"dbsnp": "rs782468533",
"frequency_reference_population": 0.000027945924,
"hom_count_reference_population": 12,
"allele_count_reference_population": 33,
"gnomad_exomes_af": 0.0000299467,
"gnomad_genomes_af": 0.00000890567,
"gnomad_exomes_ac": 32,
"gnomad_genomes_ac": 1,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": 0,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.2123805284500122,
"computational_prediction_selected": "Benign",
"computational_source_selected": "MetaRNN",
"splice_score_selected": 0.20999999344348907,
"splice_prediction_selected": "Uncertain_significance",
"splice_source_selected": "max_spliceai",
"revel_score": 0.251,
"revel_prediction": "Benign",
"alphamissense_score": 0.139,
"alphamissense_prediction": null,
"bayesdelnoaf_score": -0.61,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": -1.005,
"phylop100way_prediction": "Benign",
"spliceai_max_score": 0.21,
"spliceai_max_prediction": "Uncertain_significance",
"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": "Likely_benign",
"acmg_criteria": "BS2",
"acmg_by_gene": [
{
"score": -4,
"benign_score": 4,
"pathogenic_score": 0,
"criteria": [
"BS2"
],
"verdict": "Likely_benign",
"transcript": "NM_024859.4",
"gene_symbol": "MAGIX",
"hgnc_id": 30006,
"effects": [
"missense_variant"
],
"inheritance_mode": "",
"hgvs_c": "c.616C>G",
"hgvs_p": "p.Arg206Gly"
}
],
"clinvar_disease": "",
"clinvar_classification": "",
"clinvar_review_status": "",
"clinvar_submissions_summary": "",
"phenotype_combined": null,
"pathogenicity_classification_combined": null,
"custom_annotations": null
}
],
"message": null
}