← 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-45845135-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 45845135,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_175882.3",
      "consequences": [
        {
          "aa_ref": "H",
          "aa_alt": "Y",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPPL2C",
          "gene_hgnc_id": 28902,
          "hgvs_c": "c.229C>T",
          "hgvs_p": "p.His77Tyr",
          "transcript": "NM_175882.3",
          "protein_id": "NP_787078.2",
          "transcript_support_level": null,
          "aa_start": 77,
          "aa_end": null,
          "aa_length": 684,
          "cds_start": 229,
          "cds_end": null,
          "cds_length": 2055,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000329196.7",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_175882.3"
        },
        {
          "aa_ref": "H",
          "aa_alt": "Y",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPPL2C",
          "gene_hgnc_id": 28902,
          "hgvs_c": "c.229C>T",
          "hgvs_p": "p.His77Tyr",
          "transcript": "ENST00000329196.7",
          "protein_id": "ENSP00000332488.5",
          "transcript_support_level": 6,
          "aa_start": 77,
          "aa_end": null,
          "aa_length": 684,
          "cds_start": 229,
          "cds_end": null,
          "cds_length": 2055,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_175882.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000329196.7"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MAPT-AS1",
          "gene_hgnc_id": 43738,
          "hgvs_c": "n.903-974G>A",
          "hgvs_p": null,
          "transcript": "ENST00000579599.1",
          "protein_id": null,
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000579599.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MAPT-AS1",
          "gene_hgnc_id": 43738,
          "hgvs_c": "n.122-974G>A",
          "hgvs_p": null,
          "transcript": "ENST00000579244.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000579244.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MAPT-AS1",
          "gene_hgnc_id": 43738,
          "hgvs_c": "n.183-974G>A",
          "hgvs_p": null,
          "transcript": "ENST00000634876.2",
          "protein_id": null,
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000634876.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "MAPT-AS1",
          "gene_hgnc_id": 43738,
          "hgvs_c": "n.390-974G>A",
          "hgvs_p": null,
          "transcript": "ENST00000649665.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000649665.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MAPT-AS1",
          "gene_hgnc_id": 43738,
          "hgvs_c": "n.226-974G>A",
          "hgvs_p": null,
          "transcript": "ENST00000653949.2",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000653949.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MAPT-AS1",
          "gene_hgnc_id": 43738,
          "hgvs_c": "n.138-974G>A",
          "hgvs_p": null,
          "transcript": "ENST00000793286.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000793286.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MAPT-AS1",
          "gene_hgnc_id": 43738,
          "hgvs_c": "n.212-974G>A",
          "hgvs_p": null,
          "transcript": "ENST00000793287.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000793287.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MAPT-AS1",
          "gene_hgnc_id": 43738,
          "hgvs_c": "n.35-974G>A",
          "hgvs_p": null,
          "transcript": "NR_024559.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "NR_024559.1"
        }
      ],
      "gene_symbol": "SPPL2C",
      "gene_hgnc_id": 28902,
      "dbsnp": "rs2074180",
      "frequency_reference_population": 0.00085305906,
      "hom_count_reference_population": 15,
      "allele_count_reference_population": 1374,
      "gnomad_exomes_af": 0.000457366,
      "gnomad_genomes_af": 0.00464148,
      "gnomad_exomes_ac": 667,
      "gnomad_genomes_ac": 707,
      "gnomad_exomes_homalt": 9,
      "gnomad_genomes_homalt": 6,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0048868656158447266,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.08,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0785,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.7,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.807,
      "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": -14,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -14,
          "benign_score": 14,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_175882.3",
          "gene_symbol": "SPPL2C",
          "hgnc_id": 28902,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.229C>T",
          "hgvs_p": "p.His77Tyr"
        },
        {
          "score": -14,
          "benign_score": 14,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000579599.1",
          "gene_symbol": "MAPT-AS1",
          "hgnc_id": 43738,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.903-974G>A",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "B:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}