← 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: 12-132620508-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 132620508,
      "ref": "C",
      "alt": "T",
      "effect": "synonymous_variant",
      "transcript": "ENST00000643471.2",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.592C>T",
          "hgvs_p": "p.Pro198Ser",
          "transcript": "ENST00000449132.6",
          "protein_id": "ENSP00000405531.2",
          "transcript_support_level": 1,
          "aa_start": 198,
          "aa_end": null,
          "aa_length": 370,
          "cds_start": 592,
          "cds_end": null,
          "cds_length": 1113,
          "cdna_start": 592,
          "cdna_end": null,
          "cdna_length": 1113,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "NM_170682.4",
          "protein_id": "NP_733782.1",
          "transcript_support_level": null,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 471,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1416,
          "cdna_start": 740,
          "cdna_end": null,
          "cdna_length": 1873,
          "mane_select": "ENST00000643471.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "ENST00000643471.2",
          "protein_id": "ENSP00000494644.1",
          "transcript_support_level": null,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 471,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1416,
          "cdna_start": 740,
          "cdna_end": null,
          "cdna_length": 1873,
          "mane_select": "NM_170682.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "ENST00000343948.8",
          "protein_id": "ENSP00000343339.4",
          "transcript_support_level": 1,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 497,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1494,
          "cdna_start": 699,
          "cdna_end": null,
          "cdna_length": 1494,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.627C>T",
          "hgvs_p": "p.Asp209Asp",
          "transcript": "ENST00000350048.9",
          "protein_id": "ENSP00000343904.5",
          "transcript_support_level": 1,
          "aa_start": 209,
          "aa_end": null,
          "aa_length": 447,
          "cds_start": 627,
          "cds_end": null,
          "cds_length": 1344,
          "cdna_start": 627,
          "cdna_end": null,
          "cdna_length": 1344,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "ENST00000348800.9",
          "protein_id": "ENSP00000345095.5",
          "transcript_support_level": 1,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 404,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1215,
          "cdna_start": 699,
          "cdna_end": null,
          "cdna_length": 1222,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.483C>T",
          "hgvs_p": "p.Asp161Asp",
          "transcript": "ENST00000352418.8",
          "protein_id": "ENSP00000341419.4",
          "transcript_support_level": 1,
          "aa_start": 161,
          "aa_end": null,
          "aa_length": 399,
          "cds_start": 483,
          "cds_end": null,
          "cds_length": 1200,
          "cdna_start": 483,
          "cdna_end": null,
          "cdna_length": 1200,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.423C>T",
          "hgvs_p": "p.Asp141Asp",
          "transcript": "ENST00000351222.8",
          "protein_id": "ENSP00000344502.4",
          "transcript_support_level": 1,
          "aa_start": 141,
          "aa_end": null,
          "aa_length": 379,
          "cds_start": 423,
          "cds_end": null,
          "cds_length": 1140,
          "cdna_start": 423,
          "cdna_end": null,
          "cdna_length": 1140,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "ENST00000542301.2",
          "protein_id": "ENSP00000444477.2",
          "transcript_support_level": 1,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 349,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1050,
          "cdna_start": 699,
          "cdna_end": null,
          "cdna_length": 1881,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.592C>T",
          "hgvs_p": "p.Pro198Ser",
          "transcript": "NM_001282164.2",
          "protein_id": "NP_001269093.1",
          "transcript_support_level": null,
          "aa_start": 198,
          "aa_end": null,
          "aa_length": 370,
          "cds_start": 592,
          "cds_end": null,
          "cds_length": 1113,
          "cdna_start": 633,
          "cdna_end": null,
          "cdna_length": 1570,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "NM_170683.4",
          "protein_id": "NP_733783.1",
          "transcript_support_level": null,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 497,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1494,
          "cdna_start": 740,
          "cdna_end": null,
          "cdna_length": 1951,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.627C>T",
          "hgvs_p": "p.Asp209Asp",
          "transcript": "NM_016318.4",
          "protein_id": "NP_057402.1",
          "transcript_support_level": null,
          "aa_start": 209,
          "aa_end": null,
          "aa_length": 447,
          "cds_start": 627,
          "cds_end": null,
          "cds_length": 1344,
          "cdna_start": 668,
          "cdna_end": null,
          "cdna_length": 1801,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "NM_174873.3",
          "protein_id": "NP_777362.1",
          "transcript_support_level": null,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 404,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1215,
          "cdna_start": 740,
          "cdna_end": null,
          "cdna_length": 1672,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.483C>T",
          "hgvs_p": "p.Asp161Asp",
          "transcript": "NM_012226.5",
          "protein_id": "NP_036358.2",
          "transcript_support_level": null,
          "aa_start": 161,
          "aa_end": null,
          "aa_length": 399,
          "cds_start": 483,
          "cds_end": null,
          "cds_length": 1200,
          "cdna_start": 524,
          "cdna_end": null,
          "cdna_length": 1657,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.423C>T",
          "hgvs_p": "p.Asp141Asp",
          "transcript": "NM_174872.3",
          "protein_id": "NP_777361.1",
          "transcript_support_level": null,
          "aa_start": 141,
          "aa_end": null,
          "aa_length": 379,
          "cds_start": 423,
          "cds_end": null,
          "cds_length": 1140,
          "cdna_start": 464,
          "cdna_end": null,
          "cdna_length": 1597,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "NM_001282165.2",
          "protein_id": "NP_001269094.1",
          "transcript_support_level": null,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 349,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1050,
          "cdna_start": 740,
          "cdna_end": null,
          "cdna_length": 1970,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "XM_005266154.5",
          "protein_id": "XP_005266211.1",
          "transcript_support_level": null,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 512,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1539,
          "cdna_start": 740,
          "cdna_end": null,
          "cdna_length": 1996,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "XM_005266155.6",
          "protein_id": "XP_005266212.1",
          "transcript_support_level": null,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 488,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1467,
          "cdna_start": 740,
          "cdna_end": null,
          "cdna_length": 1648,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.627C>T",
          "hgvs_p": "p.Asp209Asp",
          "transcript": "XM_011534786.4",
          "protein_id": "XP_011533088.1",
          "transcript_support_level": null,
          "aa_start": 209,
          "aa_end": null,
          "aa_length": 473,
          "cds_start": 627,
          "cds_end": null,
          "cds_length": 1422,
          "cdna_start": 668,
          "cdna_end": null,
          "cdna_length": 1879,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "XM_017019035.3",
          "protein_id": "XP_016874524.1",
          "transcript_support_level": null,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 462,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1389,
          "cdna_start": 740,
          "cdna_end": null,
          "cdna_length": 1570,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P2RX2",
          "gene_hgnc_id": 15459,
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp",
          "transcript": "XM_005266156.6",
          "protein_id": "XP_005266213.1",
          "transcript_support_level": null,
          "aa_start": 233,
          "aa_end": null,
          "aa_length": 430,
          "cds_start": 699,
          "cds_end": null,
          "cds_length": 1293,
          "cdna_start": 740,
          "cdna_end": null,
          "cdna_length": 1750,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "P2RX2",
      "gene_hgnc_id": 15459,
      "dbsnp": "rs113782309",
      "frequency_reference_population": 0.0012341732,
      "hom_count_reference_population": 13,
      "allele_count_reference_population": 1992,
      "gnomad_exomes_af": 0.000788805,
      "gnomad_genomes_af": 0.00550771,
      "gnomad_exomes_ac": 1153,
      "gnomad_genomes_ac": 839,
      "gnomad_exomes_homalt": 5,
      "gnomad_genomes_homalt": 8,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.003670811653137207,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.121,
      "revel_prediction": "Benign",
      "alphamissense_score": null,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.48,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.396,
      "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": -21,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BP7,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -21,
          "benign_score": 21,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BP7",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000643471.2",
          "gene_symbol": "P2RX2",
          "hgnc_id": 15459,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.699C>T",
          "hgvs_p": "p.Asp233Asp"
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:4",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}