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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 38726926,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000449082.3",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.2767C>T",
          "hgvs_p": "p.Arg923Cys",
          "transcript": "NM_006514.4",
          "protein_id": "NP_006505.4",
          "transcript_support_level": null,
          "aa_start": 923,
          "aa_end": null,
          "aa_length": 1956,
          "cds_start": 2767,
          "cds_end": null,
          "cds_length": 5871,
          "cdna_start": 2980,
          "cdna_end": null,
          "cdna_length": 6626,
          "mane_select": "ENST00000449082.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.2767C>T",
          "hgvs_p": "p.Arg923Cys",
          "transcript": "ENST00000449082.3",
          "protein_id": "ENSP00000390600.2",
          "transcript_support_level": 1,
          "aa_start": 923,
          "aa_end": null,
          "aa_length": 1956,
          "cds_start": 2767,
          "cds_end": null,
          "cds_length": 5871,
          "cdna_start": 2980,
          "cdna_end": null,
          "cdna_length": 6626,
          "mane_select": "NM_006514.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.2767C>T",
          "hgvs_p": "p.Arg923Cys",
          "transcript": "ENST00000643924.1",
          "protein_id": "ENSP00000495595.1",
          "transcript_support_level": null,
          "aa_start": 923,
          "aa_end": null,
          "aa_length": 1955,
          "cds_start": 2767,
          "cds_end": null,
          "cds_length": 5868,
          "cdna_start": 2799,
          "cdna_end": null,
          "cdna_length": 5903,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.2794C>T",
          "hgvs_p": "p.Arg932Cys",
          "transcript": "ENST00000655275.1",
          "protein_id": "ENSP00000499510.1",
          "transcript_support_level": null,
          "aa_start": 932,
          "aa_end": null,
          "aa_length": 1964,
          "cds_start": 2794,
          "cds_end": null,
          "cds_length": 5895,
          "cdna_start": 3056,
          "cdna_end": null,
          "cdna_length": 6704,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.2767C>T",
          "hgvs_p": "p.Arg923Cys",
          "transcript": "NM_001293306.2",
          "protein_id": "NP_001280235.2",
          "transcript_support_level": null,
          "aa_start": 923,
          "aa_end": null,
          "aa_length": 1955,
          "cds_start": 2767,
          "cds_end": null,
          "cds_length": 5868,
          "cdna_start": 2767,
          "cdna_end": null,
          "cdna_length": 5871,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.2473C>T",
          "hgvs_p": "p.Arg825Cys",
          "transcript": "NM_001293307.2",
          "protein_id": "NP_001280236.2",
          "transcript_support_level": null,
          "aa_start": 825,
          "aa_end": null,
          "aa_length": 1858,
          "cds_start": 2473,
          "cds_end": null,
          "cds_length": 5577,
          "cdna_start": 2473,
          "cdna_end": null,
          "cdna_length": 5580,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.2776C>T",
          "hgvs_p": "p.Arg926Cys",
          "transcript": "XM_005265371.4",
          "protein_id": "XP_005265428.1",
          "transcript_support_level": null,
          "aa_start": 926,
          "aa_end": null,
          "aa_length": 1959,
          "cds_start": 2776,
          "cds_end": null,
          "cds_length": 5880,
          "cdna_start": 2776,
          "cdna_end": null,
          "cdna_length": 6422,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.2776C>T",
          "hgvs_p": "p.Arg926Cys",
          "transcript": "XM_011533993.3",
          "protein_id": "XP_011532295.1",
          "transcript_support_level": null,
          "aa_start": 926,
          "aa_end": null,
          "aa_length": 1958,
          "cds_start": 2776,
          "cds_end": null,
          "cds_length": 5877,
          "cdna_start": 2776,
          "cdna_end": null,
          "cdna_length": 6419,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.2482C>T",
          "hgvs_p": "p.Arg828Cys",
          "transcript": "XM_011533994.3",
          "protein_id": "XP_011532296.1",
          "transcript_support_level": null,
          "aa_start": 828,
          "aa_end": null,
          "aa_length": 1861,
          "cds_start": 2482,
          "cds_end": null,
          "cds_length": 5586,
          "cdna_start": 2482,
          "cdna_end": null,
          "cdna_length": 6128,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SCN10A",
      "gene_hgnc_id": 10582,
      "dbsnp": "rs267599803",
      "frequency_reference_population": 0.0000049561936,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 8,
      "gnomad_exomes_af": 0.00000410427,
      "gnomad_genomes_af": 0.0000131363,
      "gnomad_exomes_ac": 6,
      "gnomad_genomes_ac": 2,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.15789863467216492,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.019999999552965164,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.278,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0925,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.33,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.032,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.02,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -6,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Moderate,BS2",
      "acmg_by_gene": [
        {
          "score": -6,
          "benign_score": 6,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000449082.3",
          "gene_symbol": "SCN10A",
          "hgnc_id": 10582,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,Unknown",
          "hgvs_c": "c.2767C>T",
          "hgvs_p": "p.Arg923Cys"
        }
      ],
      "clinvar_disease": "Brugada syndrome,Cardiovascular phenotype,not provided",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:3",
      "phenotype_combined": "Brugada syndrome|not provided|Cardiovascular phenotype",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}