← 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-136329940-C-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 136329940,
      "ref": "C",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000251654.9",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1534C>A",
          "hgvs_p": "p.Arg512Ser",
          "transcript": "NM_000532.5",
          "protein_id": "NP_000523.2",
          "transcript_support_level": null,
          "aa_start": 512,
          "aa_end": null,
          "aa_length": 539,
          "cds_start": 1534,
          "cds_end": null,
          "cds_length": 1620,
          "cdna_start": 1570,
          "cdna_end": null,
          "cdna_length": 1799,
          "mane_select": "ENST00000251654.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1534C>A",
          "hgvs_p": "p.Arg512Ser",
          "transcript": "ENST00000251654.9",
          "protein_id": "ENSP00000251654.4",
          "transcript_support_level": 1,
          "aa_start": 512,
          "aa_end": null,
          "aa_length": 539,
          "cds_start": 1534,
          "cds_end": null,
          "cds_length": 1620,
          "cdna_start": 1570,
          "cdna_end": null,
          "cdna_length": 1799,
          "mane_select": "NM_000532.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1534C>A",
          "hgvs_p": "p.Arg512Ser",
          "transcript": "ENST00000471595.5",
          "protein_id": "ENSP00000417549.1",
          "transcript_support_level": 1,
          "aa_start": 512,
          "aa_end": null,
          "aa_length": 550,
          "cds_start": 1534,
          "cds_end": null,
          "cds_length": 1653,
          "cdna_start": 1552,
          "cdna_end": null,
          "cdna_length": 6090,
          "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": 9,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.885-4340C>A",
          "hgvs_p": null,
          "transcript": "ENST00000478469.5",
          "protein_id": "ENSP00000420759.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 303,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 912,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4502,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1627C>A",
          "hgvs_p": "p.Arg543Ser",
          "transcript": "ENST00000468777.5",
          "protein_id": "ENSP00000419129.1",
          "transcript_support_level": 3,
          "aa_start": 543,
          "aa_end": null,
          "aa_length": 570,
          "cds_start": 1627,
          "cds_end": null,
          "cds_length": 1713,
          "cdna_start": 1648,
          "cdna_end": null,
          "cdna_length": 1877,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1594C>A",
          "hgvs_p": "p.Arg532Ser",
          "transcript": "NM_001178014.2",
          "protein_id": "NP_001171485.1",
          "transcript_support_level": null,
          "aa_start": 532,
          "aa_end": null,
          "aa_length": 559,
          "cds_start": 1594,
          "cds_end": null,
          "cds_length": 1680,
          "cdna_start": 1630,
          "cdna_end": null,
          "cdna_length": 1859,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1594C>A",
          "hgvs_p": "p.Arg532Ser",
          "transcript": "ENST00000466072.5",
          "protein_id": "ENSP00000420158.1",
          "transcript_support_level": 3,
          "aa_start": 532,
          "aa_end": null,
          "aa_length": 559,
          "cds_start": 1594,
          "cds_end": null,
          "cds_length": 1680,
          "cdna_start": 1615,
          "cdna_end": null,
          "cdna_length": 1844,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1594C>A",
          "hgvs_p": "p.Arg532Ser",
          "transcript": "ENST00000469217.5",
          "protein_id": "ENSP00000419027.1",
          "transcript_support_level": 2,
          "aa_start": 532,
          "aa_end": null,
          "aa_length": 559,
          "cds_start": 1594,
          "cds_end": null,
          "cds_length": 1680,
          "cdna_start": 1611,
          "cdna_end": null,
          "cdna_length": 1841,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1477C>A",
          "hgvs_p": "p.Arg493Ser",
          "transcript": "ENST00000483687.5",
          "protein_id": "ENSP00000420639.1",
          "transcript_support_level": 3,
          "aa_start": 493,
          "aa_end": null,
          "aa_length": 520,
          "cds_start": 1477,
          "cds_end": null,
          "cds_length": 1563,
          "cdna_start": 1498,
          "cdna_end": null,
          "cdna_length": 1727,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1465C>A",
          "hgvs_p": "p.Arg489Ser",
          "transcript": "ENST00000462637.5",
          "protein_id": "ENSP00000420391.1",
          "transcript_support_level": 3,
          "aa_start": 489,
          "aa_end": null,
          "aa_length": 516,
          "cds_start": 1465,
          "cds_end": null,
          "cds_length": 1551,
          "cdna_start": 1486,
          "cdna_end": null,
          "cdna_length": 1715,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1363C>A",
          "hgvs_p": "p.Arg455Ser",
          "transcript": "ENST00000490504.5",
          "protein_id": "ENSP00000418307.1",
          "transcript_support_level": 3,
          "aa_start": 455,
          "aa_end": null,
          "aa_length": 482,
          "cds_start": 1363,
          "cds_end": null,
          "cds_length": 1449,
          "cdna_start": 1384,
          "cdna_end": null,
          "cdna_length": 1613,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "c.1186C>A",
          "hgvs_p": "p.Arg396Ser",
          "transcript": "ENST00000482086.5",
          "protein_id": "ENSP00000417253.1",
          "transcript_support_level": 3,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 423,
          "cds_start": 1186,
          "cds_end": null,
          "cds_length": 1272,
          "cdna_start": 1207,
          "cdna_end": null,
          "cdna_length": 1436,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "n.1735C>A",
          "hgvs_p": null,
          "transcript": "ENST00000473073.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 1964,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "n.*215C>A",
          "hgvs_p": null,
          "transcript": "ENST00000484181.5",
          "protein_id": "ENSP00000417937.1",
          "transcript_support_level": 3,
          "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": 1683,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PCCB",
          "gene_hgnc_id": 8654,
          "hgvs_c": "n.*215C>A",
          "hgvs_p": null,
          "transcript": "ENST00000484181.5",
          "protein_id": "ENSP00000417937.1",
          "transcript_support_level": 3,
          "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": 1683,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PCCB",
      "gene_hgnc_id": 8654,
      "dbsnp": "rs186710233",
      "frequency_reference_population": 0.0000024782564,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 4,
      "gnomad_exomes_af": 0.00000205218,
      "gnomad_genomes_af": 0.00000657134,
      "gnomad_exomes_ac": 3,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.9787944555282593,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.029999999329447746,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.931,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9915,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.56,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 5.566,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.03,
      "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": 11,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PM1,PM2,PM5,PP2,PP3_Strong",
      "acmg_by_gene": [
        {
          "score": 11,
          "benign_score": 0,
          "pathogenic_score": 11,
          "criteria": [
            "PM1",
            "PM2",
            "PM5",
            "PP2",
            "PP3_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000251654.9",
          "gene_symbol": "PCCB",
          "hgnc_id": 8654,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1534C>A",
          "hgvs_p": "p.Arg512Ser"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}