← 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: 2-100892437-A-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 100892437,
      "ref": "A",
      "alt": "T",
      "effect": "intron_variant",
      "transcript": "ENST00000335681.10",
      "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": 21,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "NM_002518.4",
          "protein_id": "NP_002509.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 824,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2475,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4020,
          "mane_select": "ENST00000335681.10",
          "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": 21,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "ENST00000335681.10",
          "protein_id": "ENSP00000338283.5",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 824,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2475,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4020,
          "mane_select": "NM_002518.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "5_prime_UTR_premature_start_codon_gain_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-9146A>T",
          "hgvs_p": null,
          "transcript": "XM_047444504.1",
          "protein_id": "XP_047300460.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 838,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2517,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 26214,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-9146A>T",
          "hgvs_p": null,
          "transcript": "XM_047444504.1",
          "protein_id": "XP_047300460.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 838,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2517,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 26214,
          "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": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.174-12296A>T",
          "hgvs_p": null,
          "transcript": "ENST00000427413.5",
          "protein_id": "ENSP00000397595.2",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 206,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 623,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 625,
          "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": 21,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.69-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_047444503.1",
          "protein_id": "XP_047300459.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 854,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2565,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4900,
          "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": 21,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_005263953.3",
          "protein_id": "XP_005264010.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 824,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2475,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3789,
          "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": 21,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_047444506.1",
          "protein_id": "XP_047300462.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 824,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2475,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3925,
          "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": 20,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_011511242.3",
          "protein_id": "XP_011509544.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 794,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2385,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3930,
          "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": 20,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_047444502.1",
          "protein_id": "XP_047300458.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 794,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2385,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3699,
          "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": 21,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_017004214.2",
          "protein_id": "XP_016859703.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 778,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2337,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3651,
          "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": 21,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_005263959.3",
          "protein_id": "XP_005264016.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 770,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2313,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2619,
          "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": 21,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_047444510.1",
          "protein_id": "XP_047300466.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 770,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2313,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2850,
          "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": 20,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_047444511.1",
          "protein_id": "XP_047300467.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 740,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2223,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2760,
          "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": 21,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_017004216.2",
          "protein_id": "XP_016859705.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 724,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2175,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2481,
          "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": 21,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_047444513.1",
          "protein_id": "XP_047300469.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 724,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2175,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2712,
          "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": 18,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_005263960.3",
          "protein_id": "XP_005264017.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 721,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2166,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3480,
          "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": 18,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_047444515.1",
          "protein_id": "XP_047300471.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 721,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2166,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3711,
          "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": 18,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_017004217.2",
          "protein_id": "XP_016859706.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 667,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2004,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2310,
          "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": 17,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "c.-22-12296A>T",
          "hgvs_p": null,
          "transcript": "XM_011511243.3",
          "protein_id": "XP_011509545.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 572,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1719,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5027,
          "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": 22,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NPAS2",
          "gene_hgnc_id": 7895,
          "hgvs_c": "n.46-12296A>T",
          "hgvs_p": null,
          "transcript": "XR_007075420.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": 3946,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "NPAS2",
      "gene_hgnc_id": 7895,
      "dbsnp": "rs12712083",
      "frequency_reference_population": 0.000013169158,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 2,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": 0.0000131692,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": 2,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8700000047683716,
      "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.87,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.988,
      "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": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000335681.10",
          "gene_symbol": "NPAS2",
          "hgnc_id": 7895,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.-22-12296A>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
}