← 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: 9-5076691-C-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "9",
      "pos": 5076691,
      "ref": "C",
      "alt": "A",
      "effect": "intron_variant",
      "transcript": "NM_004972.4",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "c.1865-762C>A",
          "hgvs_p": null,
          "transcript": "NM_004972.4",
          "protein_id": "NP_004963.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1132,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3399,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7023,
          "mane_select": "ENST00000381652.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "c.1865-762C>A",
          "hgvs_p": null,
          "transcript": "ENST00000381652.4",
          "protein_id": "ENSP00000371067.4",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1132,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3399,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7023,
          "mane_select": "NM_004972.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "c.1865-762C>A",
          "hgvs_p": null,
          "transcript": "NM_001322194.2",
          "protein_id": "NP_001309123.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1132,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3399,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7151,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": 13,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "c.1865-762C>A",
          "hgvs_p": null,
          "transcript": "NM_001322195.2",
          "protein_id": "NP_001309124.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1132,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3399,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6669,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": 13,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "c.1865-762C>A",
          "hgvs_p": null,
          "transcript": "NM_001322196.2",
          "protein_id": "NP_001309125.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1132,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3399,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6940,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": 11,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "c.1418-762C>A",
          "hgvs_p": null,
          "transcript": "NM_001322204.2",
          "protein_id": "NP_001309133.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 983,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2952,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6582,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "c.650-762C>A",
          "hgvs_p": null,
          "transcript": "NM_001322198.2",
          "protein_id": "NP_001309127.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 727,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2184,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6928,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "c.650-762C>A",
          "hgvs_p": null,
          "transcript": "NM_001322199.2",
          "protein_id": "NP_001309128.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 727,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2184,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6870,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "c.1865-762C>A",
          "hgvs_p": null,
          "transcript": "ENST00000636127.1",
          "protein_id": "ENSP00000489812.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 709,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2131,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2615,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "n.2349-762C>A",
          "hgvs_p": null,
          "transcript": "NR_169763.1",
          "protein_id": null,
          "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": 7040,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": 13,
          "intron_rank_end": null,
          "gene_symbol": "JAK2",
          "gene_hgnc_id": 6192,
          "hgvs_c": "n.2266-762C>A",
          "hgvs_p": null,
          "transcript": "NR_169764.1",
          "protein_id": null,
          "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": 6957,
          "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": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "INSL6",
          "gene_hgnc_id": 6089,
          "hgvs_c": "c.377-84258G>T",
          "hgvs_p": null,
          "transcript": "XM_011517702.4",
          "protein_id": "XP_011516004.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 126,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 381,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 871,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "JAK2",
      "gene_hgnc_id": 6192,
      "dbsnp": "rs12340895",
      "frequency_reference_population": 0.000046066572,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 7,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": 0.0000460666,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": 7,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8999999761581421,
      "computational_prediction_selected": "Benign",
      "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.9,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.196,
      "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": -8,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BS2",
      "acmg_by_gene": [
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_004972.4",
          "gene_symbol": "JAK2",
          "hgnc_id": 6192,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.1865-762C>A",
          "hgvs_p": null
        },
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "XM_011517702.4",
          "gene_symbol": "INSL6",
          "hgnc_id": 6089,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.377-84258G>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}