← 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: 1-168542040-G-T (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=1&pos=168542040&ref=G&alt=T&genome=hg38&allGenes=true"API Response
json
{
"message": null,
"variants": [
{
"acmg_by_gene": [
{
"benign_score": 4,
"criteria": [
"PM2",
"BP4_Strong"
],
"effects": [
"missense_variant"
],
"gene_symbol": "XCL2",
"hgnc_id": 10646,
"hgvs_c": "c.129C>A",
"hgvs_p": "p.Ser43Arg",
"inheritance_mode": "AR",
"pathogenic_score": 2,
"score": -2,
"transcript": "NM_003175.4",
"verdict": "Likely_benign"
},
{
"benign_score": 4,
"criteria": [
"PM2",
"BP4_Strong"
],
"effects": [
"intron_variant"
],
"gene_symbol": "ENSG00000307038",
"hgnc_id": null,
"hgvs_c": "n.313-34222G>T",
"hgvs_p": null,
"inheritance_mode": "",
"pathogenic_score": 2,
"score": -2,
"transcript": "ENST00000823032.1",
"verdict": "Likely_benign"
}
],
"acmg_classification": "Likely_benign",
"acmg_criteria": "PM2,BP4_Strong",
"acmg_score": -2,
"allele_count_reference_population": 1,
"alphamissense_prediction": "Benign",
"alphamissense_score": 0.1887,
"alt": "T",
"apogee2_prediction": null,
"apogee2_score": null,
"bayesdelnoaf_prediction": "Benign",
"bayesdelnoaf_score": -0.75,
"chr": "1",
"clinvar_classification": "Uncertain significance",
"clinvar_disease": "not specified",
"clinvar_review_status": "criteria provided, single submitter",
"clinvar_submissions_summary": "US:1",
"computational_prediction_selected": "Benign",
"computational_score_selected": 0.05946618318557739,
"computational_source_selected": "MetaRNN",
"consequences": [
{
"aa_alt": "R",
"aa_end": null,
"aa_length": 114,
"aa_ref": "S",
"aa_start": 43,
"biotype": "protein_coding",
"canonical": false,
"cdna_end": null,
"cdna_length": 562,
"cdna_start": 162,
"cds_end": null,
"cds_length": 345,
"cds_start": 129,
"consequences": [
"missense_variant"
],
"exon_count": 3,
"exon_rank": 2,
"exon_rank_end": null,
"feature": "NM_003175.4",
"gene_hgnc_id": 10646,
"gene_symbol": "XCL2",
"hgvs_c": "c.129C>A",
"hgvs_p": "p.Ser43Arg",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": "ENST00000367819.3",
"protein_coding": true,
"protein_id": "NP_003166.1",
"strand": false,
"transcript": "NM_003175.4",
"transcript_support_level": null
},
{
"aa_alt": "R",
"aa_end": null,
"aa_length": 114,
"aa_ref": "S",
"aa_start": 43,
"biotype": "protein_coding",
"canonical": true,
"cdna_end": null,
"cdna_length": 562,
"cdna_start": 162,
"cds_end": null,
"cds_length": 345,
"cds_start": 129,
"consequences": [
"missense_variant"
],
"exon_count": 3,
"exon_rank": 2,
"exon_rank_end": null,
"feature": "ENST00000367819.3",
"gene_hgnc_id": 10646,
"gene_symbol": "XCL2",
"hgvs_c": "c.129C>A",
"hgvs_p": "p.Ser43Arg",
"intron_rank": null,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": "NM_003175.4",
"protein_coding": true,
"protein_id": "ENSP00000356793.2",
"strand": false,
"transcript": "ENST00000367819.3",
"transcript_support_level": 1
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 553,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 3,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000823032.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000307038",
"hgvs_c": "n.313-34222G>T",
"hgvs_p": null,
"intron_rank": 2,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000823032.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 915,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 4,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000823033.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000307038",
"hgvs_c": "n.304-1847G>T",
"hgvs_p": null,
"intron_rank": 2,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000823033.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 1262,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 4,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000823034.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000307038",
"hgvs_c": "n.537-1847G>T",
"hgvs_p": null,
"intron_rank": 3,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000823034.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 914,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 4,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000823035.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000307038",
"hgvs_c": "n.379-1847G>T",
"hgvs_p": null,
"intron_rank": 2,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000823035.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 811,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 4,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000823036.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000307038",
"hgvs_c": "n.226-1847G>T",
"hgvs_p": null,
"intron_rank": 2,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000823036.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 1030,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 3,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000823037.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000307038",
"hgvs_c": "n.677-1847G>T",
"hgvs_p": null,
"intron_rank": 2,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000823037.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 657,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 3,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000823038.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000307038",
"hgvs_c": "n.304-1847G>T",
"hgvs_p": null,
"intron_rank": 2,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000823038.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 1116,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 2,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000823043.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000307038",
"hgvs_c": "n.248-682G>T",
"hgvs_p": null,
"intron_rank": 1,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000823043.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 645,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 3,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000823045.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000307038",
"hgvs_c": "n.60-1847G>T",
"hgvs_p": null,
"intron_rank": 1,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000823045.1",
"transcript_support_level": null
},
{
"aa_alt": null,
"aa_end": null,
"aa_length": null,
"aa_ref": null,
"aa_start": null,
"biotype": "pseudogene",
"canonical": false,
"cdna_end": null,
"cdna_length": 965,
"cdna_start": null,
"cds_end": null,
"cds_length": null,
"cds_start": null,
"consequences": [
"intron_variant"
],
"exon_count": 2,
"exon_rank": null,
"exon_rank_end": null,
"feature": "ENST00000823046.1",
"gene_hgnc_id": null,
"gene_symbol": "ENSG00000307038",
"hgvs_c": "n.97-682G>T",
"hgvs_p": null,
"intron_rank": 1,
"intron_rank_end": null,
"mane_plus": null,
"mane_select": null,
"protein_coding": false,
"protein_id": null,
"strand": true,
"transcript": "ENST00000823046.1",
"transcript_support_level": null
}
],
"custom_annotations": null,
"dbscsnv_ada_prediction": null,
"dbscsnv_ada_score": null,
"dbsnp": "rs777325495",
"effect": "missense_variant",
"frequency_reference_population": 6.882568e-7,
"gene_hgnc_id": 10646,
"gene_symbol": "XCL2",
"gnomad_exomes_ac": 1,
"gnomad_exomes_af": 6.88257e-7,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_ac": null,
"gnomad_genomes_af": null,
"gnomad_genomes_homalt": null,
"gnomad_mito_heteroplasmic": null,
"gnomad_mito_homoplasmic": null,
"hom_count_reference_population": 0,
"mitotip_prediction": null,
"mitotip_score": null,
"pathogenicity_classification_combined": "Uncertain significance",
"phenotype_combined": "not specified",
"phylop100way_prediction": "Benign",
"phylop100way_score": -2.164,
"pos": 168542040,
"ref": "G",
"revel_prediction": "Benign",
"revel_score": 0.01,
"splice_prediction_selected": "Benign",
"splice_score_selected": 0,
"splice_source_selected": "max_spliceai",
"spliceai_max_prediction": "Benign",
"spliceai_max_score": 0,
"transcript": "NM_003175.4"
}
]
}