← 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-95443363-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "9",
      "pos": 95443363,
      "ref": "T",
      "alt": "C",
      "effect": "3_prime_UTR_variant",
      "transcript": "NM_000264.5",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "NM_000264.5",
          "protein_id": "NP_000255.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1447,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4344,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8662,
          "mane_select": "ENST00000331920.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "ENST00000331920.11",
          "protein_id": "ENSP00000332353.6",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1447,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4344,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8662,
          "mane_select": "NM_000264.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "NM_001083603.3",
          "protein_id": "NP_001077072.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1446,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4341,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7905,
          "mane_select": null,
          "mane_plus": "ENST00000437951.6",
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "ENST00000437951.6",
          "protein_id": "ENSP00000389744.2",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1446,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4341,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7905,
          "mane_select": null,
          "mane_plus": "NM_001083603.3",
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "n.8113A>G",
          "hgvs_p": null,
          "transcript": "NR_149061.2",
          "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": 8496,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "NM_001354918.2",
          "protein_id": "NP_001341847.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1395,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4188,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8506,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "NM_001083602.3",
          "protein_id": "NP_001077071.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1381,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4146,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8059,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "ENST00000711046.1",
          "protein_id": "ENSP00000518556.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1381,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4146,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8059,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "NM_001083604.3",
          "protein_id": "NP_001077073.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1296,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3891,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7663,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "NM_001083605.3",
          "protein_id": "NP_001077074.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1296,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3891,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7646,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "NM_001083606.3",
          "protein_id": "NP_001077075.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1296,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3891,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7755,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "NM_001083607.3",
          "protein_id": "NP_001077076.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1296,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3891,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7819,
          "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": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3549A>G",
          "hgvs_p": null,
          "transcript": "ENST00000430669.6",
          "protein_id": "ENSP00000410287.2",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1381,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 4146,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8232,
          "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": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null,
          "transcript": "ENST00000692981.1",
          "protein_id": "ENSP00000510238.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 1296,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 3891,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7000,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "n.*9219A>G",
          "hgvs_p": null,
          "transcript": "ENST00000375290.6",
          "protein_id": "ENSP00000364439.2",
          "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": 10631,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "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": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "n.*49A>G",
          "hgvs_p": null,
          "transcript": "ENST00000546744.5",
          "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": 4389,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "n.*5682A>G",
          "hgvs_p": null,
          "transcript": "ENST00000690194.1",
          "protein_id": "ENSP00000509379.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": 7135,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PTCH1",
          "gene_hgnc_id": 9585,
          "hgvs_c": "n.*68A>G",
          "hgvs_p": null,
          "transcript": "ENST00000693534.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": 4653,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PTCH1",
      "gene_hgnc_id": 9585,
      "dbsnp": "rs28485160",
      "frequency_reference_population": 0.1930354,
      "hom_count_reference_population": 5004,
      "allele_count_reference_population": 29424,
      "gnomad_exomes_af": 0.0728477,
      "gnomad_genomes_af": 0.193274,
      "gnomad_exomes_ac": 22,
      "gnomad_genomes_ac": 29402,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 5004,
      "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,
      "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": -1.115,
      "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,BA1",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "NM_000264.5",
          "gene_symbol": "PTCH1",
          "hgnc_id": 9585,
          "effects": [
            "3_prime_UTR_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.*3030A>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Gorlin syndrome,Holoprosencephaly 7,not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:3",
      "phenotype_combined": "Gorlin syndrome|Holoprosencephaly 7|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}