← 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: 22-17542424-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "22",
      "pos": 17542424,
      "ref": "C",
      "alt": "T",
      "effect": "stop_gained",
      "transcript": "NM_001290047.2",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2281C>T",
          "hgvs_p": "p.Arg761*",
          "transcript": "NM_001290047.2",
          "protein_id": "NP_001276976.1",
          "transcript_support_level": null,
          "aa_start": 761,
          "aa_end": null,
          "aa_length": 1464,
          "cds_start": 2281,
          "cds_end": null,
          "cds_length": 4395,
          "cdna_start": 2605,
          "cdna_end": null,
          "cdna_length": 10030,
          "mane_select": "ENST00000262608.13",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2281C>T",
          "hgvs_p": "p.Arg761*",
          "transcript": "ENST00000262608.13",
          "protein_id": "ENSP00000262608.11",
          "transcript_support_level": 1,
          "aa_start": 761,
          "aa_end": null,
          "aa_length": 1464,
          "cds_start": 2281,
          "cds_end": null,
          "cds_length": 4395,
          "cdna_start": 2605,
          "cdna_end": null,
          "cdna_length": 10030,
          "mane_select": "NM_001290047.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.1792C>T",
          "hgvs_p": "p.Arg598*",
          "transcript": "ENST00000400585.7",
          "protein_id": "ENSP00000383428.2",
          "transcript_support_level": 1,
          "aa_start": 598,
          "aa_end": null,
          "aa_length": 1300,
          "cds_start": 1792,
          "cds_end": null,
          "cds_length": 3903,
          "cdna_start": 2230,
          "cdna_end": null,
          "cdna_length": 9652,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2341C>T",
          "hgvs_p": "p.Arg781*",
          "transcript": "ENST00000342247.10",
          "protein_id": "ENSP00000341219.6",
          "transcript_support_level": 5,
          "aa_start": 781,
          "aa_end": null,
          "aa_length": 1484,
          "cds_start": 2341,
          "cds_end": null,
          "cds_length": 4455,
          "cdna_start": 2665,
          "cdna_end": null,
          "cdna_length": 10090,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2215C>T",
          "hgvs_p": "p.Arg739*",
          "transcript": "ENST00000612582.1",
          "protein_id": "ENSP00000477529.1",
          "transcript_support_level": 5,
          "aa_start": 739,
          "aa_end": null,
          "aa_length": 1442,
          "cds_start": 2215,
          "cds_end": null,
          "cds_length": 4329,
          "cdna_start": 2222,
          "cdna_end": null,
          "cdna_length": 9645,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.1792C>T",
          "hgvs_p": "p.Arg598*",
          "transcript": "NM_001290046.2",
          "protein_id": "NP_001276975.1",
          "transcript_support_level": null,
          "aa_start": 598,
          "aa_end": null,
          "aa_length": 1300,
          "cds_start": 1792,
          "cds_end": null,
          "cds_length": 3903,
          "cdna_start": 2230,
          "cdna_end": null,
          "cdna_length": 9652,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2281C>T",
          "hgvs_p": "p.Arg761*",
          "transcript": "XM_017028785.2",
          "protein_id": "XP_016884274.1",
          "transcript_support_level": null,
          "aa_start": 761,
          "aa_end": null,
          "aa_length": 1463,
          "cds_start": 2281,
          "cds_end": null,
          "cds_length": 4392,
          "cdna_start": 2605,
          "cdna_end": null,
          "cdna_length": 10027,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2197C>T",
          "hgvs_p": "p.Arg733*",
          "transcript": "XM_011546128.3",
          "protein_id": "XP_011544430.1",
          "transcript_support_level": null,
          "aa_start": 733,
          "aa_end": null,
          "aa_length": 1436,
          "cds_start": 2197,
          "cds_end": null,
          "cds_length": 4311,
          "cdna_start": 2521,
          "cdna_end": null,
          "cdna_length": 9946,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2197C>T",
          "hgvs_p": "p.Arg733*",
          "transcript": "XM_011546129.3",
          "protein_id": "XP_011544431.1",
          "transcript_support_level": null,
          "aa_start": 733,
          "aa_end": null,
          "aa_length": 1436,
          "cds_start": 2197,
          "cds_end": null,
          "cds_length": 4311,
          "cdna_start": 2521,
          "cdna_end": null,
          "cdna_length": 9946,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2167C>T",
          "hgvs_p": "p.Arg723*",
          "transcript": "XM_024452234.2",
          "protein_id": "XP_024308002.1",
          "transcript_support_level": null,
          "aa_start": 723,
          "aa_end": null,
          "aa_length": 1426,
          "cds_start": 2167,
          "cds_end": null,
          "cds_length": 4281,
          "cdna_start": 8232,
          "cdna_end": null,
          "cdna_length": 15657,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2281C>T",
          "hgvs_p": "p.Arg761*",
          "transcript": "XM_011546132.3",
          "protein_id": "XP_011544434.1",
          "transcript_support_level": null,
          "aa_start": 761,
          "aa_end": null,
          "aa_length": 1409,
          "cds_start": 2281,
          "cds_end": null,
          "cds_length": 4230,
          "cdna_start": 2605,
          "cdna_end": null,
          "cdna_length": 9865,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2113C>T",
          "hgvs_p": "p.Arg705*",
          "transcript": "XM_047441341.1",
          "protein_id": "XP_047297297.1",
          "transcript_support_level": null,
          "aa_start": 705,
          "aa_end": null,
          "aa_length": 1408,
          "cds_start": 2113,
          "cds_end": null,
          "cds_length": 4227,
          "cdna_start": 2437,
          "cdna_end": null,
          "cdna_length": 9862,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2197C>T",
          "hgvs_p": "p.Arg733*",
          "transcript": "XM_047441342.1",
          "protein_id": "XP_047297298.1",
          "transcript_support_level": null,
          "aa_start": 733,
          "aa_end": null,
          "aa_length": 1381,
          "cds_start": 2197,
          "cds_end": null,
          "cds_length": 4146,
          "cdna_start": 2521,
          "cdna_end": null,
          "cdna_length": 9781,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2197C>T",
          "hgvs_p": "p.Arg733*",
          "transcript": "XM_047441343.1",
          "protein_id": "XP_047297299.1",
          "transcript_support_level": null,
          "aa_start": 733,
          "aa_end": null,
          "aa_length": 1381,
          "cds_start": 2197,
          "cds_end": null,
          "cds_length": 4146,
          "cdna_start": 2521,
          "cdna_end": null,
          "cdna_length": 9781,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.2083C>T",
          "hgvs_p": "p.Arg695*",
          "transcript": "XM_047441344.1",
          "protein_id": "XP_047297300.1",
          "transcript_support_level": null,
          "aa_start": 695,
          "aa_end": null,
          "aa_length": 1343,
          "cds_start": 2083,
          "cds_end": null,
          "cds_length": 4032,
          "cdna_start": 8147,
          "cdna_end": null,
          "cdna_length": 15407,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CECR2",
          "gene_hgnc_id": 1840,
          "hgvs_c": "c.775C>T",
          "hgvs_p": "p.Arg259*",
          "transcript": "XM_006724079.4",
          "protein_id": "XP_006724142.1",
          "transcript_support_level": null,
          "aa_start": 259,
          "aa_end": null,
          "aa_length": 962,
          "cds_start": 775,
          "cds_end": null,
          "cds_length": 2889,
          "cdna_start": 1143,
          "cdna_end": null,
          "cdna_length": 8568,
          "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": 6,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000286195",
          "gene_hgnc_id": null,
          "hgvs_c": "n.334+457G>A",
          "hgvs_p": null,
          "transcript": "ENST00000651475.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 1500,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CECR2",
      "gene_hgnc_id": 1840,
      "dbsnp": "rs2147031368",
      "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.5699999928474426,
      "computational_prediction_selected": "Pathogenic",
      "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.57,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 1.816,
      "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": 11,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5",
      "acmg_by_gene": [
        {
          "score": 11,
          "benign_score": 0,
          "pathogenic_score": 11,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_001290047.2",
          "gene_symbol": "CECR2",
          "hgnc_id": 1840,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.2281C>T",
          "hgvs_p": "p.Arg761*"
        },
        {
          "score": 7,
          "benign_score": 0,
          "pathogenic_score": 7,
          "criteria": [
            "PM2",
            "PP3_Strong",
            "PP5"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000651475.1",
          "gene_symbol": "ENSG00000286195",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.334+457G>A",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "CECR2-related neurodevelopmental disorder,See cases",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "LP:1 US:1",
      "phenotype_combined": "CECR2-related neurodevelopmental disorder|See cases",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}