← 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: 20-8740457-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "20",
      "pos": 8740457,
      "ref": "C",
      "alt": "T",
      "effect": "intron_variant",
      "transcript": "ENST00000338037.11",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": 22,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2413+9C>T",
          "hgvs_p": null,
          "transcript": "NM_015192.4",
          "protein_id": "NP_056007.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1216,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3651,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7088,
          "mane_select": "ENST00000338037.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": 22,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2413+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000338037.11",
          "protein_id": "ENSP00000338185.6",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1216,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3651,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7088,
          "mane_select": "NM_015192.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": 22,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2413+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000378637.6",
          "protein_id": "ENSP00000367904.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1173,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3522,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3864,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": 22,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2413+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000378641.7",
          "protein_id": "ENSP00000367908.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1173,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3522,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7323,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "n.1633+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000487210.5",
          "protein_id": "ENSP00000431704.1",
          "transcript_support_level": 1,
          "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": 4781,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": 22,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2413+9C>T",
          "hgvs_p": null,
          "transcript": "NM_182734.3",
          "protein_id": "NP_877398.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1173,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3522,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7206,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": 22,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2110+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000637919.1",
          "protein_id": "ENSP00000490862.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1072,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3219,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5074,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": 20,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2110+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000626966.2",
          "protein_id": "ENSP00000487075.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 960,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2883,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2996,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": 22,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.2110+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000625874.2",
          "protein_id": "ENSP00000486301.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 959,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2881,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3206,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "c.370+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000439627.2",
          "protein_id": "ENSP00000391162.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 196,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 591,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1819,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 16,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "n.1565+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000494924.2",
          "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": 2338,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": 21,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "n.2484+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000635830.1",
          "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": 3237,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": 21,
          "intron_rank_end": null,
          "gene_symbol": "PLCB1",
          "gene_hgnc_id": 15917,
          "hgvs_c": "n.2277+9C>T",
          "hgvs_p": null,
          "transcript": "ENST00000636825.1",
          "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": 3020,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PLCB1",
      "gene_hgnc_id": 15917,
      "dbsnp": "rs138442805",
      "frequency_reference_population": 0.012841944,
      "hom_count_reference_population": 141,
      "allele_count_reference_population": 18899,
      "gnomad_exomes_af": 0.0132864,
      "gnomad_genomes_af": 0.00899061,
      "gnomad_exomes_ac": 17530,
      "gnomad_genomes_ac": 1369,
      "gnomad_exomes_homalt": 130,
      "gnomad_genomes_homalt": 11,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.800000011920929,
      "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.8,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.582,
      "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,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000338037.11",
          "gene_symbol": "PLCB1",
          "hgnc_id": 15917,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.2413+9C>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": " 12,Developmental and epileptic encephalopathy,not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:4 B:2",
      "phenotype_combined": "not specified|Developmental and epileptic encephalopathy, 12|not provided",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}