← 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-27094472-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 27094472,
      "ref": "A",
      "alt": "G",
      "effect": "intron_variant",
      "transcript": "ENST00000260598.10",
      "consequences": [
        {
          "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": 8,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-328A>G",
          "hgvs_p": null,
          "transcript": "NM_006488.3",
          "protein_id": "NP_006479.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 298,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 897,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2397,
          "mane_select": "ENST00000260598.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-328A>G",
          "hgvs_p": null,
          "transcript": "ENST00000260598.10",
          "protein_id": "ENSP00000260598.5",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 298,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 897,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2397,
          "mane_select": "NM_006488.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-5A>G",
          "hgvs_p": null,
          "transcript": "ENST00000260599.11",
          "protein_id": "ENSP00000260599.6",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 298,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 897,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2397,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "n.275A>G",
          "hgvs_p": null,
          "transcript": "ENST00000469936.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": 553,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-5A>G",
          "hgvs_p": null,
          "transcript": "ENST00000429697.2",
          "protein_id": "ENSP00000404741.2",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 343,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1032,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1717,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-5A>G",
          "hgvs_p": null,
          "transcript": "NM_000221.3",
          "protein_id": "NP_000212.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 298,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 897,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2397,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "n.558-5A>G",
          "hgvs_p": null,
          "transcript": "ENST00000490823.5",
          "protein_id": null,
          "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": 1396,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-2A>G",
          "hgvs_p": null,
          "transcript": "XM_006712008.5",
          "protein_id": "XP_006712071.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 371,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1116,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1619,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-5A>G",
          "hgvs_p": null,
          "transcript": "XM_006712009.5",
          "protein_id": "XP_006712072.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 370,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1113,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1616,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-2A>G",
          "hgvs_p": null,
          "transcript": "XM_005264294.5",
          "protein_id": "XP_005264351.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 344,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1035,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2535,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-5A>G",
          "hgvs_p": null,
          "transcript": "XM_017004060.3",
          "protein_id": "XP_016859549.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 343,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1032,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2532,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-2A>G",
          "hgvs_p": null,
          "transcript": "XM_006712010.5",
          "protein_id": "XP_006712073.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 326,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 981,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1484,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-328A>G",
          "hgvs_p": null,
          "transcript": "XM_006712011.5",
          "protein_id": "XP_006712074.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 325,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 978,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1481,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-5A>G",
          "hgvs_p": null,
          "transcript": "XM_006712012.5",
          "protein_id": "XP_006712075.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 325,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 978,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1481,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.210-2A>G",
          "hgvs_p": null,
          "transcript": "XM_005264296.5",
          "protein_id": "XP_005264353.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 299,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 900,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2400,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 4,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.209+2024A>G",
          "hgvs_p": null,
          "transcript": "XM_006712013.5",
          "protein_id": "XP_006712076.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 280,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 843,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1346,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 7,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.209+2024A>G",
          "hgvs_p": null,
          "transcript": "XM_017004061.3",
          "protein_id": "XP_016859550.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 253,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 762,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2262,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.93-2257A>G",
          "hgvs_p": null,
          "transcript": "XM_006712014.5",
          "protein_id": "XP_006712077.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 241,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 726,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1229,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "c.93-2257A>G",
          "hgvs_p": null,
          "transcript": "XM_005264298.5",
          "protein_id": "XP_005264355.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 214,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 645,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2145,
          "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": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "KHK",
          "gene_hgnc_id": 6315,
          "hgvs_c": "n.-193A>G",
          "hgvs_p": null,
          "transcript": "ENST00000464371.1",
          "protein_id": null,
          "transcript_support_level": 1,
          "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": 1042,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "KHK",
      "gene_hgnc_id": 6315,
      "dbsnp": "rs74537742",
      "frequency_reference_population": 0.01049855,
      "hom_count_reference_population": 1521,
      "allele_count_reference_population": 16935,
      "gnomad_exomes_af": 0.0056283,
      "gnomad_genomes_af": 0.0572894,
      "gnomad_exomes_ac": 8223,
      "gnomad_genomes_ac": 8712,
      "gnomad_exomes_homalt": 688,
      "gnomad_genomes_homalt": 833,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.49000000953674316,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.001299365540035069,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "dbscSNV1_ADA",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.49,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 2.355,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": 0.0012993654869247,
      "dbscsnv_ada_prediction": "Benign",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000260598.10",
          "gene_symbol": "KHK",
          "hgnc_id": 6315,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.210-328A>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Essential fructosuria,not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:2",
      "phenotype_combined": "Essential fructosuria|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}