← 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: 4-87612186-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 87612186,
      "ref": "C",
      "alt": "T",
      "effect": "stop_gained,splice_region_variant",
      "transcript": "ENST00000651931.1",
      "consequences": [
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained",
            "splice_region_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DSPP",
          "gene_hgnc_id": 3054,
          "hgvs_c": "c.133C>T",
          "hgvs_p": "p.Gln45*",
          "transcript": "NM_014208.3",
          "protein_id": "NP_055023.2",
          "transcript_support_level": null,
          "aa_start": 45,
          "aa_end": null,
          "aa_length": 1301,
          "cds_start": 133,
          "cds_end": null,
          "cds_length": 3906,
          "cdna_start": 253,
          "cdna_end": null,
          "cdna_length": 4331,
          "mane_select": "ENST00000651931.1",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained",
            "splice_region_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DSPP",
          "gene_hgnc_id": 3054,
          "hgvs_c": "c.133C>T",
          "hgvs_p": "p.Gln45*",
          "transcript": "ENST00000651931.1",
          "protein_id": "ENSP00000498766.1",
          "transcript_support_level": null,
          "aa_start": 45,
          "aa_end": null,
          "aa_length": 1301,
          "cds_start": 133,
          "cds_end": null,
          "cds_length": 3906,
          "cdna_start": 253,
          "cdna_end": null,
          "cdna_length": 4331,
          "mane_select": "NM_014208.3",
          "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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000249001",
          "gene_hgnc_id": 58144,
          "hgvs_c": "n.323-43653G>A",
          "hgvs_p": null,
          "transcript": "ENST00000506480.5",
          "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": 821,
          "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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000249001",
          "gene_hgnc_id": 58144,
          "hgvs_c": "n.357-43653G>A",
          "hgvs_p": null,
          "transcript": "ENST00000829286.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": 457,
          "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": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000249001",
          "gene_hgnc_id": 58144,
          "hgvs_c": "n.349-31687G>A",
          "hgvs_p": null,
          "transcript": "ENST00000829287.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": 699,
          "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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000249001",
          "gene_hgnc_id": 58144,
          "hgvs_c": "n.348-32350G>A",
          "hgvs_p": null,
          "transcript": "ENST00000829288.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": 644,
          "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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000249001",
          "gene_hgnc_id": 58144,
          "hgvs_c": "n.302-2932G>A",
          "hgvs_p": null,
          "transcript": "ENST00000829289.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": 584,
          "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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000249001",
          "gene_hgnc_id": 58144,
          "hgvs_c": "n.357-2932G>A",
          "hgvs_p": null,
          "transcript": "ENST00000829290.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": 645,
          "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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000249001",
          "gene_hgnc_id": 58144,
          "hgvs_c": "n.370-2932G>A",
          "hgvs_p": null,
          "transcript": "ENST00000829291.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": 652,
          "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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "DMP1-AS1",
          "gene_hgnc_id": 58144,
          "hgvs_c": "n.367-43653G>A",
          "hgvs_p": null,
          "transcript": "NR_198971.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": 841,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "DSPP",
      "gene_hgnc_id": 3054,
      "dbsnp": "rs121912985",
      "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.5699999928474426,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.9700000286102295,
      "splice_prediction_selected": "Pathogenic",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.57,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 3.466,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.57,
      "spliceai_max_prediction": "Pathogenic",
      "dbscsnv_ada_score": 0.998573433762643,
      "dbscsnv_ada_prediction": "Pathogenic",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 12,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP3,PP5",
      "acmg_by_gene": [
        {
          "score": 12,
          "benign_score": 0,
          "pathogenic_score": 12,
          "criteria": [
            "PVS1",
            "PM2",
            "PP3",
            "PP5"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000651931.1",
          "gene_symbol": "DSPP",
          "hgnc_id": 3054,
          "effects": [
            "stop_gained",
            "splice_region_variant"
          ],
          "inheritance_mode": "AD,Unknown",
          "hgvs_c": "c.133C>T",
          "hgvs_p": "p.Gln45*"
        },
        {
          "score": 4,
          "benign_score": 0,
          "pathogenic_score": 4,
          "criteria": [
            "PM2",
            "PP3",
            "PP5"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000506480.5",
          "gene_symbol": "ENSG00000249001",
          "hgnc_id": 58144,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.323-43653G>A",
          "hgvs_p": null
        },
        {
          "score": 4,
          "benign_score": 0,
          "pathogenic_score": 4,
          "criteria": [
            "PM2",
            "PP3",
            "PP5"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NR_198971.1",
          "gene_symbol": "DMP1-AS1",
          "hgnc_id": 58144,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.367-43653G>A",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Dentinogenesis imperfecta type 2",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Dentinogenesis imperfecta type 2",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}