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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "22",
      "pos": 23825341,
      "ref": "C",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "ENST00000644036.2",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "c.912C>A",
          "hgvs_p": "p.Gly304Gly",
          "transcript": "NM_003073.5",
          "protein_id": "NP_003064.2",
          "transcript_support_level": null,
          "aa_start": 304,
          "aa_end": null,
          "aa_length": 385,
          "cds_start": 912,
          "cds_end": null,
          "cds_length": 1158,
          "cdna_start": 1116,
          "cdna_end": null,
          "cdna_length": 5191,
          "mane_select": "ENST00000644036.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "c.912C>A",
          "hgvs_p": "p.Gly304Gly",
          "transcript": "ENST00000644036.2",
          "protein_id": "ENSP00000494049.2",
          "transcript_support_level": null,
          "aa_start": 304,
          "aa_end": null,
          "aa_length": 385,
          "cds_start": 912,
          "cds_end": null,
          "cds_length": 1158,
          "cdna_start": 1116,
          "cdna_end": null,
          "cdna_length": 5191,
          "mane_select": "NM_003073.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "c.885C>A",
          "hgvs_p": "p.Gly295Gly",
          "transcript": "ENST00000407422.8",
          "protein_id": "ENSP00000383984.3",
          "transcript_support_level": 1,
          "aa_start": 295,
          "aa_end": null,
          "aa_length": 376,
          "cds_start": 885,
          "cds_end": null,
          "cds_length": 1131,
          "cdna_start": 1124,
          "cdna_end": null,
          "cdna_length": 1730,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "c.774C>A",
          "hgvs_p": "p.Gly258Gly",
          "transcript": "ENST00000263121.12",
          "protein_id": "ENSP00000263121.8",
          "transcript_support_level": 1,
          "aa_start": 258,
          "aa_end": null,
          "aa_length": 339,
          "cds_start": 774,
          "cds_end": null,
          "cds_length": 1020,
          "cdna_start": 933,
          "cdna_end": null,
          "cdna_length": 1500,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "c.966C>A",
          "hgvs_p": "p.Gly322Gly",
          "transcript": "NM_001362877.2",
          "protein_id": "NP_001349806.1",
          "transcript_support_level": null,
          "aa_start": 322,
          "aa_end": null,
          "aa_length": 403,
          "cds_start": 966,
          "cds_end": null,
          "cds_length": 1212,
          "cdna_start": 1170,
          "cdna_end": null,
          "cdna_length": 5245,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "c.939C>A",
          "hgvs_p": "p.Gly313Gly",
          "transcript": "NM_001317946.2",
          "protein_id": "NP_001304875.1",
          "transcript_support_level": null,
          "aa_start": 313,
          "aa_end": null,
          "aa_length": 394,
          "cds_start": 939,
          "cds_end": null,
          "cds_length": 1185,
          "cdna_start": 1143,
          "cdna_end": null,
          "cdna_length": 5218,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "c.939C>A",
          "hgvs_p": "p.Gly313Gly",
          "transcript": "ENST00000344921.11",
          "protein_id": "ENSP00000340883.6",
          "transcript_support_level": 2,
          "aa_start": 313,
          "aa_end": null,
          "aa_length": 394,
          "cds_start": 939,
          "cds_end": null,
          "cds_length": 1185,
          "cdna_start": 1146,
          "cdna_end": null,
          "cdna_length": 1717,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "c.885C>A",
          "hgvs_p": "p.Gly295Gly",
          "transcript": "NM_001007468.3",
          "protein_id": "NP_001007469.1",
          "transcript_support_level": null,
          "aa_start": 295,
          "aa_end": null,
          "aa_length": 376,
          "cds_start": 885,
          "cds_end": null,
          "cds_length": 1131,
          "cdna_start": 1089,
          "cdna_end": null,
          "cdna_length": 5164,
          "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": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "n.2063C>A",
          "hgvs_p": null,
          "transcript": "ENST00000477836.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": 2153,
          "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": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "n.*979C>A",
          "hgvs_p": null,
          "transcript": "ENST00000644462.1",
          "protein_id": "ENSP00000494283.1",
          "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": 2054,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "n.2234C>A",
          "hgvs_p": null,
          "transcript": "ENST00000645799.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": 2653,
          "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": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "n.3258C>A",
          "hgvs_p": null,
          "transcript": "ENST00000646723.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": 3594,
          "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": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "n.824C>A",
          "hgvs_p": null,
          "transcript": "ENST00000646911.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": 1731,
          "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": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "n.*406C>A",
          "hgvs_p": null,
          "transcript": "ENST00000647057.1",
          "protein_id": "ENSP00000494757.1",
          "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": 1401,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "n.*979C>A",
          "hgvs_p": null,
          "transcript": "ENST00000644462.1",
          "protein_id": "ENSP00000494283.1",
          "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": 2054,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SMARCB1",
          "gene_hgnc_id": 11103,
          "hgvs_c": "n.*406C>A",
          "hgvs_p": null,
          "transcript": "ENST00000647057.1",
          "protein_id": "ENSP00000494757.1",
          "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": 1401,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SMARCB1",
      "gene_hgnc_id": 11103,
      "dbsnp": "rs374509291",
      "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.6899999976158142,
      "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.69,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -2.936,
      "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": -3,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong,BP7",
      "acmg_by_gene": [
        {
          "score": -3,
          "benign_score": 5,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong",
            "BP7"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000644036.2",
          "gene_symbol": "SMARCB1",
          "hgnc_id": 11103,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.912C>A",
          "hgvs_p": "p.Gly304Gly"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}