← 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: 17-44349241-G-GC (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 44349241,
      "ref": "G",
      "alt": "GC",
      "effect": "frameshift_variant",
      "transcript": "ENST00000053867.8",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "NM_002087.4",
          "protein_id": "NP_002078.1",
          "transcript_support_level": null,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 593,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 1782,
          "cdna_start": 121,
          "cdna_end": null,
          "cdna_length": 2130,
          "mane_select": "ENST00000053867.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000053867.8",
          "protein_id": "ENSP00000053867.2",
          "transcript_support_level": 1,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 593,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 1782,
          "cdna_start": 121,
          "cdna_end": null,
          "cdna_length": 2130,
          "mane_select": "NM_002087.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000589265.5",
          "protein_id": "ENSP00000467616.1",
          "transcript_support_level": 5,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 436,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 1311,
          "cdna_start": 118,
          "cdna_end": null,
          "cdna_length": 1632,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000587387.5",
          "protein_id": "ENSP00000467431.1",
          "transcript_support_level": 4,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 190,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 574,
          "cdna_start": 121,
          "cdna_end": null,
          "cdna_length": 614,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000588237.5",
          "protein_id": "ENSP00000466611.1",
          "transcript_support_level": 5,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 171,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 518,
          "cdna_start": 121,
          "cdna_end": null,
          "cdna_length": 558,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000588143.5",
          "protein_id": "ENSP00000465375.1",
          "transcript_support_level": 3,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 162,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 490,
          "cdna_start": 137,
          "cdna_end": null,
          "cdna_length": 546,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000593167.5",
          "protein_id": "ENSP00000466405.1",
          "transcript_support_level": 5,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 148,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 447,
          "cdna_start": 397,
          "cdna_end": null,
          "cdna_length": 763,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000592783.5",
          "protein_id": "ENSP00000467870.1",
          "transcript_support_level": 4,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 141,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 426,
          "cdna_start": 196,
          "cdna_end": null,
          "cdna_length": 541,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000587518.5",
          "protein_id": "ENSP00000465518.1",
          "transcript_support_level": 4,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 135,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 409,
          "cdna_start": 198,
          "cdna_end": null,
          "cdna_length": 526,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000591740.5",
          "protein_id": "ENSP00000467022.1",
          "transcript_support_level": 4,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 134,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 405,
          "cdna_start": 261,
          "cdna_end": null,
          "cdna_length": 585,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000589536.5",
          "protein_id": "ENSP00000466956.1",
          "transcript_support_level": 3,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 110,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 334,
          "cdna_start": 293,
          "cdna_end": null,
          "cdna_length": 546,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000587109.5",
          "protein_id": "ENSP00000466271.1",
          "transcript_support_level": 2,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 61,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 187,
          "cdna_start": 429,
          "cdna_end": null,
          "cdna_length": 535,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P?",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs",
          "transcript": "ENST00000585512.5",
          "protein_id": "ENSP00000467745.1",
          "transcript_support_level": 4,
          "aa_start": 27,
          "aa_end": null,
          "aa_length": 36,
          "cds_start": 81,
          "cds_end": null,
          "cds_length": 111,
          "cdna_start": 532,
          "cdna_end": null,
          "cdna_length": 562,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "n.80dupC",
          "hgvs_p": null,
          "transcript": "ENST00000586782.5",
          "protein_id": "ENSP00000468318.1",
          "transcript_support_level": 5,
          "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": 843,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "n.116dupC",
          "hgvs_p": null,
          "transcript": "ENST00000587958.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 560,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "n.176dupC",
          "hgvs_p": null,
          "transcript": "ENST00000588170.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 588,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "GRN",
          "gene_hgnc_id": 4601,
          "hgvs_c": "n.120dupC",
          "hgvs_p": null,
          "transcript": "ENST00000592323.5",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": 550,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "GRN",
      "gene_hgnc_id": 4601,
      "dbsnp": "rs1392550887",
      "frequency_reference_population": 0.0000065681443,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": 0.00000656814,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": 0,
      "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": -0.254,
      "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": 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": "ENST00000053867.8",
          "gene_symbol": "GRN",
          "hgnc_id": 4601,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.80dupC",
          "hgvs_p": "p.Val28fs"
        }
      ],
      "clinvar_disease": "GRN-related frontotemporal lobar degeneration with Tdp43 inclusions,Neuronal ceroid lipofuscinosis 11",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "P:1",
      "phenotype_combined": "GRN-related frontotemporal lobar degeneration with Tdp43 inclusions;Neuronal ceroid lipofuscinosis 11",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}