← 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: 4-184000146-C-G (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=4&pos=184000146&ref=C&alt=G&genome=hg38&allGenes=true"

API Response

json
{
  "message": null,
  "variants": [
    {
      "acmg_by_gene": [
        {
          "benign_score": 4,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "effects": [
            "intron_variant"
          ],
          "gene_symbol": "STOX2",
          "hgnc_id": 25450,
          "hgvs_c": "c.167-1179C>G",
          "hgvs_p": null,
          "inheritance_mode": "",
          "pathogenic_score": 2,
          "score": -2,
          "transcript": "NM_020225.3",
          "verdict": "Likely_benign"
        }
      ],
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong",
      "acmg_score": -2,
      "allele_count_reference_population": 0,
      "alphamissense_prediction": null,
      "alphamissense_score": null,
      "alt": "G",
      "apogee2_prediction": null,
      "apogee2_score": null,
      "bayesdelnoaf_prediction": "Benign",
      "bayesdelnoaf_score": -0.84,
      "chr": "4",
      "clinvar_classification": "",
      "clinvar_disease": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "computational_prediction_selected": "Benign",
      "computational_score_selected": -0.8399999737739563,
      "computational_source_selected": "BayesDel_noAF",
      "consequences": [
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 926,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 10507,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2781,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "NM_020225.3",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "c.167-1179C>G",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "ENST00000308497.9",
          "protein_coding": true,
          "protein_id": "NP_064610.1",
          "strand": true,
          "transcript": "NM_020225.3",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 926,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": true,
          "cdna_end": null,
          "cdna_length": 10507,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2781,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000308497.9",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "c.167-1179C>G",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": "NM_020225.3",
          "protein_coding": true,
          "protein_id": "ENSP00000311257.4",
          "strand": true,
          "transcript": "ENST00000308497.9",
          "transcript_support_level": 1
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 882,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 20885,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2649,
          "cds_start": null,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_count": 6,
          "exon_rank": 4,
          "exon_rank_end": null,
          "feature": "XM_047415989.1",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "c.-1145C>G",
          "hgvs_p": null,
          "intron_rank": null,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_047271945.1",
          "strand": true,
          "transcript": "XM_047415989.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 875,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 4575,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2628,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 3,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000883698.1",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "c.167-9012C>G",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000553757.1",
          "strand": true,
          "transcript": "ENST00000883698.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 195,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 807,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 588,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 3,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "ENST00000513034.3",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "c.365-1179C>G",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "ENSP00000422118.3",
          "strand": true,
          "transcript": "ENST00000513034.3",
          "transcript_support_level": 3
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 880,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 9732,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2643,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 7,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_011532131.2",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "c.29-1179C>G",
          "hgvs_p": null,
          "intron_rank": 4,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_011530433.1",
          "strand": true,
          "transcript": "XM_011532131.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 879,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 9302,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2640,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 5,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_017008467.2",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "c.26-1179C>G",
          "hgvs_p": null,
          "intron_rank": 2,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_016863956.1",
          "strand": true,
          "transcript": "XM_017008467.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 879,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 9565,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2640,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 6,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_047415990.1",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "c.26-1179C>G",
          "hgvs_p": null,
          "intron_rank": 3,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_047271946.1",
          "strand": true,
          "transcript": "XM_047415990.1",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 864,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 9129,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2595,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 4,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_024454157.2",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "c.-20-1179C>G",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_024309925.1",
          "strand": true,
          "transcript": "XM_024454157.2",
          "transcript_support_level": null
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": 800,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "protein_coding",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 2457,
          "cdna_start": null,
          "cds_end": null,
          "cds_length": 2403,
          "cds_start": null,
          "consequences": [
            "intron_variant"
          ],
          "exon_count": 3,
          "exon_rank": null,
          "exon_rank_end": null,
          "feature": "XM_017008466.2",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "c.-20-1179C>G",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": true,
          "protein_id": "XP_016863955.2",
          "strand": true,
          "transcript": "XM_017008466.2",
          "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": 496,
          "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": "ENST00000511250.1",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "n.414-1179C>G",
          "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": "ENST00000511250.1",
          "transcript_support_level": 4
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "nonsense_mediated_decay",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 518,
          "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": "ENST00000512520.1",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "n.31-1179C>G",
          "hgvs_p": null,
          "intron_rank": 1,
          "intron_rank_end": null,
          "mane_plus": null,
          "mane_select": null,
          "protein_coding": false,
          "protein_id": "ENSP00000425388.2",
          "strand": true,
          "transcript": "ENST00000512520.1",
          "transcript_support_level": 4
        },
        {
          "aa_alt": null,
          "aa_end": null,
          "aa_length": null,
          "aa_ref": null,
          "aa_start": null,
          "biotype": "pseudogene",
          "canonical": false,
          "cdna_end": null,
          "cdna_length": 6629,
          "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": "NR_132761.1",
          "gene_hgnc_id": 25450,
          "gene_symbol": "STOX2",
          "hgvs_c": "n.35-1179C>G",
          "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": "NR_132761.1",
          "transcript_support_level": null
        }
      ],
      "custom_annotations": null,
      "dbscsnv_ada_prediction": null,
      "dbscsnv_ada_score": null,
      "dbsnp": "rs12498735",
      "effect": "intron_variant",
      "frequency_reference_population": null,
      "gene_hgnc_id": 25450,
      "gene_symbol": "STOX2",
      "gnomad_exomes_ac": null,
      "gnomad_exomes_af": null,
      "gnomad_exomes_homalt": null,
      "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": null,
      "phenotype_combined": null,
      "phylop100way_prediction": "Benign",
      "phylop100way_score": 0.223,
      "pos": 184000146,
      "ref": "C",
      "revel_prediction": null,
      "revel_score": null,
      "splice_prediction_selected": "Benign",
      "splice_score_selected": 0,
      "splice_source_selected": "max_spliceai",
      "spliceai_max_prediction": "Benign",
      "spliceai_max_score": 0,
      "transcript": "NM_020225.3"
    }
  ]
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.