← 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-38697515-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 38697515,
      "ref": "T",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000449082.3",
      "consequences": [
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.5705A>C",
          "hgvs_p": "p.Asn1902Thr",
          "transcript": "NM_006514.4",
          "protein_id": "NP_006505.4",
          "transcript_support_level": null,
          "aa_start": 1902,
          "aa_end": null,
          "aa_length": 1956,
          "cds_start": 5705,
          "cds_end": null,
          "cds_length": 5871,
          "cdna_start": 5918,
          "cdna_end": null,
          "cdna_length": 6626,
          "mane_select": "ENST00000449082.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.5705A>C",
          "hgvs_p": "p.Asn1902Thr",
          "transcript": "ENST00000449082.3",
          "protein_id": "ENSP00000390600.2",
          "transcript_support_level": 1,
          "aa_start": 1902,
          "aa_end": null,
          "aa_length": 1956,
          "cds_start": 5705,
          "cds_end": null,
          "cds_length": 5871,
          "cdna_start": 5918,
          "cdna_end": null,
          "cdna_length": 6626,
          "mane_select": "NM_006514.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.5702A>C",
          "hgvs_p": "p.Asn1901Thr",
          "transcript": "ENST00000643924.1",
          "protein_id": "ENSP00000495595.1",
          "transcript_support_level": null,
          "aa_start": 1901,
          "aa_end": null,
          "aa_length": 1955,
          "cds_start": 5702,
          "cds_end": null,
          "cds_length": 5868,
          "cdna_start": 5734,
          "cdna_end": null,
          "cdna_length": 5903,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 28,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.5729A>C",
          "hgvs_p": "p.Asn1910Thr",
          "transcript": "ENST00000655275.1",
          "protein_id": "ENSP00000499510.1",
          "transcript_support_level": null,
          "aa_start": 1910,
          "aa_end": null,
          "aa_length": 1964,
          "cds_start": 5729,
          "cds_end": null,
          "cds_length": 5895,
          "cdna_start": 5991,
          "cdna_end": null,
          "cdna_length": 6704,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.5702A>C",
          "hgvs_p": "p.Asn1901Thr",
          "transcript": "NM_001293306.2",
          "protein_id": "NP_001280235.2",
          "transcript_support_level": null,
          "aa_start": 1901,
          "aa_end": null,
          "aa_length": 1955,
          "cds_start": 5702,
          "cds_end": null,
          "cds_length": 5868,
          "cdna_start": 5702,
          "cdna_end": null,
          "cdna_length": 5871,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.5411A>C",
          "hgvs_p": "p.Asn1804Thr",
          "transcript": "NM_001293307.2",
          "protein_id": "NP_001280236.2",
          "transcript_support_level": null,
          "aa_start": 1804,
          "aa_end": null,
          "aa_length": 1858,
          "cds_start": 5411,
          "cds_end": null,
          "cds_length": 5577,
          "cdna_start": 5411,
          "cdna_end": null,
          "cdna_length": 5580,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.5714A>C",
          "hgvs_p": "p.Asn1905Thr",
          "transcript": "XM_005265371.4",
          "protein_id": "XP_005265428.1",
          "transcript_support_level": null,
          "aa_start": 1905,
          "aa_end": null,
          "aa_length": 1959,
          "cds_start": 5714,
          "cds_end": null,
          "cds_length": 5880,
          "cdna_start": 5714,
          "cdna_end": null,
          "cdna_length": 6422,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 27,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.5711A>C",
          "hgvs_p": "p.Asn1904Thr",
          "transcript": "XM_011533993.3",
          "protein_id": "XP_011532295.1",
          "transcript_support_level": null,
          "aa_start": 1904,
          "aa_end": null,
          "aa_length": 1958,
          "cds_start": 5711,
          "cds_end": null,
          "cds_length": 5877,
          "cdna_start": 5711,
          "cdna_end": null,
          "cdna_length": 6419,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.5420A>C",
          "hgvs_p": "p.Asn1807Thr",
          "transcript": "XM_011533994.3",
          "protein_id": "XP_011532296.1",
          "transcript_support_level": null,
          "aa_start": 1807,
          "aa_end": null,
          "aa_length": 1861,
          "cds_start": 5420,
          "cds_end": null,
          "cds_length": 5586,
          "cdna_start": 5420,
          "cdna_end": null,
          "cdna_length": 6128,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SCN10A",
      "gene_hgnc_id": 10582,
      "dbsnp": "rs756547221",
      "frequency_reference_population": 6.8404694e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 6.84047e-7,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 1,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.14731064438819885,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.309,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.0994,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.22,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.909,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.01,
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000449082.3",
          "gene_symbol": "SCN10A",
          "hgnc_id": 10582,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,Unknown",
          "hgvs_c": "c.5705A>C",
          "hgvs_p": "p.Asn1902Thr"
        }
      ],
      "clinvar_disease": "Brugada syndrome",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Brugada syndrome",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}