← 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-75835502-G-GA (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 75835502,
      "ref": "G",
      "alt": "GA",
      "effect": "frameshift_variant",
      "transcript": "ENST00000207549.9",
      "consequences": [
        {
          "aa_ref": "F",
          "aa_alt": "F?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UNC13D",
          "gene_hgnc_id": 23147,
          "hgvs_c": "c.1754dupT",
          "hgvs_p": "p.His586fs",
          "transcript": "NM_199242.3",
          "protein_id": "NP_954712.1",
          "transcript_support_level": null,
          "aa_start": 585,
          "aa_end": null,
          "aa_length": 1090,
          "cds_start": 1754,
          "cds_end": null,
          "cds_length": 3273,
          "cdna_start": 1821,
          "cdna_end": null,
          "cdna_length": 4080,
          "mane_select": "ENST00000207549.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "F",
          "aa_alt": "F?",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UNC13D",
          "gene_hgnc_id": 23147,
          "hgvs_c": "c.1754dupT",
          "hgvs_p": "p.His586fs",
          "transcript": "ENST00000207549.9",
          "protein_id": "ENSP00000207549.3",
          "transcript_support_level": 1,
          "aa_start": 585,
          "aa_end": null,
          "aa_length": 1090,
          "cds_start": 1754,
          "cds_end": null,
          "cds_length": 3273,
          "cdna_start": 1821,
          "cdna_end": null,
          "cdna_length": 4080,
          "mane_select": "NM_199242.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "F",
          "aa_alt": "F?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UNC13D",
          "gene_hgnc_id": 23147,
          "hgvs_c": "c.1754dupT",
          "hgvs_p": "p.His586fs",
          "transcript": "ENST00000412096.6",
          "protein_id": "ENSP00000388093.1",
          "transcript_support_level": 2,
          "aa_start": 585,
          "aa_end": null,
          "aa_length": 1142,
          "cds_start": 1754,
          "cds_end": null,
          "cds_length": 3429,
          "cdna_start": 1767,
          "cdna_end": null,
          "cdna_length": 3648,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "F",
          "aa_alt": "F?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UNC13D",
          "gene_hgnc_id": 23147,
          "hgvs_c": "c.689dupT",
          "hgvs_p": "p.His231fs",
          "transcript": "ENST00000699510.1",
          "protein_id": "ENSP00000514405.1",
          "transcript_support_level": null,
          "aa_start": 230,
          "aa_end": null,
          "aa_length": 712,
          "cds_start": 689,
          "cds_end": null,
          "cds_length": 2139,
          "cdna_start": 689,
          "cdna_end": null,
          "cdna_length": 2740,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "F",
          "aa_alt": "F?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UNC13D",
          "gene_hgnc_id": 23147,
          "hgvs_c": "c.482dupT",
          "hgvs_p": "p.His162fs",
          "transcript": "ENST00000586147.1",
          "protein_id": "ENSP00000466543.1",
          "transcript_support_level": 5,
          "aa_start": 161,
          "aa_end": null,
          "aa_length": 187,
          "cds_start": 482,
          "cds_end": null,
          "cds_length": 566,
          "cdna_start": 505,
          "cdna_end": null,
          "cdna_length": 589,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UNC13D",
          "gene_hgnc_id": 23147,
          "hgvs_c": "n.2024dupT",
          "hgvs_p": null,
          "transcript": "ENST00000591563.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": 4382,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UNC13D",
          "gene_hgnc_id": 23147,
          "hgvs_c": "n.-231dupT",
          "hgvs_p": null,
          "transcript": "ENST00000591616.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "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": 659,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UNC13D",
          "gene_hgnc_id": 23147,
          "hgvs_c": "c.*150dupT",
          "hgvs_p": null,
          "transcript": "ENST00000699511.1",
          "protein_id": "ENSP00000514406.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 297,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 896,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 898,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UNC13D",
          "gene_hgnc_id": 23147,
          "hgvs_c": "n.*547dupT",
          "hgvs_p": null,
          "transcript": "ENST00000587105.1",
          "protein_id": "ENSP00000466377.1",
          "transcript_support_level": 3,
          "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": 776,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "UNC13D",
      "gene_hgnc_id": 23147,
      "dbsnp": "rs796065026",
      "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": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0.15000000596046448,
      "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": 8.162,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.15,
      "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": "ENST00000207549.9",
          "gene_symbol": "UNC13D",
          "hgnc_id": 23147,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1754dupT",
          "hgvs_p": "p.His586fs"
        }
      ],
      "clinvar_disease": "Familial hemophagocytic lymphohistiocytosis 3",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Familial hemophagocytic lymphohistiocytosis 3",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}