← 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: 15-48134897-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "15",
      "pos": 48134897,
      "ref": "C",
      "alt": "G",
      "effect": "stop_gained",
      "transcript": "NM_205850.3",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC24A5",
          "gene_hgnc_id": 20611,
          "hgvs_c": "c.503C>G",
          "hgvs_p": "p.Ser168*",
          "transcript": "NM_205850.3",
          "protein_id": "NP_995322.1",
          "transcript_support_level": null,
          "aa_start": 168,
          "aa_end": null,
          "aa_length": 500,
          "cds_start": 503,
          "cds_end": null,
          "cds_length": 1503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000341459.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_205850.3"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC24A5",
          "gene_hgnc_id": 20611,
          "hgvs_c": "c.503C>G",
          "hgvs_p": "p.Ser168*",
          "transcript": "ENST00000341459.8",
          "protein_id": "ENSP00000341550.3",
          "transcript_support_level": 1,
          "aa_start": 168,
          "aa_end": null,
          "aa_length": 500,
          "cds_start": 503,
          "cds_end": null,
          "cds_length": 1503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_205850.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000341459.8"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC24A5",
          "gene_hgnc_id": 20611,
          "hgvs_c": "c.323C>G",
          "hgvs_p": "p.Ser108*",
          "transcript": "ENST00000449382.2",
          "protein_id": "ENSP00000389966.2",
          "transcript_support_level": 1,
          "aa_start": 108,
          "aa_end": null,
          "aa_length": 440,
          "cds_start": 323,
          "cds_end": null,
          "cds_length": 1323,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000449382.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8011G>C",
          "hgvs_p": null,
          "transcript": "NM_016132.5",
          "protein_id": "NP_057216.3",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 600,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1803,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000324324.12",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_016132.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8011G>C",
          "hgvs_p": null,
          "transcript": "ENST00000324324.12",
          "protein_id": "ENSP00000316950.7",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 600,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1803,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_016132.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000324324.12"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC24A5",
          "gene_hgnc_id": 20611,
          "hgvs_c": "c.596C>G",
          "hgvs_p": "p.Ser199*",
          "transcript": "XM_047432394.1",
          "protein_id": "XP_047288350.1",
          "transcript_support_level": null,
          "aa_start": 199,
          "aa_end": null,
          "aa_length": 531,
          "cds_start": 596,
          "cds_end": null,
          "cds_length": 1596,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047432394.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC24A5",
          "gene_hgnc_id": 20611,
          "hgvs_c": "c.164C>G",
          "hgvs_p": "p.Ser55*",
          "transcript": "XM_024449901.2",
          "protein_id": "XP_024305669.2",
          "transcript_support_level": null,
          "aa_start": 55,
          "aa_end": null,
          "aa_length": 387,
          "cds_start": 164,
          "cds_end": null,
          "cds_length": 1164,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_024449901.2"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC24A5",
          "gene_hgnc_id": 20611,
          "hgvs_c": "c.164C>G",
          "hgvs_p": "p.Ser55*",
          "transcript": "XM_047432395.1",
          "protein_id": "XP_047288351.1",
          "transcript_support_level": null,
          "aa_start": 55,
          "aa_end": null,
          "aa_length": 387,
          "cds_start": 164,
          "cds_end": null,
          "cds_length": 1164,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047432395.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8011G>C",
          "hgvs_p": null,
          "transcript": "NM_001301210.2",
          "protein_id": "NP_001288139.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 576,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1731,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001301210.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8011G>C",
          "hgvs_p": null,
          "transcript": "XM_005254422.5",
          "protein_id": "XP_005254479.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 583,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1752,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005254422.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8011G>C",
          "hgvs_p": null,
          "transcript": "XM_005254424.5",
          "protein_id": "XP_005254481.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 559,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1680,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005254424.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8166G>C",
          "hgvs_p": null,
          "transcript": "XM_005254425.5",
          "protein_id": "XP_005254482.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 531,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1596,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005254425.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8166G>C",
          "hgvs_p": null,
          "transcript": "XM_017022285.2",
          "protein_id": "XP_016877774.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 514,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1545,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017022285.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8166G>C",
          "hgvs_p": null,
          "transcript": "XM_017022286.2",
          "protein_id": "XP_016877775.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 507,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1524,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017022286.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8166G>C",
          "hgvs_p": null,
          "transcript": "XM_017022287.2",
          "protein_id": "XP_016877776.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 490,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1473,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017022287.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8011G>C",
          "hgvs_p": null,
          "transcript": "XM_047432635.1",
          "protein_id": "XP_047288591.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 440,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1323,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047432635.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8011G>C",
          "hgvs_p": null,
          "transcript": "XM_011521657.3",
          "protein_id": "XP_011519959.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 436,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1311,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011521657.3"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYEF2",
          "gene_hgnc_id": 17940,
          "hgvs_c": "c.*8011G>C",
          "hgvs_p": null,
          "transcript": "XM_047432636.1",
          "protein_id": "XP_047288592.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 419,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1260,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047432636.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC24A5",
          "gene_hgnc_id": 20611,
          "hgvs_c": "n.263C>G",
          "hgvs_p": null,
          "transcript": "ENST00000463289.1",
          "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": "ENST00000463289.1"
        }
      ],
      "gene_symbol": "SLC24A5",
      "gene_hgnc_id": 20611,
      "dbsnp": "rs977118193",
      "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.6499999761581421,
      "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.65,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.026,
      "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": 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": "NM_205850.3",
          "gene_symbol": "SLC24A5",
          "hgnc_id": 20611,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.503C>G",
          "hgvs_p": "p.Ser168*"
        },
        {
          "score": 7,
          "benign_score": 0,
          "pathogenic_score": 7,
          "criteria": [
            "PM2",
            "PP3_Strong",
            "PP5"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_016132.5",
          "gene_symbol": "MYEF2",
          "hgnc_id": 17940,
          "effects": [
            "3_prime_UTR_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.*8011G>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": " 4, variation in,Skin/hair/eye pigmentation",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Skin/hair/eye pigmentation, variation in, 4",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}