← 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: 10-87743589-C-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "10",
      "pos": 87743589,
      "ref": "C",
      "alt": "A",
      "effect": "stop_gained",
      "transcript": "NM_001015880.2",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.1439C>A",
          "hgvs_p": "p.Ser480*",
          "transcript": "NM_001015880.2",
          "protein_id": "NP_001015880.1",
          "transcript_support_level": null,
          "aa_start": 480,
          "aa_end": null,
          "aa_length": 619,
          "cds_start": 1439,
          "cds_end": null,
          "cds_length": 1860,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000456849.2",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001015880.2"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.1439C>A",
          "hgvs_p": "p.Ser480*",
          "transcript": "ENST00000456849.2",
          "protein_id": "ENSP00000406157.1",
          "transcript_support_level": 1,
          "aa_start": 480,
          "aa_end": null,
          "aa_length": 619,
          "cds_start": 1439,
          "cds_end": null,
          "cds_length": 1860,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001015880.2",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000456849.2"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.1424C>A",
          "hgvs_p": "p.Ser475*",
          "transcript": "ENST00000361175.8",
          "protein_id": "ENSP00000354436.4",
          "transcript_support_level": 1,
          "aa_start": 475,
          "aa_end": null,
          "aa_length": 614,
          "cds_start": 1424,
          "cds_end": null,
          "cds_length": 1845,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000361175.8"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.1493C>A",
          "hgvs_p": "p.Ser498*",
          "transcript": "ENST00000904622.1",
          "protein_id": "ENSP00000574681.1",
          "transcript_support_level": null,
          "aa_start": 498,
          "aa_end": null,
          "aa_length": 637,
          "cds_start": 1493,
          "cds_end": null,
          "cds_length": 1914,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000904622.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.1475C>A",
          "hgvs_p": "p.Ser492*",
          "transcript": "ENST00000904623.1",
          "protein_id": "ENSP00000574682.1",
          "transcript_support_level": null,
          "aa_start": 492,
          "aa_end": null,
          "aa_length": 631,
          "cds_start": 1475,
          "cds_end": null,
          "cds_length": 1896,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000904623.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.1424C>A",
          "hgvs_p": "p.Ser475*",
          "transcript": "NM_004670.4",
          "protein_id": "NP_004661.2",
          "transcript_support_level": null,
          "aa_start": 475,
          "aa_end": null,
          "aa_length": 614,
          "cds_start": 1424,
          "cds_end": null,
          "cds_length": 1845,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_004670.4"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.1421C>A",
          "hgvs_p": "p.Ser474*",
          "transcript": "ENST00000947767.1",
          "protein_id": "ENSP00000617826.1",
          "transcript_support_level": null,
          "aa_start": 474,
          "aa_end": null,
          "aa_length": 613,
          "cds_start": 1421,
          "cds_end": null,
          "cds_length": 1842,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000947767.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.1424C>A",
          "hgvs_p": "p.Ser475*",
          "transcript": "ENST00000904625.1",
          "protein_id": "ENSP00000574684.1",
          "transcript_support_level": null,
          "aa_start": 475,
          "aa_end": null,
          "aa_length": 612,
          "cds_start": 1424,
          "cds_end": null,
          "cds_length": 1839,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000904625.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.1391C>A",
          "hgvs_p": "p.Ser464*",
          "transcript": "ENST00000947766.1",
          "protein_id": "ENSP00000617825.1",
          "transcript_support_level": null,
          "aa_start": 464,
          "aa_end": null,
          "aa_length": 603,
          "cds_start": 1391,
          "cds_end": null,
          "cds_length": 1812,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000947766.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.1376C>A",
          "hgvs_p": "p.Ser459*",
          "transcript": "ENST00000928413.1",
          "protein_id": "ENSP00000598472.1",
          "transcript_support_level": null,
          "aa_start": 459,
          "aa_end": null,
          "aa_length": 598,
          "cds_start": 1376,
          "cds_end": null,
          "cds_length": 1797,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000928413.1"
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PAPSS2",
          "gene_hgnc_id": 8604,
          "hgvs_c": "c.380C>A",
          "hgvs_p": "p.Ser127*",
          "transcript": "ENST00000904624.1",
          "protein_id": "ENSP00000574683.1",
          "transcript_support_level": null,
          "aa_start": 127,
          "aa_end": null,
          "aa_length": 266,
          "cds_start": 380,
          "cds_end": null,
          "cds_length": 801,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000904624.1"
        }
      ],
      "gene_symbol": "PAPSS2",
      "gene_hgnc_id": 8604,
      "dbsnp": "rs121908950",
      "frequency_reference_population": 6.8406285e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 6.84063e-7,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 1,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6299999952316284,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.5400000214576721,
      "splice_prediction_selected": "Pathogenic",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.63,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 1.94,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.54,
      "spliceai_max_prediction": "Pathogenic",
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 13,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP3,PP5_Moderate",
      "acmg_by_gene": [
        {
          "score": 13,
          "benign_score": 0,
          "pathogenic_score": 13,
          "criteria": [
            "PVS1",
            "PM2",
            "PP3",
            "PP5_Moderate"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_001015880.2",
          "gene_symbol": "PAPSS2",
          "hgnc_id": 8604,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1439C>A",
          "hgvs_p": "p.Ser480*"
        }
      ],
      "clinvar_disease": " PAPSS2 type,Spondyloepimetaphyseal dysplasia",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "P:1",
      "phenotype_combined": "Spondyloepimetaphyseal dysplasia, PAPSS2 type",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}