← 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: 16-28495506-A-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 28495506,
      "ref": "A",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_018690.4",
      "consequences": [
        {
          "aa_ref": "Q",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "APOBR",
          "gene_hgnc_id": 24087,
          "hgvs_c": "c.465A>C",
          "hgvs_p": "p.Gln155His",
          "transcript": "NM_018690.4",
          "protein_id": "NP_061160.3",
          "transcript_support_level": null,
          "aa_start": 155,
          "aa_end": null,
          "aa_length": 1097,
          "cds_start": 465,
          "cds_end": null,
          "cds_length": 3294,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000564831.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_018690.4"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "H",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "APOBR",
          "gene_hgnc_id": 24087,
          "hgvs_c": "c.465A>C",
          "hgvs_p": "p.Gln155His",
          "transcript": "ENST00000564831.6",
          "protein_id": "ENSP00000457539.1",
          "transcript_support_level": 1,
          "aa_start": 155,
          "aa_end": null,
          "aa_length": 1097,
          "cds_start": 465,
          "cds_end": null,
          "cds_length": 3294,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_018690.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000564831.6"
        },
        {
          "aa_ref": "Q",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "APOBR",
          "gene_hgnc_id": 24087,
          "hgvs_c": "c.465A>C",
          "hgvs_p": "p.Gln155His",
          "transcript": "ENST00000875807.1",
          "protein_id": "ENSP00000545866.1",
          "transcript_support_level": null,
          "aa_start": 155,
          "aa_end": null,
          "aa_length": 1109,
          "cds_start": 465,
          "cds_end": null,
          "cds_length": 3330,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000875807.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CLN3",
          "gene_hgnc_id": 2074,
          "hgvs_c": "c.-2284T>G",
          "hgvs_p": null,
          "transcript": "ENST00000569430.7",
          "protein_id": "ENSP00000454229.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 438,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1317,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000569430.7"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "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": "CLN3",
          "gene_hgnc_id": 2074,
          "hgvs_c": "n.70T>G",
          "hgvs_p": null,
          "transcript": "ENST00000566040.1",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": "pseudogene",
          "feature": "ENST00000566040.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CLN3",
          "gene_hgnc_id": 2074,
          "hgvs_c": "n.51T>G",
          "hgvs_p": null,
          "transcript": "ENST00000566816.1",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": "pseudogene",
          "feature": "ENST00000566816.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "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": "CLN3",
          "gene_hgnc_id": 2074,
          "hgvs_c": "n.40T>G",
          "hgvs_p": null,
          "transcript": "ENST00000567160.1",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": "pseudogene",
          "feature": "ENST00000567160.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CLN3",
          "gene_hgnc_id": 2074,
          "hgvs_c": "n.62T>G",
          "hgvs_p": null,
          "transcript": "ENST00000636355.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": "pseudogene",
          "feature": "ENST00000636355.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CLN3",
          "gene_hgnc_id": 2074,
          "hgvs_c": "n.29T>G",
          "hgvs_p": null,
          "transcript": "ENST00000637110.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": "pseudogene",
          "feature": "ENST00000637110.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "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": "CLN3",
          "gene_hgnc_id": 2074,
          "hgvs_c": "n.62T>G",
          "hgvs_p": null,
          "transcript": "ENST00000637686.1",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": "pseudogene",
          "feature": "ENST00000637686.1"
        }
      ],
      "gene_symbol": "APOBR",
      "gene_hgnc_id": 24087,
      "dbsnp": "rs774418227",
      "frequency_reference_population": 0.0000057350994,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 9,
      "gnomad_exomes_af": 0.00000352861,
      "gnomad_genomes_af": 0.000026265,
      "gnomad_exomes_ac": 5,
      "gnomad_genomes_ac": 4,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.053175926208496094,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.098,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.212,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.5,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.085,
      "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": -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_018690.4",
          "gene_symbol": "APOBR",
          "hgnc_id": 24087,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.465A>C",
          "hgvs_p": "p.Gln155His"
        },
        {
          "score": -5,
          "benign_score": 5,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BS1_Supporting"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000566040.1",
          "gene_symbol": "CLN3",
          "hgnc_id": 2074,
          "effects": [
            "non_coding_transcript_exon_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "n.70T>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}