← 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-26460097-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 26460097,
      "ref": "C",
      "alt": "T",
      "effect": "synonymous_variant",
      "transcript": "ENST00000272371.7",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 46,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.5922G>A",
          "hgvs_p": "p.Leu1974Leu",
          "transcript": "NM_194248.3",
          "protein_id": "NP_919224.1",
          "transcript_support_level": null,
          "aa_start": 1974,
          "aa_end": null,
          "aa_length": 1997,
          "cds_start": 5922,
          "cds_end": null,
          "cds_length": 5994,
          "cdna_start": 6107,
          "cdna_end": null,
          "cdna_length": 7214,
          "mane_select": "ENST00000272371.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 46,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.5922G>A",
          "hgvs_p": "p.Leu1974Leu",
          "transcript": "ENST00000272371.7",
          "protein_id": "ENSP00000272371.2",
          "transcript_support_level": 1,
          "aa_start": 1974,
          "aa_end": null,
          "aa_length": 1997,
          "cds_start": 5922,
          "cds_end": null,
          "cds_length": 5994,
          "cdna_start": 6107,
          "cdna_end": null,
          "cdna_length": 7214,
          "mane_select": "NM_194248.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.3681G>A",
          "hgvs_p": "p.Leu1227Leu",
          "transcript": "ENST00000402415.8",
          "protein_id": "ENSP00000383906.4",
          "transcript_support_level": 1,
          "aa_start": 1227,
          "aa_end": null,
          "aa_length": 1250,
          "cds_start": 3681,
          "cds_end": null,
          "cds_length": 3753,
          "cdna_start": 4001,
          "cdna_end": null,
          "cdna_length": 5108,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.3621G>A",
          "hgvs_p": "p.Leu1207Leu",
          "transcript": "ENST00000338581.10",
          "protein_id": "ENSP00000345137.6",
          "transcript_support_level": 1,
          "aa_start": 1207,
          "aa_end": null,
          "aa_length": 1230,
          "cds_start": 3621,
          "cds_end": null,
          "cds_length": 3693,
          "cdna_start": 3847,
          "cdna_end": null,
          "cdna_length": 4954,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": 28,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.3512+550G>A",
          "hgvs_p": null,
          "transcript": "NM_194323.3",
          "protein_id": "NP_919304.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1230,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3693,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4838,
          "mane_select": null,
          "mane_plus": "ENST00000339598.8",
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": 28,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.3512+550G>A",
          "hgvs_p": null,
          "transcript": "ENST00000339598.8",
          "protein_id": "ENSP00000344521.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1230,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3693,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4838,
          "mane_select": null,
          "mane_plus": "NM_194323.3",
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.3852G>A",
          "hgvs_p": "p.Leu1284Leu",
          "transcript": "NM_194322.3",
          "protein_id": "NP_919303.1",
          "transcript_support_level": null,
          "aa_start": 1284,
          "aa_end": null,
          "aa_length": 1307,
          "cds_start": 3852,
          "cds_end": null,
          "cds_length": 3924,
          "cdna_start": 4083,
          "cdna_end": null,
          "cdna_length": 5190,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 29,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.3621G>A",
          "hgvs_p": "p.Leu1207Leu",
          "transcript": "NM_004802.4",
          "protein_id": "NP_004793.2",
          "transcript_support_level": null,
          "aa_start": 1207,
          "aa_end": null,
          "aa_length": 1230,
          "cds_start": 3621,
          "cds_end": null,
          "cds_length": 3693,
          "cdna_start": 3929,
          "cdna_end": null,
          "cdna_length": 5036,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": 45,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.5813+550G>A",
          "hgvs_p": null,
          "transcript": "NM_001287489.2",
          "protein_id": "NP_001274418.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1997,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5994,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7016,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 46,
          "intron_rank": 45,
          "intron_rank_end": null,
          "gene_symbol": "OTOF",
          "gene_hgnc_id": 8515,
          "hgvs_c": "c.5813+550G>A",
          "hgvs_p": null,
          "transcript": "ENST00000403946.7",
          "protein_id": "ENSP00000385255.3",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1997,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5994,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6937,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "OTOF",
      "gene_hgnc_id": 8515,
      "dbsnp": "rs111033372",
      "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.4300000071525574,
      "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.43,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.495,
      "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": -3,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Moderate,BP6_Moderate,BP7",
      "acmg_by_gene": [
        {
          "score": -3,
          "benign_score": 5,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate",
            "BP6_Moderate",
            "BP7"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000272371.7",
          "gene_symbol": "OTOF",
          "hgnc_id": 8515,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.5922G>A",
          "hgvs_p": "p.Leu1974Leu"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LB:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}