← 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-3729611-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 3729611,
      "ref": "G",
      "alt": "C",
      "effect": "synonymous_variant",
      "transcript": "ENST00000262367.10",
      "consequences": [
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.5436C>G",
          "hgvs_p": "p.Thr1812Thr",
          "transcript": "NM_004380.3",
          "protein_id": "NP_004371.2",
          "transcript_support_level": null,
          "aa_start": 1812,
          "aa_end": null,
          "aa_length": 2442,
          "cds_start": 5436,
          "cds_end": null,
          "cds_length": 7329,
          "cdna_start": 6233,
          "cdna_end": null,
          "cdna_length": 10790,
          "mane_select": "ENST00000262367.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.5436C>G",
          "hgvs_p": "p.Thr1812Thr",
          "transcript": "ENST00000262367.10",
          "protein_id": "ENSP00000262367.5",
          "transcript_support_level": 1,
          "aa_start": 1812,
          "aa_end": null,
          "aa_length": 2442,
          "cds_start": 5436,
          "cds_end": null,
          "cds_length": 7329,
          "cdna_start": 6233,
          "cdna_end": null,
          "cdna_length": 10790,
          "mane_select": "NM_004380.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.5322C>G",
          "hgvs_p": "p.Thr1774Thr",
          "transcript": "ENST00000382070.7",
          "protein_id": "ENSP00000371502.3",
          "transcript_support_level": 1,
          "aa_start": 1774,
          "aa_end": null,
          "aa_length": 2404,
          "cds_start": 5322,
          "cds_end": null,
          "cds_length": 7215,
          "cdna_start": 5526,
          "cdna_end": null,
          "cdna_length": 7598,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.5322C>G",
          "hgvs_p": "p.Thr1774Thr",
          "transcript": "NM_001079846.1",
          "protein_id": "NP_001073315.1",
          "transcript_support_level": null,
          "aa_start": 1774,
          "aa_end": null,
          "aa_length": 2404,
          "cds_start": 5322,
          "cds_end": null,
          "cds_length": 7215,
          "cdna_start": 5526,
          "cdna_end": null,
          "cdna_length": 10083,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.5430C>G",
          "hgvs_p": "p.Thr1810Thr",
          "transcript": "XM_017022944.2",
          "protein_id": "XP_016878433.1",
          "transcript_support_level": null,
          "aa_start": 1810,
          "aa_end": null,
          "aa_length": 2440,
          "cds_start": 5430,
          "cds_end": null,
          "cds_length": 7323,
          "cdna_start": 6227,
          "cdna_end": null,
          "cdna_length": 10784,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.5391C>G",
          "hgvs_p": "p.Thr1797Thr",
          "transcript": "XM_005255124.5",
          "protein_id": "XP_005255181.1",
          "transcript_support_level": null,
          "aa_start": 1797,
          "aa_end": null,
          "aa_length": 2427,
          "cds_start": 5391,
          "cds_end": null,
          "cds_length": 7284,
          "cdna_start": 6188,
          "cdna_end": null,
          "cdna_length": 10745,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.5385C>G",
          "hgvs_p": "p.Thr1795Thr",
          "transcript": "XM_047433624.1",
          "protein_id": "XP_047289580.1",
          "transcript_support_level": null,
          "aa_start": 1795,
          "aa_end": null,
          "aa_length": 2425,
          "cds_start": 5385,
          "cds_end": null,
          "cds_length": 7278,
          "cdna_start": 6182,
          "cdna_end": null,
          "cdna_length": 10739,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.5277C>G",
          "hgvs_p": "p.Thr1759Thr",
          "transcript": "XM_047433625.1",
          "protein_id": "XP_047289581.1",
          "transcript_support_level": null,
          "aa_start": 1759,
          "aa_end": null,
          "aa_length": 2389,
          "cds_start": 5277,
          "cds_end": null,
          "cds_length": 7170,
          "cdna_start": 6074,
          "cdna_end": null,
          "cdna_length": 10631,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.5175C>G",
          "hgvs_p": "p.Thr1725Thr",
          "transcript": "XM_006720848.4",
          "protein_id": "XP_006720911.1",
          "transcript_support_level": null,
          "aa_start": 1725,
          "aa_end": null,
          "aa_length": 2355,
          "cds_start": 5175,
          "cds_end": null,
          "cds_length": 7068,
          "cdna_start": 5972,
          "cdna_end": null,
          "cdna_length": 10529,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.5019C>G",
          "hgvs_p": "p.Thr1673Thr",
          "transcript": "XM_005255125.5",
          "protein_id": "XP_005255182.1",
          "transcript_support_level": null,
          "aa_start": 1673,
          "aa_end": null,
          "aa_length": 2303,
          "cds_start": 5019,
          "cds_end": null,
          "cds_length": 6912,
          "cdna_start": 5816,
          "cdna_end": null,
          "cdna_length": 10373,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_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.4683C>G",
          "hgvs_p": "p.Thr1561Thr",
          "transcript": "XM_011522381.3",
          "protein_id": "XP_011520683.1",
          "transcript_support_level": null,
          "aa_start": 1561,
          "aa_end": null,
          "aa_length": 2191,
          "cds_start": 4683,
          "cds_end": null,
          "cds_length": 6576,
          "cdna_start": 6156,
          "cdna_end": null,
          "cdna_length": 10713,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CREBBP",
      "gene_hgnc_id": 2348,
      "dbsnp": "rs61731405",
      "frequency_reference_population": 0.0029383376,
      "hom_count_reference_population": 13,
      "allele_count_reference_population": 4743,
      "gnomad_exomes_af": 0.00297296,
      "gnomad_genomes_af": 0.00260612,
      "gnomad_exomes_ac": 4346,
      "gnomad_genomes_ac": 397,
      "gnomad_exomes_homalt": 12,
      "gnomad_genomes_homalt": 1,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.5799999833106995,
      "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.58,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 4.729,
      "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": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000262367.10",
          "gene_symbol": "CREBBP",
          "hgnc_id": 2348,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.5436C>G",
          "hgvs_p": "p.Thr1812Thr"
        }
      ],
      "clinvar_disease": "CREBBP-related disorder,Inborn genetic diseases,Rubinstein-Taybi syndrome,not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:2 B:4",
      "phenotype_combined": "not specified|Rubinstein-Taybi syndrome|not provided|Inborn genetic diseases|CREBBP-related disorder",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}