← 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: 9-96240719-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "9",
      "pos": 96240719,
      "ref": "C",
      "alt": "T",
      "effect": "intron_variant",
      "transcript": "NM_000197.2",
      "consequences": [
        {
          "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": 11,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "HSD17B3",
          "gene_hgnc_id": 5212,
          "hgvs_c": "c.822+39G>A",
          "hgvs_p": null,
          "transcript": "NM_000197.2",
          "protein_id": "NP_000188.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 310,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 933,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1159,
          "mane_select": "ENST00000375263.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "HSD17B3",
          "gene_hgnc_id": 5212,
          "hgvs_c": "c.822+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000375263.8",
          "protein_id": "ENSP00000364412.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 310,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 933,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1159,
          "mane_select": "NM_000197.2",
          "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": 10,
          "intron_rank": 9,
          "intron_rank_end": null,
          "gene_symbol": "HSD17B3",
          "gene_hgnc_id": 5212,
          "hgvs_c": "c.672+3610G>A",
          "hgvs_p": null,
          "transcript": "ENST00000375262.4",
          "protein_id": "ENSP00000364411.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 260,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 783,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 783,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": 21,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000285269",
          "gene_hgnc_id": null,
          "hgvs_c": "n.*2498+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000643789.1",
          "protein_id": "ENSP00000494818.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": 3333,
          "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": 10,
          "intron_rank": 9,
          "intron_rank_end": null,
          "gene_symbol": "HSD17B3",
          "gene_hgnc_id": 5212,
          "hgvs_c": "c.714+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000648799.1",
          "protein_id": "ENSP00000498039.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 244,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 737,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 775,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": 15,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000285269",
          "gene_hgnc_id": null,
          "hgvs_c": "n.2364+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000463517.2",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": 2599,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": 15,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000285269",
          "gene_hgnc_id": null,
          "hgvs_c": "n.1760+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000464104.6",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": 2000,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 9,
          "intron_rank_end": null,
          "gene_symbol": "HSD17B3",
          "gene_hgnc_id": 5212,
          "hgvs_c": "n.*521+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000467499.6",
          "protein_id": "ENSP00000498077.1",
          "transcript_support_level": 3,
          "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": 1079,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "HSD17B3",
          "gene_hgnc_id": 5212,
          "hgvs_c": "n.173+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000484816.2",
          "protein_id": null,
          "transcript_support_level": 3,
          "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": 518,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "HSD17B3",
          "gene_hgnc_id": 5212,
          "hgvs_c": "n.372+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000494814.6",
          "protein_id": null,
          "transcript_support_level": 5,
          "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": 637,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "HSD17B3",
          "gene_hgnc_id": 5212,
          "hgvs_c": "n.822+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000648146.1",
          "protein_id": "ENSP00000497238.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": 1068,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "HSD17B3",
          "gene_hgnc_id": 5212,
          "hgvs_c": "n.*172+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000648332.1",
          "protein_id": "ENSP00000497562.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": 607,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "HSD17B3",
          "gene_hgnc_id": 5212,
          "hgvs_c": "n.*172+39G>A",
          "hgvs_p": null,
          "transcript": "ENST00000650005.1",
          "protein_id": "ENSP00000498121.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": 859,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": 25,
          "intron_rank_end": null,
          "gene_symbol": "SLC35D2-HSD17B3",
          "gene_hgnc_id": null,
          "hgvs_c": "n.3589+39G>A",
          "hgvs_p": null,
          "transcript": "NR_182427.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": 3854,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "HSD17B3",
      "gene_hgnc_id": 5212,
      "dbsnp": "rs35264203",
      "frequency_reference_population": 0.001328055,
      "hom_count_reference_population": 29,
      "allele_count_reference_population": 2141,
      "gnomad_exomes_af": 0.000712408,
      "gnomad_genomes_af": 0.00722944,
      "gnomad_exomes_ac": 1040,
      "gnomad_genomes_ac": 1101,
      "gnomad_exomes_homalt": 15,
      "gnomad_genomes_homalt": 14,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8799999952316284,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.07000000029802322,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.88,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.211,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.07,
      "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": -14,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -14,
          "benign_score": 14,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_000197.2",
          "gene_symbol": "HSD17B3",
          "hgnc_id": 5212,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.822+39G>A",
          "hgvs_p": null
        },
        {
          "score": -14,
          "benign_score": 14,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000643789.1",
          "gene_symbol": "ENSG00000285269",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.*2498+39G>A",
          "hgvs_p": null
        },
        {
          "score": -14,
          "benign_score": 14,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NR_182427.1",
          "gene_symbol": "SLC35D2-HSD17B3",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.3589+39G>A",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LB:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}