← 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-21359263-T-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 21359263,
      "ref": "T",
      "alt": "A",
      "effect": "intron_variant",
      "transcript": "NM_134431.5",
      "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": 16,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-63+15136A>T",
          "hgvs_p": null,
          "transcript": "ENST00000307378.10",
          "protein_id": "ENSP00000305974.6",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 670,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2013,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7682,
          "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": 15,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-62-24554A>T",
          "hgvs_p": null,
          "transcript": "NM_001386878.1",
          "protein_id": "NP_001373807.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 670,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2013,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7256,
          "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": 17,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-57-24559A>T",
          "hgvs_p": null,
          "transcript": "NM_001386881.1",
          "protein_id": "NP_001373810.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 670,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2013,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7309,
          "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": 15,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-63+1400A>T",
          "hgvs_p": null,
          "transcript": "NM_001386882.2",
          "protein_id": "NP_001373811.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 670,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2013,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7258,
          "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": 16,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-63+15136A>T",
          "hgvs_p": null,
          "transcript": "NM_134431.5",
          "protein_id": "NP_602307.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 670,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2013,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7750,
          "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": 14,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-320-24559A>T",
          "hgvs_p": null,
          "transcript": "NM_001386937.1",
          "protein_id": "NP_001373866.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 538,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1617,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7485,
          "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": 5,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-62-24554A>T",
          "hgvs_p": null,
          "transcript": "ENST00000453443.5",
          "protein_id": "ENSP00000409314.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 135,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 410,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 717,
          "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": 4,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-57-24559A>T",
          "hgvs_p": null,
          "transcript": "ENST00000450590.5",
          "protein_id": "ENSP00000407462.1",
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 90,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 273,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 569,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "IAPP",
          "gene_hgnc_id": 5329,
          "hgvs_c": "c.-16+4250T>A",
          "hgvs_p": null,
          "transcript": "NM_001329201.2",
          "protein_id": "NP_001316130.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 89,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 270,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1894,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "IAPP",
          "gene_hgnc_id": 5329,
          "hgvs_c": "c.-16+4250T>A",
          "hgvs_p": null,
          "transcript": "ENST00000539393.5",
          "protein_id": "ENSP00000437357.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 89,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 270,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 409,
          "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": 6,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-57-24559A>T",
          "hgvs_p": null,
          "transcript": "ENST00000435179.5",
          "protein_id": "ENSP00000401195.1",
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 87,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 264,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 562,
          "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": 3,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-57-24559A>T",
          "hgvs_p": null,
          "transcript": "ENST00000421287.5",
          "protein_id": "ENSP00000390672.1",
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 50,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 153,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 702,
          "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": 5,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-311-24559A>T",
          "hgvs_p": null,
          "transcript": "ENST00000413682.5",
          "protein_id": "ENSP00000403638.1",
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 31,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 97,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 543,
          "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": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-63+15136A>T",
          "hgvs_p": null,
          "transcript": "ENST00000416627.1",
          "protein_id": "ENSP00000392124.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 12,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 39,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 356,
          "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": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-62-24554A>T",
          "hgvs_p": null,
          "transcript": "ENST00000430803.1",
          "protein_id": "ENSP00000410338.1",
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 0,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 559,
          "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": 5,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "n.483-24559A>T",
          "hgvs_p": null,
          "transcript": "ENST00000473830.5",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": 873,
          "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": 14,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "n.-57-24559A>T",
          "hgvs_p": null,
          "transcript": "ENST00000544290.5",
          "protein_id": "ENSP00000438348.1",
          "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": 2382,
          "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": 15,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-57-24559A>T",
          "hgvs_p": null,
          "transcript": "XM_011520819.2",
          "protein_id": "XP_011519121.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 670,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2013,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7251,
          "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": 16,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "SLCO1A2",
          "gene_hgnc_id": 10956,
          "hgvs_c": "c.-63+15136A>T",
          "hgvs_p": null,
          "transcript": "XM_024449138.2",
          "protein_id": "XP_024304906.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 670,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2013,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7383,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SLCO1A2",
      "gene_hgnc_id": 10956,
      "dbsnp": "rs10841798",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8899999856948853,
      "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.89,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.006,
      "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": -2,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_134431.5",
          "gene_symbol": "SLCO1A2",
          "hgnc_id": 10956,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.-63+15136A>T",
          "hgvs_p": null
        },
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_001329201.2",
          "gene_symbol": "IAPP",
          "hgnc_id": 5329,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.-16+4250T>A",
          "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
}