← 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: 19-17226712-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 17226712,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_024578.3",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.89C>T",
          "hgvs_p": "p.Pro30Leu",
          "transcript": "NM_024578.3",
          "protein_id": "NP_078854.1",
          "transcript_support_level": null,
          "aa_start": 30,
          "aa_end": null,
          "aa_length": 264,
          "cds_start": 89,
          "cds_end": null,
          "cds_length": 795,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000215061.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_024578.3"
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.89C>T",
          "hgvs_p": "p.Pro30Leu",
          "transcript": "ENST00000215061.9",
          "protein_id": "ENSP00000215061.3",
          "transcript_support_level": 1,
          "aa_start": 30,
          "aa_end": null,
          "aa_length": 264,
          "cds_start": 89,
          "cds_end": null,
          "cds_length": 795,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_024578.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000215061.9"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "5_prime_UTR_premature_start_codon_gain_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.-80C>T",
          "hgvs_p": null,
          "transcript": "ENST00000597836.5",
          "protein_id": "ENSP00000470270.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 208,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 627,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000597836.5"
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.89C>T",
          "hgvs_p": "p.Pro30Leu",
          "transcript": "ENST00000928402.1",
          "protein_id": "ENSP00000598461.1",
          "transcript_support_level": null,
          "aa_start": 30,
          "aa_end": null,
          "aa_length": 262,
          "cds_start": 89,
          "cds_end": null,
          "cds_length": 789,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000928402.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.83C>T",
          "hgvs_p": "p.Pro28Leu",
          "transcript": "ENST00000600232.5",
          "protein_id": "ENSP00000469261.1",
          "transcript_support_level": 5,
          "aa_start": 28,
          "aa_end": null,
          "aa_length": 243,
          "cds_start": 83,
          "cds_end": null,
          "cds_length": 732,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000600232.5"
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.89C>T",
          "hgvs_p": "p.Pro30Leu",
          "transcript": "ENST00000601529.5",
          "protein_id": "ENSP00000471201.1",
          "transcript_support_level": 3,
          "aa_start": 30,
          "aa_end": null,
          "aa_length": 165,
          "cds_start": 89,
          "cds_end": null,
          "cds_length": 498,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000601529.5"
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.89C>T",
          "hgvs_p": "p.Pro30Leu",
          "transcript": "XM_006722899.5",
          "protein_id": "XP_006722962.1",
          "transcript_support_level": null,
          "aa_start": 30,
          "aa_end": null,
          "aa_length": 245,
          "cds_start": 89,
          "cds_end": null,
          "cds_length": 738,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006722899.5"
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.89C>T",
          "hgvs_p": "p.Pro30Leu",
          "transcript": "XM_047439442.1",
          "protein_id": "XP_047295398.1",
          "transcript_support_level": null,
          "aa_start": 30,
          "aa_end": null,
          "aa_length": 165,
          "cds_start": 89,
          "cds_end": null,
          "cds_length": 498,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047439442.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.126C>T",
          "hgvs_p": "p.Pro42Pro",
          "transcript": "XM_047439440.1",
          "protein_id": "XP_047295396.1",
          "transcript_support_level": null,
          "aa_start": 42,
          "aa_end": null,
          "aa_length": 174,
          "cds_start": 126,
          "cds_end": null,
          "cds_length": 525,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047439440.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.126C>T",
          "hgvs_p": "p.Pro42Pro",
          "transcript": "XM_047439441.1",
          "protein_id": "XP_047295397.1",
          "transcript_support_level": null,
          "aa_start": 42,
          "aa_end": null,
          "aa_length": 169,
          "cds_start": 126,
          "cds_end": null,
          "cds_length": 510,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047439441.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.-80C>T",
          "hgvs_p": null,
          "transcript": "ENST00000597836.5",
          "protein_id": "ENSP00000470270.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 208,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 627,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000597836.5"
        },
        {
          "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": 5,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.70-282C>T",
          "hgvs_p": null,
          "transcript": "ENST00000928403.1",
          "protein_id": "ENSP00000598462.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 205,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 618,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000928403.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": 3,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.69+396C>T",
          "hgvs_p": null,
          "transcript": "ENST00000928404.1",
          "protein_id": "ENSP00000598463.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 81,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 246,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000928404.1"
        },
        {
          "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": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "n.94C>T",
          "hgvs_p": null,
          "transcript": "ENST00000594283.5",
          "protein_id": null,
          "transcript_support_level": 3,
          "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": "ENST00000594283.5"
        },
        {
          "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": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "n.111C>T",
          "hgvs_p": null,
          "transcript": "ENST00000599588.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": "ENST00000599588.5"
        },
        {
          "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": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "n.152C>T",
          "hgvs_p": null,
          "transcript": "ENST00000601576.1",
          "protein_id": null,
          "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": "pseudogene",
          "feature": "ENST00000601576.1"
        },
        {
          "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": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "n.161C>T",
          "hgvs_p": null,
          "transcript": "ENST00000602236.5",
          "protein_id": null,
          "transcript_support_level": 3,
          "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": "pseudogene",
          "feature": "ENST00000602236.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "c.-29C>T",
          "hgvs_p": null,
          "transcript": "ENST00000598068.5",
          "protein_id": "ENSP00000471311.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 245,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 738,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000598068.5"
        },
        {
          "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": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "n.-70C>T",
          "hgvs_p": null,
          "transcript": "ENST00000596279.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": "ENST00000596279.1"
        },
        {
          "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": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "OCEL1",
          "gene_hgnc_id": 26221,
          "hgvs_c": "n.-129C>T",
          "hgvs_p": null,
          "transcript": "ENST00000598172.1",
          "protein_id": "ENSP00000470258.1",
          "transcript_support_level": 3,
          "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": "ENST00000598172.1"
        }
      ],
      "gene_symbol": "OCEL1",
      "gene_hgnc_id": 26221,
      "dbsnp": "rs761673169",
      "frequency_reference_population": 0.000009586568,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 13,
      "gnomad_exomes_af": 0.00000958657,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 13,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.2097463607788086,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.082,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1336,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.29,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 1.126,
      "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": -6,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Moderate,BS2",
      "acmg_by_gene": [
        {
          "score": -6,
          "benign_score": 6,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_024578.3",
          "gene_symbol": "OCEL1",
          "hgnc_id": 26221,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.89C>T",
          "hgvs_p": "p.Pro30Leu"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}