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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 38752485,
      "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": 12,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.1489C>T",
          "hgvs_p": "p.Arg497Cys",
          "transcript": "NM_006514.4",
          "protein_id": "NP_006505.4",
          "transcript_support_level": null,
          "aa_start": 497,
          "aa_end": null,
          "aa_length": 1956,
          "cds_start": 1489,
          "cds_end": null,
          "cds_length": 5871,
          "cdna_start": 1702,
          "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": 12,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.1489C>T",
          "hgvs_p": "p.Arg497Cys",
          "transcript": "ENST00000449082.3",
          "protein_id": "ENSP00000390600.2",
          "transcript_support_level": 1,
          "aa_start": 497,
          "aa_end": null,
          "aa_length": 1956,
          "cds_start": 1489,
          "cds_end": null,
          "cds_length": 5871,
          "cdna_start": 1702,
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.1489C>T",
          "hgvs_p": "p.Arg497Cys",
          "transcript": "ENST00000643924.1",
          "protein_id": "ENSP00000495595.1",
          "transcript_support_level": null,
          "aa_start": 497,
          "aa_end": null,
          "aa_length": 1955,
          "cds_start": 1489,
          "cds_end": null,
          "cds_length": 5868,
          "cdna_start": 1521,
          "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": 12,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.1516C>T",
          "hgvs_p": "p.Arg506Cys",
          "transcript": "ENST00000655275.1",
          "protein_id": "ENSP00000499510.1",
          "transcript_support_level": null,
          "aa_start": 506,
          "aa_end": null,
          "aa_length": 1964,
          "cds_start": 1516,
          "cds_end": null,
          "cds_length": 5895,
          "cdna_start": 1778,
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.1489C>T",
          "hgvs_p": "p.Arg497Cys",
          "transcript": "NM_001293306.2",
          "protein_id": "NP_001280235.2",
          "transcript_support_level": null,
          "aa_start": 497,
          "aa_end": null,
          "aa_length": 1955,
          "cds_start": 1489,
          "cds_end": null,
          "cds_length": 5868,
          "cdna_start": 1489,
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.1498C>T",
          "hgvs_p": "p.Arg500Cys",
          "transcript": "XM_005265371.4",
          "protein_id": "XP_005265428.1",
          "transcript_support_level": null,
          "aa_start": 500,
          "aa_end": null,
          "aa_length": 1959,
          "cds_start": 1498,
          "cds_end": null,
          "cds_length": 5880,
          "cdna_start": 1498,
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.1498C>T",
          "hgvs_p": "p.Arg500Cys",
          "transcript": "XM_011533993.3",
          "protein_id": "XP_011532295.1",
          "transcript_support_level": null,
          "aa_start": 500,
          "aa_end": null,
          "aa_length": 1958,
          "cds_start": 1498,
          "cds_end": null,
          "cds_length": 5877,
          "cdna_start": 1498,
          "cdna_end": null,
          "cdna_length": 6419,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.1462-2301C>T",
          "hgvs_p": null,
          "transcript": "NM_001293307.2",
          "protein_id": "NP_001280236.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1858,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5577,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5580,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "SCN10A",
          "gene_hgnc_id": 10582,
          "hgvs_c": "c.1471-2301C>T",
          "hgvs_p": null,
          "transcript": "XM_011533994.3",
          "protein_id": "XP_011532296.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1861,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 5586,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6128,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SCN10A",
      "gene_hgnc_id": 10582,
      "dbsnp": "rs370009920",
      "frequency_reference_population": 0.00012181942,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 195,
      "gnomad_exomes_af": 0.000129787,
      "gnomad_genomes_af": 0.0000459927,
      "gnomad_exomes_ac": 188,
      "gnomad_genomes_ac": 7,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.7939739227294922,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.11999999731779099,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.581,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.1468,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.15,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 4.081,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.12,
      "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": -4,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PP3,BP6,BS2",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 5,
          "pathogenic_score": 1,
          "criteria": [
            "PP3",
            "BP6",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000449082.3",
          "gene_symbol": "SCN10A",
          "hgnc_id": 10582,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,Unknown",
          "hgvs_c": "c.1489C>T",
          "hgvs_p": "p.Arg497Cys"
        }
      ],
      "clinvar_disease": " 2, familial,Brugada syndrome,Cardiovascular phenotype,Episodic pain syndrome",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:2 LB:1",
      "phenotype_combined": "Brugada syndrome|Cardiovascular phenotype|Episodic pain syndrome, familial, 2",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}