← 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: 2-218814188-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 218814188,
      "ref": "G",
      "alt": "C",
      "effect": "splice_donor_variant,intron_variant",
      "transcript": "NM_000784.4",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1184+1G>C",
          "hgvs_p": null,
          "transcript": "NM_000784.4",
          "protein_id": "NP_000775.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 531,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1596,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000258415.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000784.4"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1184+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000258415.9",
          "protein_id": "ENSP00000258415.4",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 531,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1596,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000784.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000258415.9"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1184+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901552.1",
          "protein_id": "ENSP00000571611.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901552.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1202+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901553.1",
          "protein_id": "ENSP00000571612.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 537,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1614,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901553.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1184+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901558.1",
          "protein_id": "ENSP00000571617.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 529,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1590,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901558.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1184+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901557.1",
          "protein_id": "ENSP00000571616.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 528,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1587,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901557.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1166+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901561.1",
          "protein_id": "ENSP00000571620.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 525,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1578,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901561.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1142+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901554.1",
          "protein_id": "ENSP00000571613.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 517,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1554,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901554.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1139+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901555.1",
          "protein_id": "ENSP00000571614.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 516,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1551,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901555.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1130+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901562.1",
          "protein_id": "ENSP00000571621.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 513,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1542,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901562.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1118+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901560.1",
          "protein_id": "ENSP00000571619.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 509,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1530,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901560.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1043+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901563.1",
          "protein_id": "ENSP00000571622.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 484,
          "cds_start": null,
          "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": "ENST00000901563.1"
        },
        {
          "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": 8,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1095+90G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901564.1",
          "protein_id": "ENSP00000571623.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 475,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1428,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901564.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.1010+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901559.1",
          "protein_id": "ENSP00000571618.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 473,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1422,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901559.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "c.986+1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000901556.1",
          "protein_id": "ENSP00000571615.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 465,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1398,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000901556.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "n.1619G>C",
          "hgvs_p": null,
          "transcript": "ENST00000494263.5",
          "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": "ENST00000494263.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "n.*646G>C",
          "hgvs_p": null,
          "transcript": "ENST00000445971.1",
          "protein_id": "ENSP00000404945.1",
          "transcript_support_level": 5,
          "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": "nonsense_mediated_decay",
          "feature": "ENST00000445971.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CYP27A1",
          "gene_hgnc_id": 2605,
          "hgvs_c": "n.*97G>C",
          "hgvs_p": null,
          "transcript": "ENST00000466602.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": "ENST00000466602.1"
        }
      ],
      "gene_symbol": "CYP27A1",
      "gene_hgnc_id": 2605,
      "dbsnp": "rs587778777",
      "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.4000000059604645,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.9440000057220459,
      "splice_prediction_selected": "Pathogenic",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.4,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 9.814,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.99,
      "spliceai_max_prediction": "Pathogenic",
      "dbscsnv_ada_score": 0.999983677848485,
      "dbscsnv_ada_prediction": "Pathogenic",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 12,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5_Moderate",
      "acmg_by_gene": [
        {
          "score": 12,
          "benign_score": 0,
          "pathogenic_score": 12,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5_Moderate"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_000784.4",
          "gene_symbol": "CYP27A1",
          "hgnc_id": 2605,
          "effects": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1184+1G>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Cholestanol storage disease",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "P:1",
      "phenotype_combined": "Cholestanol storage disease",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}