← 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: 6-113943407-CCTTT-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "6",
      "pos": 113943407,
      "ref": "CCTTT",
      "alt": "C",
      "effect": "frameshift_variant",
      "transcript": "NM_001527.4",
      "consequences": [
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1318_1321delAAAG",
          "hgvs_p": "p.Lys440fs",
          "transcript": "NM_001527.4",
          "protein_id": "NP_001518.3",
          "transcript_support_level": null,
          "aa_start": 440,
          "aa_end": null,
          "aa_length": 488,
          "cds_start": 1318,
          "cds_end": null,
          "cds_length": 1467,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000519065.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001527.4"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1318_1321delAAAG",
          "hgvs_p": "p.Lys440fs",
          "transcript": "ENST00000519065.6",
          "protein_id": "ENSP00000430432.1",
          "transcript_support_level": 1,
          "aa_start": 440,
          "aa_end": null,
          "aa_length": 488,
          "cds_start": 1318,
          "cds_end": null,
          "cds_length": 1467,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001527.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000519065.6"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1357_1360delAAAG",
          "hgvs_p": "p.Lys453fs",
          "transcript": "ENST00000916847.1",
          "protein_id": "ENSP00000586906.1",
          "transcript_support_level": null,
          "aa_start": 453,
          "aa_end": null,
          "aa_length": 501,
          "cds_start": 1357,
          "cds_end": null,
          "cds_length": 1506,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000916847.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1342_1345delAAAG",
          "hgvs_p": "p.Lys448fs",
          "transcript": "ENST00000869750.1",
          "protein_id": "ENSP00000539809.1",
          "transcript_support_level": null,
          "aa_start": 448,
          "aa_end": null,
          "aa_length": 496,
          "cds_start": 1342,
          "cds_end": null,
          "cds_length": 1491,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000869750.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1330_1333delAAAG",
          "hgvs_p": "p.Lys444fs",
          "transcript": "ENST00000916850.1",
          "protein_id": "ENSP00000586909.1",
          "transcript_support_level": null,
          "aa_start": 444,
          "aa_end": null,
          "aa_length": 492,
          "cds_start": 1330,
          "cds_end": null,
          "cds_length": 1479,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000916850.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1312_1315delAAAG",
          "hgvs_p": "p.Lys438fs",
          "transcript": "ENST00000916845.1",
          "protein_id": "ENSP00000586904.1",
          "transcript_support_level": null,
          "aa_start": 438,
          "aa_end": null,
          "aa_length": 486,
          "cds_start": 1312,
          "cds_end": null,
          "cds_length": 1461,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000916845.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1306_1309delAAAG",
          "hgvs_p": "p.Lys436fs",
          "transcript": "ENST00000916846.1",
          "protein_id": "ENSP00000586905.1",
          "transcript_support_level": null,
          "aa_start": 436,
          "aa_end": null,
          "aa_length": 484,
          "cds_start": 1306,
          "cds_end": null,
          "cds_length": 1455,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000916846.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1306_1309delAAAG",
          "hgvs_p": "p.Lys436fs",
          "transcript": "ENST00000916849.1",
          "protein_id": "ENSP00000586908.1",
          "transcript_support_level": null,
          "aa_start": 436,
          "aa_end": null,
          "aa_length": 484,
          "cds_start": 1306,
          "cds_end": null,
          "cds_length": 1455,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000916849.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1300_1303delAAAG",
          "hgvs_p": "p.Lys434fs",
          "transcript": "ENST00000869751.1",
          "protein_id": "ENSP00000539810.1",
          "transcript_support_level": null,
          "aa_start": 434,
          "aa_end": null,
          "aa_length": 482,
          "cds_start": 1300,
          "cds_end": null,
          "cds_length": 1449,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000869751.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1300_1303delAAAG",
          "hgvs_p": "p.Lys434fs",
          "transcript": "ENST00000869752.1",
          "protein_id": "ENSP00000539811.1",
          "transcript_support_level": null,
          "aa_start": 434,
          "aa_end": null,
          "aa_length": 482,
          "cds_start": 1300,
          "cds_end": null,
          "cds_length": 1449,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000869752.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1258_1261delAAAG",
          "hgvs_p": "p.Lys420fs",
          "transcript": "ENST00000916851.1",
          "protein_id": "ENSP00000586910.1",
          "transcript_support_level": null,
          "aa_start": 420,
          "aa_end": null,
          "aa_length": 468,
          "cds_start": 1258,
          "cds_end": null,
          "cds_length": 1407,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000916851.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1228_1231delAAAG",
          "hgvs_p": "p.Lys410fs",
          "transcript": "ENST00000368632.6",
          "protein_id": "ENSP00000357621.2",
          "transcript_support_level": 2,
          "aa_start": 410,
          "aa_end": null,
          "aa_length": 458,
          "cds_start": 1228,
          "cds_end": null,
          "cds_length": 1377,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000368632.6"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1228_1231delAAAG",
          "hgvs_p": "p.Lys410fs",
          "transcript": "ENST00000519108.5",
          "protein_id": "ENSP00000430008.1",
          "transcript_support_level": 2,
          "aa_start": 410,
          "aa_end": null,
          "aa_length": 458,
          "cds_start": 1228,
          "cds_end": null,
          "cds_length": 1377,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000519108.5"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1225_1228delAAAG",
          "hgvs_p": "p.Lys409fs",
          "transcript": "ENST00000916848.1",
          "protein_id": "ENSP00000586907.1",
          "transcript_support_level": null,
          "aa_start": 409,
          "aa_end": null,
          "aa_length": 457,
          "cds_start": 1225,
          "cds_end": null,
          "cds_length": 1374,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000916848.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.844_847delAAAG",
          "hgvs_p": "p.Lys282fs",
          "transcript": "ENST00000952494.1",
          "protein_id": "ENSP00000622553.1",
          "transcript_support_level": null,
          "aa_start": 282,
          "aa_end": null,
          "aa_length": 330,
          "cds_start": 844,
          "cds_end": null,
          "cds_length": 993,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000952494.1"
        },
        {
          "aa_ref": "KG",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "c.1228_1231delAAAG",
          "hgvs_p": "p.Lys410fs",
          "transcript": "XM_047418692.1",
          "protein_id": "XP_047274648.1",
          "transcript_support_level": null,
          "aa_start": 410,
          "aa_end": null,
          "aa_length": 458,
          "cds_start": 1228,
          "cds_end": null,
          "cds_length": 1377,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047418692.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "n.4321_4324delAAAG",
          "hgvs_p": null,
          "transcript": "ENST00000523334.1",
          "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": "ENST00000523334.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "n.1586_1589delAAAG",
          "hgvs_p": null,
          "transcript": "NR_033441.2",
          "protein_id": null,
          "transcript_support_level": null,
          "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": "NR_033441.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HDAC2",
          "gene_hgnc_id": 4853,
          "hgvs_c": "n.1516_1519delAAAG",
          "hgvs_p": null,
          "transcript": "NR_073443.2",
          "protein_id": null,
          "transcript_support_level": null,
          "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": "NR_073443.2"
        }
      ],
      "gene_symbol": "HDAC2",
      "gene_hgnc_id": 4853,
      "dbsnp": null,
      "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": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "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": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 7.433,
      "phylop100way_prediction": "Uncertain_significance",
      "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": "Uncertain_significance",
      "acmg_criteria": "PM2",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PM2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_001527.4",
          "gene_symbol": "HDAC2",
          "hgnc_id": 4853,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1318_1321delAAAG",
          "hgvs_p": "p.Lys440fs"
        }
      ],
      "clinvar_disease": "HDAC2-related disorder",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "HDAC2-related disorder",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}
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.