← 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-50186832-T-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 50186832,
      "ref": "T",
      "alt": "A",
      "effect": "stop_gained",
      "transcript": "NM_000088.4",
      "consequences": [
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 48,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3622A>T",
          "hgvs_p": "p.Lys1208*",
          "transcript": "NM_000088.4",
          "protein_id": "NP_000079.2",
          "transcript_support_level": null,
          "aa_start": 1208,
          "aa_end": null,
          "aa_length": 1464,
          "cds_start": 3622,
          "cds_end": null,
          "cds_length": 4395,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000225964.10",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000088.4"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 48,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3622A>T",
          "hgvs_p": "p.Lys1208*",
          "transcript": "ENST00000225964.10",
          "protein_id": "ENSP00000225964.6",
          "transcript_support_level": 1,
          "aa_start": 1208,
          "aa_end": null,
          "aa_length": 1464,
          "cds_start": 3622,
          "cds_end": null,
          "cds_length": 4395,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000088.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000225964.10"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 48,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3619A>T",
          "hgvs_p": "p.Lys1207*",
          "transcript": "ENST00000861334.1",
          "protein_id": "ENSP00000531393.1",
          "transcript_support_level": null,
          "aa_start": 1207,
          "aa_end": null,
          "aa_length": 1463,
          "cds_start": 3619,
          "cds_end": null,
          "cds_length": 4392,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861334.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 48,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3622A>T",
          "hgvs_p": "p.Lys1208*",
          "transcript": "ENST00000861339.1",
          "protein_id": "ENSP00000531398.1",
          "transcript_support_level": null,
          "aa_start": 1208,
          "aa_end": null,
          "aa_length": 1463,
          "cds_start": 3622,
          "cds_end": null,
          "cds_length": 4392,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861339.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 48,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3607A>T",
          "hgvs_p": "p.Lys1203*",
          "transcript": "ENST00000861340.1",
          "protein_id": "ENSP00000531399.1",
          "transcript_support_level": null,
          "aa_start": 1203,
          "aa_end": null,
          "aa_length": 1459,
          "cds_start": 3607,
          "cds_end": null,
          "cds_length": 4380,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861340.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3586A>T",
          "hgvs_p": "p.Lys1196*",
          "transcript": "ENST00000861338.1",
          "protein_id": "ENSP00000531397.1",
          "transcript_support_level": null,
          "aa_start": 1196,
          "aa_end": null,
          "aa_length": 1452,
          "cds_start": 3586,
          "cds_end": null,
          "cds_length": 4359,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861338.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3568A>T",
          "hgvs_p": "p.Lys1190*",
          "transcript": "ENST00000861336.1",
          "protein_id": "ENSP00000531395.1",
          "transcript_support_level": null,
          "aa_start": 1190,
          "aa_end": null,
          "aa_length": 1446,
          "cds_start": 3568,
          "cds_end": null,
          "cds_length": 4341,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861336.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3568A>T",
          "hgvs_p": "p.Lys1190*",
          "transcript": "ENST00000861342.1",
          "protein_id": "ENSP00000531401.1",
          "transcript_support_level": null,
          "aa_start": 1190,
          "aa_end": null,
          "aa_length": 1446,
          "cds_start": 3568,
          "cds_end": null,
          "cds_length": 4341,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861342.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3523A>T",
          "hgvs_p": "p.Lys1175*",
          "transcript": "ENST00000919350.1",
          "protein_id": "ENSP00000589409.1",
          "transcript_support_level": null,
          "aa_start": 1175,
          "aa_end": null,
          "aa_length": 1431,
          "cds_start": 3523,
          "cds_end": null,
          "cds_length": 4296,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000919350.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3514A>T",
          "hgvs_p": "p.Lys1172*",
          "transcript": "ENST00000861343.1",
          "protein_id": "ENSP00000531402.1",
          "transcript_support_level": null,
          "aa_start": 1172,
          "aa_end": null,
          "aa_length": 1428,
          "cds_start": 3514,
          "cds_end": null,
          "cds_length": 4287,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861343.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 48,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3496A>T",
          "hgvs_p": "p.Lys1166*",
          "transcript": "ENST00000861337.1",
          "protein_id": "ENSP00000531396.1",
          "transcript_support_level": null,
          "aa_start": 1166,
          "aa_end": null,
          "aa_length": 1422,
          "cds_start": 3496,
          "cds_end": null,
          "cds_length": 4269,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861337.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 47,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3487A>T",
          "hgvs_p": "p.Lys1163*",
          "transcript": "ENST00000861344.1",
          "protein_id": "ENSP00000531403.1",
          "transcript_support_level": null,
          "aa_start": 1163,
          "aa_end": null,
          "aa_length": 1419,
          "cds_start": 3487,
          "cds_end": null,
          "cds_length": 4260,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861344.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 37,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.2839A>T",
          "hgvs_p": "p.Lys947*",
          "transcript": "ENST00000861341.1",
          "protein_id": "ENSP00000531400.1",
          "transcript_support_level": null,
          "aa_start": 947,
          "aa_end": null,
          "aa_length": 1203,
          "cds_start": 2839,
          "cds_end": null,
          "cds_length": 3612,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861341.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 32,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.2443A>T",
          "hgvs_p": "p.Lys815*",
          "transcript": "ENST00000861335.1",
          "protein_id": "ENSP00000531394.1",
          "transcript_support_level": null,
          "aa_start": 815,
          "aa_end": null,
          "aa_length": 1071,
          "cds_start": 2443,
          "cds_end": null,
          "cds_length": 3216,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861335.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 31,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.2020A>T",
          "hgvs_p": "p.Lys674*",
          "transcript": "ENST00000861333.1",
          "protein_id": "ENSP00000531392.1",
          "transcript_support_level": null,
          "aa_start": 674,
          "aa_end": null,
          "aa_length": 930,
          "cds_start": 2020,
          "cds_end": null,
          "cds_length": 2793,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000861333.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.1993A>T",
          "hgvs_p": "p.Lys665*",
          "transcript": "ENST00000963828.1",
          "protein_id": "ENSP00000633887.1",
          "transcript_support_level": null,
          "aa_start": 665,
          "aa_end": null,
          "aa_length": 921,
          "cds_start": 1993,
          "cds_end": null,
          "cds_length": 2766,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000963828.1"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 45,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3424A>T",
          "hgvs_p": "p.Lys1142*",
          "transcript": "XM_011524341.2",
          "protein_id": "XP_011522643.1",
          "transcript_support_level": null,
          "aa_start": 1142,
          "aa_end": null,
          "aa_length": 1398,
          "cds_start": 3424,
          "cds_end": null,
          "cds_length": 4197,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011524341.2"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 46,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.3352A>T",
          "hgvs_p": "p.Lys1118*",
          "transcript": "XM_005257058.5",
          "protein_id": "XP_005257115.2",
          "transcript_support_level": null,
          "aa_start": 1118,
          "aa_end": null,
          "aa_length": 1374,
          "cds_start": 3352,
          "cds_end": null,
          "cds_length": 4125,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005257058.5"
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 35,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "c.2704A>T",
          "hgvs_p": "p.Lys902*",
          "transcript": "XM_005257059.5",
          "protein_id": "XP_005257116.2",
          "transcript_support_level": null,
          "aa_start": 902,
          "aa_end": null,
          "aa_length": 1158,
          "cds_start": 2704,
          "cds_end": null,
          "cds_length": 3477,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005257059.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL1A1",
          "gene_hgnc_id": 2197,
          "hgvs_c": "n.291A>T",
          "hgvs_p": null,
          "transcript": "ENST00000510710.3",
          "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": "ENST00000510710.3"
        }
      ],
      "gene_symbol": "COL1A1",
      "gene_hgnc_id": 2197,
      "dbsnp": "rs786205504",
      "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.5400000214576721,
      "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.54,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 5.842,
      "phylop100way_prediction": "Uncertain_significance",
      "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": "NM_000088.4",
          "gene_symbol": "COL1A1",
          "hgnc_id": 2197,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.3622A>T",
          "hgvs_p": "p.Lys1208*"
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Likely pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LP:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Likely pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.