← 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-1888878-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 1888878,
      "ref": "C",
      "alt": "T",
      "effect": "intron_variant",
      "transcript": "ENST00000382722.10",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.782-1809G>A",
          "hgvs_p": null,
          "transcript": "NM_172364.5",
          "protein_id": "NP_758952.4",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1137,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3414,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5285,
          "mane_select": "ENST00000382722.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.782-1809G>A",
          "hgvs_p": null,
          "transcript": "ENST00000382722.10",
          "protein_id": "ENSP00000372169.4",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1137,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3414,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5285,
          "mane_select": "NM_172364.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 37,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.782-1809G>A",
          "hgvs_p": null,
          "transcript": "ENST00000586184.5",
          "protein_id": "ENSP00000465060.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1154,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3465,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3499,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 37,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.782-1809G>A",
          "hgvs_p": null,
          "transcript": "ENST00000587995.5",
          "protein_id": "ENSP00000465372.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1112,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3339,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3883,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 37,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.590-1809G>A",
          "hgvs_p": null,
          "transcript": "ENST00000585708.5",
          "protein_id": "ENSP00000467697.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1090,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3273,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3273,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.590-1809G>A",
          "hgvs_p": null,
          "transcript": "ENST00000588077.5",
          "protein_id": "ENSP00000468530.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1073,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3222,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3311,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 37,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "n.782-1809G>A",
          "hgvs_p": null,
          "transcript": "ENST00000444595.6",
          "protein_id": "ENSP00000403371.2",
          "transcript_support_level": 1,
          "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": 4450,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LOC124902858",
          "gene_hgnc_id": null,
          "hgvs_c": "n.2917C>T",
          "hgvs_p": null,
          "transcript": "XR_007063158.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 3481,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.782-2879G>A",
          "hgvs_p": null,
          "transcript": "ENST00000585732.1",
          "protein_id": "ENSP00000468080.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 780,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2343,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2566,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "n.975-1809G>A",
          "hgvs_p": null,
          "transcript": "ENST00000280663.12",
          "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": 5936,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.782-1809G>A",
          "hgvs_p": null,
          "transcript": "XM_011521041.3",
          "protein_id": "XP_011519343.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1133,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3402,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3615,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 36,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.782-1809G>A",
          "hgvs_p": null,
          "transcript": "XM_047429897.1",
          "protein_id": "XP_047285853.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1130,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3393,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3606,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.782-1809G>A",
          "hgvs_p": null,
          "transcript": "XM_047429898.1",
          "protein_id": "XP_047285854.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 850,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2553,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2914,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CACNA2D4",
          "gene_hgnc_id": 20202,
          "hgvs_c": "c.782-1809G>A",
          "hgvs_p": null,
          "transcript": "XM_047429899.1",
          "protein_id": "XP_047285855.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 826,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2481,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2842,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CACNA2D4",
      "gene_hgnc_id": 20202,
      "dbsnp": "rs2013064",
      "frequency_reference_population": 0.9152186,
      "hom_count_reference_population": 63946,
      "allele_count_reference_population": 139364,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": 0.915219,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": 139364,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": 63946,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.9100000262260437,
      "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.91,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.516,
      "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": -12,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -12,
          "benign_score": 12,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000382722.10",
          "gene_symbol": "CACNA2D4",
          "hgnc_id": 20202,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR,Unknown,AD",
          "hgvs_c": "c.782-1809G>A",
          "hgvs_p": null
        },
        {
          "score": -12,
          "benign_score": 12,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "XR_007063158.1",
          "gene_symbol": "LOC124902858",
          "hgnc_id": null,
          "effects": [
            "non_coding_transcript_exon_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.2917C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}