← 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: 5-33963765-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "5",
      "pos": 33963765,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000296589.9",
      "consequences": [
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC45A2",
          "gene_hgnc_id": 16472,
          "hgvs_c": "c.814G>A",
          "hgvs_p": "p.Glu272Lys",
          "transcript": "NM_016180.5",
          "protein_id": "NP_057264.4",
          "transcript_support_level": null,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 530,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1593,
          "cdna_start": 924,
          "cdna_end": null,
          "cdna_length": 1728,
          "mane_select": "ENST00000296589.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC45A2",
          "gene_hgnc_id": 16472,
          "hgvs_c": "c.814G>A",
          "hgvs_p": "p.Glu272Lys",
          "transcript": "ENST00000296589.9",
          "protein_id": "ENSP00000296589.4",
          "transcript_support_level": 1,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 530,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1593,
          "cdna_start": 924,
          "cdna_end": null,
          "cdna_length": 1728,
          "mane_select": "NM_016180.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC45A2",
          "gene_hgnc_id": 16472,
          "hgvs_c": "c.814G>A",
          "hgvs_p": "p.Glu272Lys",
          "transcript": "ENST00000382102.7",
          "protein_id": "ENSP00000371534.3",
          "transcript_support_level": 1,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 460,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1383,
          "cdna_start": 872,
          "cdna_end": null,
          "cdna_length": 2723,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "SLC45A2",
          "gene_hgnc_id": 16472,
          "hgvs_c": "c.563-9261G>A",
          "hgvs_p": null,
          "transcript": "ENST00000509381.1",
          "protein_id": "ENSP00000421100.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 243,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 732,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1040,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC45A2",
          "gene_hgnc_id": 16472,
          "hgvs_c": "c.814G>A",
          "hgvs_p": "p.Glu272Lys",
          "transcript": "NM_001012509.4",
          "protein_id": "NP_001012527.2",
          "transcript_support_level": null,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 460,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1383,
          "cdna_start": 924,
          "cdna_end": null,
          "cdna_length": 2775,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC45A2",
          "gene_hgnc_id": 16472,
          "hgvs_c": "c.289G>A",
          "hgvs_p": "p.Glu97Lys",
          "transcript": "ENST00000510600.1",
          "protein_id": "ENSP00000424010.1",
          "transcript_support_level": 3,
          "aa_start": 97,
          "aa_end": null,
          "aa_length": 245,
          "cds_start": 289,
          "cds_end": null,
          "cds_length": 738,
          "cdna_start": 291,
          "cdna_end": null,
          "cdna_length": 740,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC45A2",
          "gene_hgnc_id": 16472,
          "hgvs_c": "c.814G>A",
          "hgvs_p": "p.Glu272Lys",
          "transcript": "XM_047417260.1",
          "protein_id": "XP_047273216.1",
          "transcript_support_level": null,
          "aa_start": 272,
          "aa_end": null,
          "aa_length": 365,
          "cds_start": 814,
          "cds_end": null,
          "cds_length": 1098,
          "cdna_start": 924,
          "cdna_end": null,
          "cdna_length": 2301,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SLC45A2",
          "gene_hgnc_id": 16472,
          "hgvs_c": "n.616G>A",
          "hgvs_p": null,
          "transcript": "ENST00000505056.1",
          "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": 739,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "SLC45A2",
          "gene_hgnc_id": 16472,
          "hgvs_c": "c.563-9261G>A",
          "hgvs_p": null,
          "transcript": "NM_001297417.4",
          "protein_id": "NP_001284346.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 243,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 732,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1122,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "SLC45A2",
          "gene_hgnc_id": 16472,
          "hgvs_c": "c.648+166G>A",
          "hgvs_p": null,
          "transcript": "XM_047417259.1",
          "protein_id": "XP_047273215.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 450,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1353,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1488,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SLC45A2",
      "gene_hgnc_id": 16472,
      "dbsnp": "rs26722",
      "frequency_reference_population": 0.050067034,
      "hom_count_reference_population": 8984,
      "allele_count_reference_population": 80813,
      "gnomad_exomes_af": 0.0483957,
      "gnomad_genomes_af": 0.0661171,
      "gnomad_exomes_ac": 70748,
      "gnomad_genomes_ac": 10065,
      "gnomad_exomes_homalt": 7885,
      "gnomad_genomes_homalt": 1099,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0029143989086151123,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.258,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1071,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.15,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 2.054,
      "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": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000296589.9",
          "gene_symbol": "SLC45A2",
          "hgnc_id": 16472,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.814G>A",
          "hgvs_p": "p.Glu272Lys"
        }
      ],
      "clinvar_disease": " BLACK/NONBLACK HAIR,Oculocutaneous albinism type 4,SKIN/HAIR/EYE PIGMENTATION 5,SLC45A2-related disorder,not provided",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:1 B:3",
      "phenotype_combined": "SKIN/HAIR/EYE PIGMENTATION 5, BLACK/NONBLACK HAIR|not provided|Oculocutaneous albinism type 4|SLC45A2-related disorder",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}