← 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: 12-27963346-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 27963346,
      "ref": "A",
      "alt": "G",
      "effect": "splice_donor_variant,intron_variant",
      "transcript": "ENST00000545234.6",
      "consequences": [
        {
          "aa_ref": "*",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_lost"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.526T>C",
          "hgvs_p": "p.Ter176Glnext*?",
          "transcript": "ENST00000395868.7",
          "protein_id": "ENSP00000379209.3",
          "transcript_support_level": 1,
          "aa_start": 176,
          "aa_end": null,
          "aa_length": 175,
          "cds_start": 526,
          "cds_end": null,
          "cds_length": 528,
          "cdna_start": 915,
          "cdna_end": null,
          "cdna_length": 1674,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "*",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_lost"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.526T>C",
          "hgvs_p": "p.Ter176Glnext*?",
          "transcript": "ENST00000535992.5",
          "protein_id": "ENSP00000440613.1",
          "transcript_support_level": 1,
          "aa_start": 176,
          "aa_end": null,
          "aa_length": 175,
          "cds_start": 526,
          "cds_end": null,
          "cds_length": 528,
          "cdna_start": 873,
          "cdna_end": null,
          "cdna_length": 1891,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.524+2T>C",
          "hgvs_p": null,
          "transcript": "NM_198965.2",
          "protein_id": "NP_945316.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1578,
          "mane_select": "ENST00000545234.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.524+2T>C",
          "hgvs_p": null,
          "transcript": "ENST00000545234.6",
          "protein_id": "ENSP00000441765.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1578,
          "mane_select": "NM_198965.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "*",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_lost"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.526T>C",
          "hgvs_p": "p.Ter176Glnext*?",
          "transcript": "NM_002820.3",
          "protein_id": "NP_002811.1",
          "transcript_support_level": null,
          "aa_start": 176,
          "aa_end": null,
          "aa_length": 175,
          "cds_start": 526,
          "cds_end": null,
          "cds_length": 528,
          "cdna_start": 887,
          "cdna_end": null,
          "cdna_length": 1912,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "*",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_lost"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.526T>C",
          "hgvs_p": "p.Ter176Glnext*?",
          "transcript": "NM_198964.2",
          "protein_id": "NP_945315.1",
          "transcript_support_level": null,
          "aa_start": 176,
          "aa_end": null,
          "aa_length": 175,
          "cds_start": 526,
          "cds_end": null,
          "cds_length": 528,
          "cdna_start": 844,
          "cdna_end": null,
          "cdna_length": 1869,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "*",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_lost"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.526T>C",
          "hgvs_p": "p.Ter176Glnext*?",
          "transcript": "ENST00000201015.8",
          "protein_id": "ENSP00000201015.4",
          "transcript_support_level": 3,
          "aa_start": 176,
          "aa_end": null,
          "aa_length": 175,
          "cds_start": 526,
          "cds_end": null,
          "cds_length": 528,
          "cdna_start": 848,
          "cdna_end": null,
          "cdna_length": 1872,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.524+2T>C",
          "hgvs_p": null,
          "transcript": "ENST00000538310.1",
          "protein_id": "ENSP00000441890.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 209,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 630,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 854,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.524+2T>C",
          "hgvs_p": null,
          "transcript": "NM_198966.2",
          "protein_id": "NP_945317.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1327,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.524+2T>C",
          "hgvs_p": null,
          "transcript": "ENST00000395872.5",
          "protein_id": "ENSP00000379213.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1318,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.524+2T>C",
          "hgvs_p": null,
          "transcript": "ENST00000539239.5",
          "protein_id": "ENSP00000441571.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 890,
          "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": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000257042",
          "gene_hgnc_id": null,
          "hgvs_c": "n.90+4740A>G",
          "hgvs_p": null,
          "transcript": "ENST00000538113.1",
          "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": 792,
          "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": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000257042",
          "gene_hgnc_id": null,
          "hgvs_c": "n.408+4740A>G",
          "hgvs_p": null,
          "transcript": "ENST00000825469.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": 1116,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.524+2T>C",
          "hgvs_p": null,
          "transcript": "XM_017019675.2",
          "protein_id": "XP_016875164.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1485,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.524+2T>C",
          "hgvs_p": null,
          "transcript": "XM_047429178.1",
          "protein_id": "XP_047285134.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1287,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.524+2T>C",
          "hgvs_p": null,
          "transcript": "XM_047429179.1",
          "protein_id": "XP_047285135.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 177,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 534,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1922,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.*10T>C",
          "hgvs_p": null,
          "transcript": "ENST00000542963.1",
          "protein_id": "ENSP00000444519.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 171,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 516,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 746,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTHLH",
          "gene_hgnc_id": 9607,
          "hgvs_c": "c.*217T>C",
          "hgvs_p": null,
          "transcript": "ENST00000534890.1",
          "protein_id": "ENSP00000445157.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 110,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 333,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 457,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PTHLH",
      "gene_hgnc_id": 9607,
      "dbsnp": "rs1555124505",
      "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.36000001430511475,
      "computational_prediction_selected": "Pathogenic",
      "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.36,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 4.337,
      "phylop100way_prediction": "Uncertain_significance",
      "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": 8,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PVS1_Strong,PM2,PP5_Moderate",
      "acmg_by_gene": [
        {
          "score": 8,
          "benign_score": 0,
          "pathogenic_score": 8,
          "criteria": [
            "PVS1_Strong",
            "PM2",
            "PP5_Moderate"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000545234.6",
          "gene_symbol": "PTHLH",
          "hgnc_id": 9607,
          "effects": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.524+2T>C",
          "hgvs_p": null
        },
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PM2",
            "PP3_Moderate",
            "PP5_Moderate"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000538113.1",
          "gene_symbol": "ENSG00000257042",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.90+4740A>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Inborn genetic diseases",
      "clinvar_classification": "Likely pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LP:1",
      "phenotype_combined": "Inborn genetic diseases",
      "pathogenicity_classification_combined": "Likely pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}