← 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: 3-38894706-T-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 38894706,
      "ref": "T",
      "alt": "A",
      "effect": "stop_gained",
      "transcript": "ENST00000302328.9",
      "consequences": [
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.2662A>T",
          "hgvs_p": "p.Lys888*",
          "transcript": "NM_001349253.2",
          "protein_id": "NP_001336182.1",
          "transcript_support_level": null,
          "aa_start": 888,
          "aa_end": null,
          "aa_length": 1791,
          "cds_start": 2662,
          "cds_end": null,
          "cds_length": 5376,
          "cdna_start": 3149,
          "cdna_end": null,
          "cdna_length": 6793,
          "mane_select": "ENST00000302328.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 30,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.2662A>T",
          "hgvs_p": "p.Lys888*",
          "transcript": "ENST00000302328.9",
          "protein_id": "ENSP00000307599.3",
          "transcript_support_level": 5,
          "aa_start": 888,
          "aa_end": null,
          "aa_length": 1791,
          "cds_start": 2662,
          "cds_end": null,
          "cds_length": 5376,
          "cdna_start": 3149,
          "cdna_end": null,
          "cdna_length": 6793,
          "mane_select": "NM_001349253.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.2662A>T",
          "hgvs_p": "p.Lys888*",
          "transcript": "NM_014139.3",
          "protein_id": "NP_054858.2",
          "transcript_support_level": null,
          "aa_start": 888,
          "aa_end": null,
          "aa_length": 1791,
          "cds_start": 2662,
          "cds_end": null,
          "cds_length": 5376,
          "cdna_start": 2861,
          "cdna_end": null,
          "cdna_length": 6505,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.2662A>T",
          "hgvs_p": "p.Lys888*",
          "transcript": "ENST00000668754.1",
          "protein_id": "ENSP00000499569.1",
          "transcript_support_level": null,
          "aa_start": 888,
          "aa_end": null,
          "aa_length": 1791,
          "cds_start": 2662,
          "cds_end": null,
          "cds_length": 5376,
          "cdna_start": 3646,
          "cdna_end": null,
          "cdna_length": 7285,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.2662A>T",
          "hgvs_p": "p.Lys888*",
          "transcript": "ENST00000456224.7",
          "protein_id": "ENSP00000416757.3",
          "transcript_support_level": 5,
          "aa_start": 888,
          "aa_end": null,
          "aa_length": 1753,
          "cds_start": 2662,
          "cds_end": null,
          "cds_length": 5262,
          "cdna_start": 2662,
          "cdna_end": null,
          "cdna_length": 5262,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.2482A>T",
          "hgvs_p": "p.Lys828*",
          "transcript": "ENST00000675892.1",
          "protein_id": "ENSP00000502318.1",
          "transcript_support_level": null,
          "aa_start": 828,
          "aa_end": null,
          "aa_length": 1731,
          "cds_start": 2482,
          "cds_end": null,
          "cds_length": 5196,
          "cdna_start": 2482,
          "cdna_end": null,
          "cdna_length": 5196,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.2281A>T",
          "hgvs_p": "p.Lys761*",
          "transcript": "ENST00000676176.1",
          "protein_id": "ENSP00000501891.1",
          "transcript_support_level": null,
          "aa_start": 761,
          "aa_end": null,
          "aa_length": 1664,
          "cds_start": 2281,
          "cds_end": null,
          "cds_length": 4995,
          "cdna_start": 2281,
          "cdna_end": null,
          "cdna_length": 4995,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.2662A>T",
          "hgvs_p": "p.Lys888*",
          "transcript": "ENST00000444237.2",
          "protein_id": "ENSP00000408028.2",
          "transcript_support_level": 5,
          "aa_start": 888,
          "aa_end": null,
          "aa_length": 1444,
          "cds_start": 2662,
          "cds_end": null,
          "cds_length": 4335,
          "cdna_start": 2861,
          "cdna_end": null,
          "cdna_length": 5729,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.3037A>T",
          "hgvs_p": "p.Lys1013*",
          "transcript": "XM_047447378.1",
          "protein_id": "XP_047303334.1",
          "transcript_support_level": null,
          "aa_start": 1013,
          "aa_end": null,
          "aa_length": 1916,
          "cds_start": 3037,
          "cds_end": null,
          "cds_length": 5751,
          "cdna_start": 3263,
          "cdna_end": null,
          "cdna_length": 6907,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.2662A>T",
          "hgvs_p": "p.Lys888*",
          "transcript": "XM_017005650.2",
          "protein_id": "XP_016861139.1",
          "transcript_support_level": null,
          "aa_start": 888,
          "aa_end": null,
          "aa_length": 1791,
          "cds_start": 2662,
          "cds_end": null,
          "cds_length": 5376,
          "cdna_start": 3030,
          "cdna_end": null,
          "cdna_length": 6674,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.2389A>T",
          "hgvs_p": "p.Lys797*",
          "transcript": "XM_017005651.2",
          "protein_id": "XP_016861140.1",
          "transcript_support_level": null,
          "aa_start": 797,
          "aa_end": null,
          "aa_length": 1700,
          "cds_start": 2389,
          "cds_end": null,
          "cds_length": 5103,
          "cdna_start": 2905,
          "cdna_end": null,
          "cdna_length": 6549,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.1999A>T",
          "hgvs_p": "p.Lys667*",
          "transcript": "XM_011533321.3",
          "protein_id": "XP_011531623.1",
          "transcript_support_level": null,
          "aa_start": 667,
          "aa_end": null,
          "aa_length": 1570,
          "cds_start": 1999,
          "cds_end": null,
          "cds_length": 4713,
          "cdna_start": 2086,
          "cdna_end": null,
          "cdna_length": 5730,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "K",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "c.1066A>T",
          "hgvs_p": "p.Lys356*",
          "transcript": "XM_017005653.2",
          "protein_id": "XP_016861142.1",
          "transcript_support_level": null,
          "aa_start": 356,
          "aa_end": null,
          "aa_length": 1259,
          "cds_start": 1066,
          "cds_end": null,
          "cds_length": 3780,
          "cdna_start": 1484,
          "cdna_end": null,
          "cdna_length": 5128,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "n.2662A>T",
          "hgvs_p": null,
          "transcript": "ENST00000675223.1",
          "protein_id": "ENSP00000502481.1",
          "transcript_support_level": null,
          "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": 5455,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "n.2662A>T",
          "hgvs_p": null,
          "transcript": "ENST00000675672.1",
          "protein_id": "ENSP00000502446.1",
          "transcript_support_level": null,
          "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": 5430,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "n.*2379A>T",
          "hgvs_p": null,
          "transcript": "ENST00000676045.1",
          "protein_id": "ENSP00000501685.1",
          "transcript_support_level": null,
          "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": 5420,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN11A",
          "gene_hgnc_id": 10583,
          "hgvs_c": "n.*2379A>T",
          "hgvs_p": null,
          "transcript": "ENST00000676045.1",
          "protein_id": "ENSP00000501685.1",
          "transcript_support_level": null,
          "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": 5420,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SCN11A",
      "gene_hgnc_id": 10583,
      "dbsnp": "rs763133649",
      "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.28999999165534973,
      "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.29,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 0.625,
      "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": 2,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PM2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000302328.9",
          "gene_symbol": "SCN11A",
          "hgnc_id": 10583,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.2662A>T",
          "hgvs_p": "p.Lys888*"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}