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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 48688916,
      "ref": "A",
      "alt": "C",
      "effect": "synonymous_variant",
      "transcript": "ENST00000376701.5",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1188A>C",
          "hgvs_p": "p.Pro396Pro",
          "transcript": "NM_000377.3",
          "protein_id": "NP_000368.1",
          "transcript_support_level": null,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 502,
          "cds_start": 1188,
          "cds_end": null,
          "cds_length": 1509,
          "cdna_start": 1243,
          "cdna_end": null,
          "cdna_length": 1829,
          "mane_select": "ENST00000376701.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1188A>C",
          "hgvs_p": "p.Pro396Pro",
          "transcript": "ENST00000376701.5",
          "protein_id": "ENSP00000365891.4",
          "transcript_support_level": 1,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 502,
          "cds_start": 1188,
          "cds_end": null,
          "cds_length": 1509,
          "cdna_start": 1243,
          "cdna_end": null,
          "cdna_length": 1829,
          "mane_select": "NM_000377.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1188A>C",
          "hgvs_p": "p.Pro396Pro",
          "transcript": "NM_001438877.1",
          "protein_id": "NP_001425806.1",
          "transcript_support_level": null,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 590,
          "cds_start": 1188,
          "cds_end": null,
          "cds_length": 1773,
          "cdna_start": 1243,
          "cdna_end": null,
          "cdna_length": 2786,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1188A>C",
          "hgvs_p": "p.Pro396Pro",
          "transcript": "ENST00000698635.1",
          "protein_id": "ENSP00000513850.1",
          "transcript_support_level": null,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 590,
          "cds_start": 1188,
          "cds_end": null,
          "cds_length": 1773,
          "cdna_start": 1237,
          "cdna_end": null,
          "cdna_length": 2761,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1032A>C",
          "hgvs_p": "p.Pro344Pro",
          "transcript": "NM_001438878.1",
          "protein_id": "NP_001425807.1",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 538,
          "cds_start": 1032,
          "cds_end": null,
          "cds_length": 1617,
          "cdna_start": 1087,
          "cdna_end": null,
          "cdna_length": 2630,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1188A>C",
          "hgvs_p": "p.Pro396Pro",
          "transcript": "ENST00000698626.1",
          "protein_id": "ENSP00000513845.1",
          "transcript_support_level": null,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 532,
          "cds_start": 1188,
          "cds_end": null,
          "cds_length": 1599,
          "cdna_start": 1214,
          "cdna_end": null,
          "cdna_length": 1886,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1188A>C",
          "hgvs_p": "p.Pro396Pro",
          "transcript": "NM_001438879.1",
          "protein_id": "NP_001425808.1",
          "transcript_support_level": null,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 502,
          "cds_start": 1188,
          "cds_end": null,
          "cds_length": 1509,
          "cdna_start": 1335,
          "cdna_end": null,
          "cdna_length": 1921,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1188A>C",
          "hgvs_p": "p.Pro396Pro",
          "transcript": "ENST00000698625.1",
          "protein_id": "ENSP00000513844.1",
          "transcript_support_level": null,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 502,
          "cds_start": 1188,
          "cds_end": null,
          "cds_length": 1509,
          "cdna_start": 1367,
          "cdna_end": null,
          "cdna_length": 1957,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1032A>C",
          "hgvs_p": "p.Pro344Pro",
          "transcript": "NM_001438876.1",
          "protein_id": "NP_001425805.1",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 450,
          "cds_start": 1032,
          "cds_end": null,
          "cds_length": 1353,
          "cdna_start": 1087,
          "cdna_end": null,
          "cdna_length": 1673,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1188A>C",
          "hgvs_p": "p.Pro396Pro",
          "transcript": "XM_017029786.2",
          "protein_id": "XP_016885275.1",
          "transcript_support_level": null,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 590,
          "cds_start": 1188,
          "cds_end": null,
          "cds_length": 1773,
          "cdna_start": 1335,
          "cdna_end": null,
          "cdna_length": 2878,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1188A>C",
          "hgvs_p": "p.Pro396Pro",
          "transcript": "XM_047442432.1",
          "protein_id": "XP_047298388.1",
          "transcript_support_level": null,
          "aa_start": 396,
          "aa_end": null,
          "aa_length": 590,
          "cds_start": 1188,
          "cds_end": null,
          "cds_length": 1773,
          "cdna_start": 1261,
          "cdna_end": null,
          "cdna_length": 2804,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1032A>C",
          "hgvs_p": "p.Pro344Pro",
          "transcript": "XM_047442433.1",
          "protein_id": "XP_047298389.1",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 538,
          "cds_start": 1032,
          "cds_end": null,
          "cds_length": 1617,
          "cdna_start": 1179,
          "cdna_end": null,
          "cdna_length": 2722,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "c.1032A>C",
          "hgvs_p": "p.Pro344Pro",
          "transcript": "XM_011543977.3",
          "protein_id": "XP_011542279.1",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 450,
          "cds_start": 1032,
          "cds_end": null,
          "cds_length": 1353,
          "cdna_start": 1179,
          "cdna_end": null,
          "cdna_length": 1765,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "n.432A>C",
          "hgvs_p": null,
          "transcript": "ENST00000474174.2",
          "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": 611,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000232828",
          "gene_hgnc_id": null,
          "hgvs_c": "n.821+10108T>G",
          "hgvs_p": null,
          "transcript": "ENST00000746890.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 1256,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "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": "WAS",
          "gene_hgnc_id": 12731,
          "hgvs_c": "n.-104A>C",
          "hgvs_p": null,
          "transcript": "ENST00000470107.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": 322,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "WAS",
      "gene_hgnc_id": 12731,
      "dbsnp": "rs1557007268",
      "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.8999999761581421,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.9,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -2.52,
      "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": -5,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong,BP6_Moderate,BP7",
      "acmg_by_gene": [
        {
          "score": -5,
          "benign_score": 7,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong",
            "BP6_Moderate",
            "BP7"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000376701.5",
          "gene_symbol": "WAS",
          "hgnc_id": 12731,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "XL,AD",
          "hgvs_c": "c.1188A>C",
          "hgvs_p": "p.Pro396Pro"
        },
        {
          "score": -4,
          "benign_score": 6,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong",
            "BP6_Moderate"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000746890.1",
          "gene_symbol": "ENSG00000232828",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.821+10108T>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LB:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}