← 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: 16-3727885-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 3727885,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000262367.10",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 31,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.7162G>C",
          "hgvs_p": "p.Ala2388Pro",
          "transcript": "NM_004380.3",
          "protein_id": "NP_004371.2",
          "transcript_support_level": null,
          "aa_start": 2388,
          "aa_end": null,
          "aa_length": 2442,
          "cds_start": 7162,
          "cds_end": null,
          "cds_length": 7329,
          "cdna_start": 7959,
          "cdna_end": null,
          "cdna_length": 10790,
          "mane_select": "ENST00000262367.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 31,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.7162G>C",
          "hgvs_p": "p.Ala2388Pro",
          "transcript": "ENST00000262367.10",
          "protein_id": "ENSP00000262367.5",
          "transcript_support_level": 1,
          "aa_start": 2388,
          "aa_end": null,
          "aa_length": 2442,
          "cds_start": 7162,
          "cds_end": null,
          "cds_length": 7329,
          "cdna_start": 7959,
          "cdna_end": null,
          "cdna_length": 10790,
          "mane_select": "NM_004380.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.7048G>C",
          "hgvs_p": "p.Ala2350Pro",
          "transcript": "ENST00000382070.7",
          "protein_id": "ENSP00000371502.3",
          "transcript_support_level": 1,
          "aa_start": 2350,
          "aa_end": null,
          "aa_length": 2404,
          "cds_start": 7048,
          "cds_end": null,
          "cds_length": 7215,
          "cdna_start": 7252,
          "cdna_end": null,
          "cdna_length": 7598,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.7048G>C",
          "hgvs_p": "p.Ala2350Pro",
          "transcript": "NM_001079846.1",
          "protein_id": "NP_001073315.1",
          "transcript_support_level": null,
          "aa_start": 2350,
          "aa_end": null,
          "aa_length": 2404,
          "cds_start": 7048,
          "cds_end": null,
          "cds_length": 7215,
          "cdna_start": 7252,
          "cdna_end": null,
          "cdna_length": 10083,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 31,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.7156G>C",
          "hgvs_p": "p.Ala2386Pro",
          "transcript": "XM_017022944.2",
          "protein_id": "XP_016878433.1",
          "transcript_support_level": null,
          "aa_start": 2386,
          "aa_end": null,
          "aa_length": 2440,
          "cds_start": 7156,
          "cds_end": null,
          "cds_length": 7323,
          "cdna_start": 7953,
          "cdna_end": null,
          "cdna_length": 10784,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.7117G>C",
          "hgvs_p": "p.Ala2373Pro",
          "transcript": "XM_005255124.5",
          "protein_id": "XP_005255181.1",
          "transcript_support_level": null,
          "aa_start": 2373,
          "aa_end": null,
          "aa_length": 2427,
          "cds_start": 7117,
          "cds_end": null,
          "cds_length": 7284,
          "cdna_start": 7914,
          "cdna_end": null,
          "cdna_length": 10745,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.7111G>C",
          "hgvs_p": "p.Ala2371Pro",
          "transcript": "XM_047433624.1",
          "protein_id": "XP_047289580.1",
          "transcript_support_level": null,
          "aa_start": 2371,
          "aa_end": null,
          "aa_length": 2425,
          "cds_start": 7111,
          "cds_end": null,
          "cds_length": 7278,
          "cdna_start": 7908,
          "cdna_end": null,
          "cdna_length": 10739,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.7003G>C",
          "hgvs_p": "p.Ala2335Pro",
          "transcript": "XM_047433625.1",
          "protein_id": "XP_047289581.1",
          "transcript_support_level": null,
          "aa_start": 2335,
          "aa_end": null,
          "aa_length": 2389,
          "cds_start": 7003,
          "cds_end": null,
          "cds_length": 7170,
          "cdna_start": 7800,
          "cdna_end": null,
          "cdna_length": 10631,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.6901G>C",
          "hgvs_p": "p.Ala2301Pro",
          "transcript": "XM_006720848.4",
          "protein_id": "XP_006720911.1",
          "transcript_support_level": null,
          "aa_start": 2301,
          "aa_end": null,
          "aa_length": 2355,
          "cds_start": 6901,
          "cds_end": null,
          "cds_length": 7068,
          "cdna_start": 7698,
          "cdna_end": null,
          "cdna_length": 10529,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.6745G>C",
          "hgvs_p": "p.Ala2249Pro",
          "transcript": "XM_005255125.5",
          "protein_id": "XP_005255182.1",
          "transcript_support_level": null,
          "aa_start": 2249,
          "aa_end": null,
          "aa_length": 2303,
          "cds_start": 6745,
          "cds_end": null,
          "cds_length": 6912,
          "cdna_start": 7542,
          "cdna_end": null,
          "cdna_length": 10373,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CREBBP",
          "gene_hgnc_id": 2348,
          "hgvs_c": "c.6409G>C",
          "hgvs_p": "p.Ala2137Pro",
          "transcript": "XM_011522381.3",
          "protein_id": "XP_011520683.1",
          "transcript_support_level": null,
          "aa_start": 2137,
          "aa_end": null,
          "aa_length": 2191,
          "cds_start": 6409,
          "cds_end": null,
          "cds_length": 6576,
          "cdna_start": 7882,
          "cdna_end": null,
          "cdna_length": 10713,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CREBBP",
      "gene_hgnc_id": 2348,
      "dbsnp": "rs756011865",
      "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.3937714099884033,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.534,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.3175,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.16,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 6.054,
      "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": 1,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4",
      "acmg_by_gene": [
        {
          "score": 1,
          "benign_score": 1,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000262367.10",
          "gene_symbol": "CREBBP",
          "hgnc_id": 2348,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.7162G>C",
          "hgvs_p": "p.Ala2388Pro"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}