← 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: 17-41724900-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 41724900,
      "ref": "T",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_177977.3",
      "consequences": [
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1661A>C",
          "hgvs_p": "p.Asn554Thr",
          "transcript": "NM_177977.3",
          "protein_id": "NP_817084.2",
          "transcript_support_level": null,
          "aa_start": 554,
          "aa_end": null,
          "aa_length": 619,
          "cds_start": 1661,
          "cds_end": null,
          "cds_length": 1860,
          "cdna_start": 1670,
          "cdna_end": null,
          "cdna_length": 3930,
          "mane_select": "ENST00000347901.9",
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1661A>C",
          "hgvs_p": "p.Asn554Thr",
          "transcript": "ENST00000347901.9",
          "protein_id": "ENSP00000334002.4",
          "transcript_support_level": 1,
          "aa_start": 554,
          "aa_end": null,
          "aa_length": 619,
          "cds_start": 1661,
          "cds_end": null,
          "cds_length": 1860,
          "cdna_start": 1670,
          "cdna_end": null,
          "cdna_length": 3930,
          "mane_select": "NM_177977.3",
          "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": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1817A>C",
          "hgvs_p": "p.Asn606Thr",
          "transcript": "ENST00000310778.5",
          "protein_id": "ENSP00000309392.5",
          "transcript_support_level": 1,
          "aa_start": 606,
          "aa_end": null,
          "aa_length": 671,
          "cds_start": 1817,
          "cds_end": null,
          "cds_length": 2016,
          "cdna_start": 1827,
          "cdna_end": null,
          "cdna_length": 4087,
          "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": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1586A>C",
          "hgvs_p": "p.Asn529Thr",
          "transcript": "ENST00000393939.6",
          "protein_id": "ENSP00000377513.2",
          "transcript_support_level": 1,
          "aa_start": 529,
          "aa_end": null,
          "aa_length": 594,
          "cds_start": 1586,
          "cds_end": null,
          "cds_length": 1785,
          "cdna_start": 1596,
          "cdna_end": null,
          "cdna_length": 5683,
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1757A>C",
          "hgvs_p": "p.Asn586Thr",
          "transcript": "NM_001367459.1",
          "protein_id": "NP_001354388.1",
          "transcript_support_level": null,
          "aa_start": 586,
          "aa_end": null,
          "aa_length": 636,
          "cds_start": 1757,
          "cds_end": null,
          "cds_length": 1911,
          "cdna_start": 1766,
          "cdna_end": null,
          "cdna_length": 2188,
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1721A>C",
          "hgvs_p": "p.Asn574Thr",
          "transcript": "NM_001367460.1",
          "protein_id": "NP_001354389.1",
          "transcript_support_level": null,
          "aa_start": 574,
          "aa_end": null,
          "aa_length": 624,
          "cds_start": 1721,
          "cds_end": null,
          "cds_length": 1875,
          "cdna_start": 1730,
          "cdna_end": null,
          "cdna_length": 2152,
          "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": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1610A>C",
          "hgvs_p": "p.Asn537Thr",
          "transcript": "NM_001079870.1",
          "protein_id": "NP_001073339.1",
          "transcript_support_level": null,
          "aa_start": 537,
          "aa_end": null,
          "aa_length": 602,
          "cds_start": 1610,
          "cds_end": null,
          "cds_length": 1809,
          "cdna_start": 1622,
          "cdna_end": null,
          "cdna_length": 3883,
          "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": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1610A>C",
          "hgvs_p": "p.Asn537Thr",
          "transcript": "ENST00000341193.9",
          "protein_id": "ENSP00000343170.5",
          "transcript_support_level": 2,
          "aa_start": 537,
          "aa_end": null,
          "aa_length": 602,
          "cds_start": 1610,
          "cds_end": null,
          "cds_length": 1809,
          "cdna_start": 1620,
          "cdna_end": null,
          "cdna_length": 3880,
          "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": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1586A>C",
          "hgvs_p": "p.Asn529Thr",
          "transcript": "NM_001079871.1",
          "protein_id": "NP_001073340.1",
          "transcript_support_level": null,
          "aa_start": 529,
          "aa_end": null,
          "aa_length": 594,
          "cds_start": 1586,
          "cds_end": null,
          "cds_length": 1785,
          "cdna_start": 1598,
          "cdna_end": null,
          "cdna_length": 3859,
          "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": 10,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1586A>C",
          "hgvs_p": "p.Asn529Thr",
          "transcript": "NM_001367461.1",
          "protein_id": "NP_001354390.1",
          "transcript_support_level": null,
          "aa_start": 529,
          "aa_end": null,
          "aa_length": 579,
          "cds_start": 1586,
          "cds_end": null,
          "cds_length": 1740,
          "cdna_start": 1595,
          "cdna_end": null,
          "cdna_length": 2017,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.182A>C",
          "hgvs_p": "p.Asn61Thr",
          "transcript": "ENST00000458656.5",
          "protein_id": "ENSP00000404640.1",
          "transcript_support_level": 2,
          "aa_start": 61,
          "aa_end": null,
          "aa_length": 111,
          "cds_start": 182,
          "cds_end": null,
          "cds_length": 336,
          "cdna_start": 182,
          "cdna_end": null,
          "cdna_length": 601,
          "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": 10,
          "intron_rank": 9,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.1331+959A>C",
          "hgvs_p": null,
          "transcript": "NM_001367462.1",
          "protein_id": "NP_001354391.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 470,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1413,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1628,
          "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": 1,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.139-71A>C",
          "hgvs_p": null,
          "transcript": "ENST00000442364.1",
          "protein_id": "ENSP00000388981.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 73,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 222,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 487,
          "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": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "HAP1",
          "gene_hgnc_id": 4812,
          "hgvs_c": "c.38+959A>C",
          "hgvs_p": null,
          "transcript": "ENST00000455021.5",
          "protein_id": "ENSP00000397242.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 39,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 120,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 324,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "HAP1",
      "gene_hgnc_id": 4812,
      "dbsnp": "rs368895537",
      "frequency_reference_population": 0.000032227275,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 52,
      "gnomad_exomes_af": 0.0000335288,
      "gnomad_genomes_af": 0.0000197228,
      "gnomad_exomes_ac": 49,
      "gnomad_genomes_ac": 3,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0990765392780304,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.021,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1868,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.66,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.299,
      "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": 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": "NM_177977.3",
          "gene_symbol": "HAP1",
          "hgnc_id": 4812,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1661A>C",
          "hgvs_p": "p.Asn554Thr"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}