← 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: 21-36749236-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "21",
      "pos": 36749236,
      "ref": "T",
      "alt": "G",
      "effect": "3_prime_UTR_variant",
      "transcript": "ENST00000290399.11",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "NM_001352514.2",
          "protein_id": "NP_001339443.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 873,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2622,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8273,
          "mane_select": "ENST00000674895.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "ENST00000674895.3",
          "protein_id": "ENSP00000502087.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 873,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2622,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8273,
          "mane_select": "NM_001352514.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SIM2",
          "gene_hgnc_id": 10883,
          "hgvs_c": "c.*1144T>G",
          "hgvs_p": null,
          "transcript": "NM_005069.6",
          "protein_id": "NP_005060.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 667,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2004,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4461,
          "mane_select": "ENST00000290399.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SIM2",
          "gene_hgnc_id": 10883,
          "hgvs_c": "c.*1144T>G",
          "hgvs_p": null,
          "transcript": "ENST00000290399.11",
          "protein_id": "ENSP00000290399.6",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 667,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2004,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4461,
          "mane_select": "NM_005069.6",
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "n.7716A>C",
          "hgvs_p": null,
          "transcript": "NR_148020.2",
          "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": 8326,
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "n.7873A>C",
          "hgvs_p": null,
          "transcript": "NR_148021.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": 8484,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "NM_000411.8",
          "protein_id": "NP_000402.3",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 726,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2181,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8247,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "NM_001242784.3",
          "protein_id": "NP_001229713.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 726,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2181,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 9228,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "NM_001242785.2",
          "protein_id": "NP_001229714.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 726,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2181,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8405,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "NM_001352515.2",
          "protein_id": "NP_001339444.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 726,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2181,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8101,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "NM_001352516.2",
          "protein_id": "NP_001339445.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 726,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2181,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8304,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "NM_001352517.1",
          "protein_id": "NP_001339446.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 726,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2181,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8259,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "NM_001352518.2",
          "protein_id": "NP_001339447.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 726,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2181,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8117,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "XM_047440752.1",
          "protein_id": "XP_047296708.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 821,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2466,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 11575,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "XM_047440754.1",
          "protein_id": "XP_047296710.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 726,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2181,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7933,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HLCS",
          "gene_hgnc_id": 4976,
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null,
          "transcript": "XM_024452065.2",
          "protein_id": "XP_024307833.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 669,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2010,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7939,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SIM2",
          "gene_hgnc_id": 10883,
          "hgvs_c": "c.*1144T>G",
          "hgvs_p": null,
          "transcript": "XM_011529694.2",
          "protein_id": "XP_011527996.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 566,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1701,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4612,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SIM2",
          "gene_hgnc_id": 10883,
          "hgvs_c": "c.*1144T>G",
          "hgvs_p": null,
          "transcript": "XM_047440952.1",
          "protein_id": "XP_047296908.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 566,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1701,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6598,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SIM2",
      "gene_hgnc_id": 10883,
      "dbsnp": "rs2051397",
      "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.949999988079071,
      "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.95,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.189,
      "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": -2,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000290399.11",
          "gene_symbol": "SIM2",
          "hgnc_id": 10883,
          "effects": [
            "3_prime_UTR_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.*1144T>G",
          "hgvs_p": null
        },
        {
          "score": -2,
          "benign_score": 4,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000674895.3",
          "gene_symbol": "HLCS",
          "hgnc_id": 4976,
          "effects": [
            "3_prime_UTR_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.*5010A>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}