← 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-210591893-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 210591893,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_001369256.1",
      "consequences": [
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "NM_001875.5",
          "protein_id": "NP_001866.2",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000233072.10",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001875.5"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000233072.10",
          "protein_id": "ENSP00000233072.5",
          "transcript_support_level": 1,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001875.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000233072.10"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1028A>G",
          "hgvs_p": "p.His343Arg",
          "transcript": "ENST00000430249.7",
          "protein_id": "ENSP00000402608.2",
          "transcript_support_level": 1,
          "aa_start": 343,
          "aa_end": null,
          "aa_length": 1506,
          "cds_start": 1028,
          "cds_end": null,
          "cds_length": 4521,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000430249.7"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000881564.1",
          "protein_id": "ENSP00000551623.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1523,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4572,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000881564.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1043A>G",
          "hgvs_p": "p.His348Arg",
          "transcript": "NM_001369256.1",
          "protein_id": "NP_001356185.1",
          "transcript_support_level": null,
          "aa_start": 348,
          "aa_end": null,
          "aa_length": 1511,
          "cds_start": 1043,
          "cds_end": null,
          "cds_length": 4536,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001369256.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "NM_001122633.3",
          "protein_id": "NP_001116105.2",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001122633.3"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "NM_001369257.1",
          "protein_id": "NP_001356186.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001369257.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000673510.1",
          "protein_id": "ENSP00000500537.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000673510.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000673630.1",
          "protein_id": "ENSP00000501073.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000673630.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000673711.1",
          "protein_id": "ENSP00000501022.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000673711.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000881558.1",
          "protein_id": "ENSP00000551617.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000881558.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000881559.1",
          "protein_id": "ENSP00000551618.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000881559.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000881560.1",
          "protein_id": "ENSP00000551619.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000881560.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000881561.1",
          "protein_id": "ENSP00000551620.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000881561.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000881562.1",
          "protein_id": "ENSP00000551621.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000881562.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000881563.1",
          "protein_id": "ENSP00000551622.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000881563.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000921372.1",
          "protein_id": "ENSP00000591431.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000921372.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000921373.1",
          "protein_id": "ENSP00000591432.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000921373.1"
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1010A>G",
          "hgvs_p": "p.His337Arg",
          "transcript": "ENST00000965726.1",
          "protein_id": "ENSP00000635785.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000965726.1"
        },
        {
          "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": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "n.1922A>G",
          "hgvs_p": null,
          "transcript": "NR_161225.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_161225.1"
        }
      ],
      "gene_symbol": "CPS1",
      "gene_hgnc_id": 2323,
      "dbsnp": "rs28940283",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.9901007413864136,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.985,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.7234,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.58,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 8.947,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.01,
      "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": 7,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PM2,PP3_Strong,PP5",
      "acmg_by_gene": [
        {
          "score": 7,
          "benign_score": 0,
          "pathogenic_score": 7,
          "criteria": [
            "PM2",
            "PP3_Strong",
            "PP5"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_001369256.1",
          "gene_symbol": "CPS1",
          "hgnc_id": 2323,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1043A>G",
          "hgvs_p": "p.His348Arg"
        }
      ],
      "clinvar_disease": " type I,Congenital hyperammonemia",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Congenital hyperammonemia, type I",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}