← 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: 8-38143455-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "8",
      "pos": 38143455,
      "ref": "C",
      "alt": "T",
      "effect": "3_prime_UTR_variant",
      "transcript": "NM_000349.3",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAR",
          "gene_hgnc_id": 11359,
          "hgvs_c": "c.*818G>A",
          "hgvs_p": null,
          "transcript": "NM_000349.3",
          "protein_id": "NP_000340.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 285,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 858,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000276449.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000349.3"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAR",
          "gene_hgnc_id": 11359,
          "hgvs_c": "c.*818G>A",
          "hgvs_p": null,
          "transcript": "ENST00000276449.9",
          "protein_id": "ENSP00000276449.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 285,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 858,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000349.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000276449.9"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ASH2L",
          "gene_hgnc_id": 744,
          "hgvs_c": "c.*904C>T",
          "hgvs_p": null,
          "transcript": "ENST00000971637.1",
          "protein_id": "ENSP00000641696.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 628,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1887,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000971637.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAR",
          "gene_hgnc_id": 11359,
          "hgvs_c": "c.*818G>A",
          "hgvs_p": null,
          "transcript": "ENST00000971759.1",
          "protein_id": "ENSP00000641818.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 282,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 849,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000971759.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": 18,
          "intron_rank": 17,
          "intron_rank_end": null,
          "gene_symbol": "ASH2L",
          "gene_hgnc_id": 744,
          "hgvs_c": "c.*5-284C>T",
          "hgvs_p": null,
          "transcript": "ENST00000971636.1",
          "protein_id": "ENSP00000641695.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 634,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1905,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000971636.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": 17,
          "intron_rank": 16,
          "intron_rank_end": null,
          "gene_symbol": "ASH2L",
          "gene_hgnc_id": 744,
          "hgvs_c": "c.*5-284C>T",
          "hgvs_p": null,
          "transcript": "ENST00000899868.1",
          "protein_id": "ENSP00000569927.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 628,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1887,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000899868.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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ASH2L",
          "gene_hgnc_id": 744,
          "hgvs_c": "c.*5-284C>T",
          "hgvs_p": null,
          "transcript": "ENST00000521808.5",
          "protein_id": "ENSP00000427839.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 89,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 270,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000521808.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAR",
          "gene_hgnc_id": 11359,
          "hgvs_c": "c.*818G>A",
          "hgvs_p": null,
          "transcript": "ENST00000927192.1",
          "protein_id": "ENSP00000597251.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 192,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 579,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000927192.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STAR",
          "gene_hgnc_id": 11359,
          "hgvs_c": "n.*197G>A",
          "hgvs_p": null,
          "transcript": "ENST00000520114.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": "retained_intron",
          "feature": "ENST00000520114.1"
        }
      ],
      "gene_symbol": "STAR",
      "gene_hgnc_id": 11359,
      "dbsnp": "rs558498679",
      "frequency_reference_population": 0.00061164895,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 93,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": 0.000611649,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": 93,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": 0,
      "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": null,
      "splice_prediction_selected": null,
      "splice_source_selected": null,
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.9,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.249,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": null,
      "spliceai_max_prediction": null,
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -4,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Strong",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 4,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_000349.3",
          "gene_symbol": "STAR",
          "hgnc_id": 11359,
          "effects": [
            "3_prime_UTR_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.*818G>A",
          "hgvs_p": null
        },
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000971637.1",
          "gene_symbol": "ASH2L",
          "hgnc_id": 744,
          "effects": [
            "3_prime_UTR_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.*904C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Congenital lipoid adrenal hyperplasia due to STAR deficency",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Congenital lipoid adrenal hyperplasia due to STAR deficency",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}