← 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: X-78124883-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 78124883,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_000291.4",
      "consequences": [
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.946T>C",
          "hgvs_p": "p.Cys316Arg",
          "transcript": "NM_000291.4",
          "protein_id": "NP_000282.1",
          "transcript_support_level": null,
          "aa_start": 316,
          "aa_end": null,
          "aa_length": 417,
          "cds_start": 946,
          "cds_end": null,
          "cds_length": 1254,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000373316.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000291.4"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.946T>C",
          "hgvs_p": "p.Cys316Arg",
          "transcript": "ENST00000373316.5",
          "protein_id": "ENSP00000362413.4",
          "transcript_support_level": 1,
          "aa_start": 316,
          "aa_end": null,
          "aa_length": 417,
          "cds_start": 946,
          "cds_end": null,
          "cds_length": 1254,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000291.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000373316.5"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.976T>C",
          "hgvs_p": "p.Cys326Arg",
          "transcript": "ENST00000878879.1",
          "protein_id": "ENSP00000548938.1",
          "transcript_support_level": null,
          "aa_start": 326,
          "aa_end": null,
          "aa_length": 427,
          "cds_start": 976,
          "cds_end": null,
          "cds_length": 1284,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000878879.1"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.976T>C",
          "hgvs_p": "p.Cys326Arg",
          "transcript": "ENST00000925024.1",
          "protein_id": "ENSP00000595083.1",
          "transcript_support_level": null,
          "aa_start": 326,
          "aa_end": null,
          "aa_length": 427,
          "cds_start": 976,
          "cds_end": null,
          "cds_length": 1284,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000925024.1"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.958T>C",
          "hgvs_p": "p.Cys320Arg",
          "transcript": "ENST00000951220.1",
          "protein_id": "ENSP00000621279.1",
          "transcript_support_level": null,
          "aa_start": 320,
          "aa_end": null,
          "aa_length": 421,
          "cds_start": 958,
          "cds_end": null,
          "cds_length": 1266,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000951220.1"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.946T>C",
          "hgvs_p": "p.Cys316Arg",
          "transcript": "ENST00000925019.1",
          "protein_id": "ENSP00000595078.1",
          "transcript_support_level": null,
          "aa_start": 316,
          "aa_end": null,
          "aa_length": 415,
          "cds_start": 946,
          "cds_end": null,
          "cds_length": 1248,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000925019.1"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.946T>C",
          "hgvs_p": "p.Cys316Arg",
          "transcript": "ENST00000925020.1",
          "protein_id": "ENSP00000595079.1",
          "transcript_support_level": null,
          "aa_start": 316,
          "aa_end": null,
          "aa_length": 414,
          "cds_start": 946,
          "cds_end": null,
          "cds_length": 1245,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000925020.1"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.928T>C",
          "hgvs_p": "p.Cys310Arg",
          "transcript": "ENST00000925022.1",
          "protein_id": "ENSP00000595081.1",
          "transcript_support_level": null,
          "aa_start": 310,
          "aa_end": null,
          "aa_length": 411,
          "cds_start": 928,
          "cds_end": null,
          "cds_length": 1236,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000925022.1"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.898T>C",
          "hgvs_p": "p.Cys300Arg",
          "transcript": "ENST00000951221.1",
          "protein_id": "ENSP00000621280.1",
          "transcript_support_level": null,
          "aa_start": 300,
          "aa_end": null,
          "aa_length": 401,
          "cds_start": 898,
          "cds_end": null,
          "cds_length": 1206,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000951221.1"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.862T>C",
          "hgvs_p": "p.Cys288Arg",
          "transcript": "ENST00000644362.1",
          "protein_id": "ENSP00000496140.1",
          "transcript_support_level": null,
          "aa_start": 288,
          "aa_end": null,
          "aa_length": 389,
          "cds_start": 862,
          "cds_end": null,
          "cds_length": 1170,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000644362.1"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.841T>C",
          "hgvs_p": "p.Cys281Arg",
          "transcript": "ENST00000925021.1",
          "protein_id": "ENSP00000595080.1",
          "transcript_support_level": null,
          "aa_start": 281,
          "aa_end": null,
          "aa_length": 382,
          "cds_start": 841,
          "cds_end": null,
          "cds_length": 1149,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000925021.1"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.826T>C",
          "hgvs_p": "p.Cys276Arg",
          "transcript": "ENST00000878877.1",
          "protein_id": "ENSP00000548936.1",
          "transcript_support_level": null,
          "aa_start": 276,
          "aa_end": null,
          "aa_length": 377,
          "cds_start": 826,
          "cds_end": null,
          "cds_length": 1134,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000878877.1"
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.790T>C",
          "hgvs_p": "p.Cys264Arg",
          "transcript": "ENST00000878878.1",
          "protein_id": "ENSP00000548937.1",
          "transcript_support_level": null,
          "aa_start": 264,
          "aa_end": null,
          "aa_length": 365,
          "cds_start": 790,
          "cds_end": null,
          "cds_length": 1098,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000878878.1"
        },
        {
          "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": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "c.500-453T>C",
          "hgvs_p": null,
          "transcript": "ENST00000925023.1",
          "protein_id": "ENSP00000595082.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 209,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 630,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000925023.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PGK1",
          "gene_hgnc_id": 8896,
          "hgvs_c": "n.-61T>C",
          "hgvs_p": null,
          "transcript": "ENST00000476531.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": "ENST00000476531.1"
        }
      ],
      "gene_symbol": "PGK1",
      "gene_hgnc_id": 8896,
      "dbsnp": "rs137852533",
      "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.9879093170166016,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.918,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9905,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.62,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.654,
      "phylop100way_prediction": "Pathogenic",
      "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": 9,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PM1,PM2,PP3_Strong,PP5",
      "acmg_by_gene": [
        {
          "score": 9,
          "benign_score": 0,
          "pathogenic_score": 9,
          "criteria": [
            "PM1",
            "PM2",
            "PP3_Strong",
            "PP5"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_000291.4",
          "gene_symbol": "PGK1",
          "hgnc_id": 8896,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "XL",
          "hgvs_c": "c.946T>C",
          "hgvs_p": "p.Cys316Arg"
        }
      ],
      "clinvar_disease": "Glycogen storage disease due to phosphoglycerate kinase 1 deficiency",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Glycogen storage disease due to phosphoglycerate kinase 1 deficiency",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}