← 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: 22-36937930-GC-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "22",
      "pos": 36937930,
      "ref": "GC",
      "alt": "G",
      "effect": "frameshift_variant",
      "transcript": "NM_001410827.1",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.2124delC",
          "hgvs_p": "p.Ser709fs",
          "transcript": "NM_000395.3",
          "protein_id": "NP_000386.1",
          "transcript_support_level": null,
          "aa_start": 708,
          "aa_end": null,
          "aa_length": 897,
          "cds_start": 2124,
          "cds_end": null,
          "cds_length": 2694,
          "cdna_start": 2346,
          "cdna_end": null,
          "cdna_length": 4853,
          "mane_select": "ENST00000403662.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000395.3"
        },
        {
          "aa_ref": "A",
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.2124delC",
          "hgvs_p": "p.Ser709fs",
          "transcript": "ENST00000403662.8",
          "protein_id": "ENSP00000384053.3",
          "transcript_support_level": 5,
          "aa_start": 708,
          "aa_end": null,
          "aa_length": 897,
          "cds_start": 2124,
          "cds_end": null,
          "cds_length": 2694,
          "cdna_start": 2346,
          "cdna_end": null,
          "cdna_length": 4853,
          "mane_select": "NM_000395.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000403662.8"
        },
        {
          "aa_ref": "A",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.2142delC",
          "hgvs_p": "p.Ser715fs",
          "transcript": "ENST00000406230.5",
          "protein_id": "ENSP00000385271.1",
          "transcript_support_level": 1,
          "aa_start": 714,
          "aa_end": null,
          "aa_length": 903,
          "cds_start": 2142,
          "cds_end": null,
          "cds_length": 2712,
          "cdna_start": 2216,
          "cdna_end": null,
          "cdna_length": 2895,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000406230.5"
        },
        {
          "aa_ref": "A",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.2160delC",
          "hgvs_p": "p.Ser721fs",
          "transcript": "ENST00000910856.1",
          "protein_id": "ENSP00000580915.1",
          "transcript_support_level": null,
          "aa_start": 720,
          "aa_end": null,
          "aa_length": 909,
          "cds_start": 2160,
          "cds_end": null,
          "cds_length": 2730,
          "cdna_start": 2377,
          "cdna_end": null,
          "cdna_length": 4888,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000910856.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.2142delC",
          "hgvs_p": "p.Ser715fs",
          "transcript": "NM_001410827.1",
          "protein_id": "NP_001397756.1",
          "transcript_support_level": null,
          "aa_start": 714,
          "aa_end": null,
          "aa_length": 903,
          "cds_start": 2142,
          "cds_end": null,
          "cds_length": 2712,
          "cdna_start": 2364,
          "cdna_end": null,
          "cdna_length": 4871,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001410827.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.2124delC",
          "hgvs_p": "p.Ser709fs",
          "transcript": "ENST00000910857.1",
          "protein_id": "ENSP00000580916.1",
          "transcript_support_level": null,
          "aa_start": 708,
          "aa_end": null,
          "aa_length": 897,
          "cds_start": 2124,
          "cds_end": null,
          "cds_length": 2694,
          "cdna_start": 2341,
          "cdna_end": null,
          "cdna_length": 4852,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000910857.1"
        },
        {
          "aa_ref": "A",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.2178delC",
          "hgvs_p": "p.Ser727fs",
          "transcript": "XM_011529903.3",
          "protein_id": "XP_011528205.1",
          "transcript_support_level": null,
          "aa_start": 726,
          "aa_end": null,
          "aa_length": 915,
          "cds_start": 2178,
          "cds_end": null,
          "cds_length": 2748,
          "cdna_start": 2400,
          "cdna_end": null,
          "cdna_length": 4907,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011529903.3"
        },
        {
          "aa_ref": "A",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.2160delC",
          "hgvs_p": "p.Ser721fs",
          "transcript": "XM_011529904.3",
          "protein_id": "XP_011528206.1",
          "transcript_support_level": null,
          "aa_start": 720,
          "aa_end": null,
          "aa_length": 909,
          "cds_start": 2160,
          "cds_end": null,
          "cds_length": 2730,
          "cdna_start": 2382,
          "cdna_end": null,
          "cdna_length": 4889,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011529904.3"
        },
        {
          "aa_ref": "A",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.1791delC",
          "hgvs_p": "p.Ser598fs",
          "transcript": "XM_047441148.1",
          "protein_id": "XP_047297104.1",
          "transcript_support_level": null,
          "aa_start": 597,
          "aa_end": null,
          "aa_length": 786,
          "cds_start": 1791,
          "cds_end": null,
          "cds_length": 2361,
          "cdna_start": 1916,
          "cdna_end": null,
          "cdna_length": 4423,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047441148.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.*484delC",
          "hgvs_p": null,
          "transcript": "XM_047441149.1",
          "protein_id": "XP_047297105.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 517,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1554,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4767,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047441149.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CSF2RB",
          "gene_hgnc_id": 2436,
          "hgvs_c": "c.*484delC",
          "hgvs_p": null,
          "transcript": "XM_047441150.1",
          "protein_id": "XP_047297106.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 511,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1536,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4749,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047441150.1"
        }
      ],
      "gene_symbol": "CSF2RB",
      "gene_hgnc_id": 2436,
      "dbsnp": "rs568607741",
      "frequency_reference_population": 0.0011349712,
      "hom_count_reference_population": 10,
      "allele_count_reference_population": 1832,
      "gnomad_exomes_af": 0.00113074,
      "gnomad_genomes_af": 0.00117556,
      "gnomad_exomes_ac": 1653,
      "gnomad_genomes_ac": 179,
      "gnomad_exomes_homalt": 9,
      "gnomad_genomes_homalt": 1,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "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": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 0.281,
      "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": -1,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PVS1_Strong,BP6,BS2",
      "acmg_by_gene": [
        {
          "score": -1,
          "benign_score": 5,
          "pathogenic_score": 4,
          "criteria": [
            "PVS1_Strong",
            "BP6",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_001410827.1",
          "gene_symbol": "CSF2RB",
          "hgnc_id": 2436,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.2142delC",
          "hgvs_p": "p.Ser715fs"
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:2 B:1",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.