← 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: 1-24162788-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 24162788,
      "ref": "T",
      "alt": "C",
      "effect": "intron_variant",
      "transcript": "NM_170743.4",
      "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": 7,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.368-1104A>G",
          "hgvs_p": null,
          "transcript": "NM_170743.4",
          "protein_id": "NP_734464.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 520,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1563,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4566,
          "mane_select": "ENST00000327535.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_170743.4"
        },
        {
          "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": 7,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.368-1104A>G",
          "hgvs_p": null,
          "transcript": "ENST00000327535.6",
          "protein_id": "ENSP00000327824.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 520,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1563,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4566,
          "mane_select": "NM_170743.4",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000327535.6"
        },
        {
          "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": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.368-1104A>G",
          "hgvs_p": null,
          "transcript": "ENST00000374421.7",
          "protein_id": "ENSP00000363542.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 491,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1476,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1476,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000374421.7"
        },
        {
          "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": 6,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.368-1104A>G",
          "hgvs_p": null,
          "transcript": "ENST00000327575.6",
          "protein_id": "ENSP00000328994.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 244,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 735,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1476,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000327575.6"
        },
        {
          "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": 3,
          "intron_rank_end": null,
          "gene_symbol": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.368-1104A>G",
          "hgvs_p": null,
          "transcript": "ENST00000374418.3",
          "protein_id": "ENSP00000363539.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 211,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 636,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 674,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000374418.3"
        },
        {
          "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": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.368-1104A>G",
          "hgvs_p": null,
          "transcript": "NM_173064.3",
          "protein_id": "NP_775087.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 491,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1476,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4479,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_173064.3"
        },
        {
          "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": 5,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.368-3606A>G",
          "hgvs_p": null,
          "transcript": "ENST00000923176.1",
          "protein_id": "ENSP00000593235.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 419,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1260,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4244,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000923176.1"
        },
        {
          "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": 5,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.59-1104A>G",
          "hgvs_p": null,
          "transcript": "ENST00000873466.1",
          "protein_id": "ENSP00000543525.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 417,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1254,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3413,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000873466.1"
        },
        {
          "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": 6,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.368-1104A>G",
          "hgvs_p": null,
          "transcript": "NM_173065.3",
          "protein_id": "NP_775088.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 244,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 735,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4435,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_173065.3"
        },
        {
          "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": 6,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.119-1104A>G",
          "hgvs_p": null,
          "transcript": "ENST00000374419.1",
          "protein_id": "ENSP00000363540.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 185,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 558,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 953,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000374419.1"
        },
        {
          "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": 6,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.275-1104A>G",
          "hgvs_p": null,
          "transcript": "XM_006710394.5",
          "protein_id": "XP_006710457.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 489,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1470,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4616,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006710394.5"
        },
        {
          "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": 6,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "IFNLR1",
          "gene_hgnc_id": 18584,
          "hgvs_c": "c.119-1104A>G",
          "hgvs_p": null,
          "transcript": "XM_017000479.2",
          "protein_id": "XP_016855968.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 437,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1314,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4579,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017000479.2"
        }
      ],
      "gene_symbol": "IFNLR1",
      "gene_hgnc_id": 18584,
      "dbsnp": "rs12035802",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": 0,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": 0,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.9200000166893005,
      "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.92,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -1.639,
      "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_170743.4",
          "gene_symbol": "IFNLR1",
          "hgnc_id": 18584,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.368-1104A>G",
          "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
}
For research and educational, non-commercial use only. Not for clinical or diagnostic use. GeneBe does not provide medical advice. Data use for AI modeling is prohibited: if used, the cost is $0.001 per byte of downloaded uncompressed data.