← 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: X-37453344-A-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 37453344,
      "ref": "A",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_001142395.2",
      "consequences": [
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "c.380A>C",
          "hgvs_p": "p.Asn127Thr",
          "transcript": "NM_001142395.2",
          "protein_id": "NP_001135867.1",
          "transcript_support_level": null,
          "aa_start": 127,
          "aa_end": null,
          "aa_length": 218,
          "cds_start": 380,
          "cds_end": null,
          "cds_length": 657,
          "cdna_start": 453,
          "cdna_end": null,
          "cdna_length": 4400,
          "mane_select": "ENST00000378628.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "c.380A>C",
          "hgvs_p": "p.Asn127Thr",
          "transcript": "ENST00000378628.9",
          "protein_id": "ENSP00000367894.4",
          "transcript_support_level": 1,
          "aa_start": 127,
          "aa_end": null,
          "aa_length": 218,
          "cds_start": 380,
          "cds_end": null,
          "cds_length": 657,
          "cdna_start": 453,
          "cdna_end": null,
          "cdna_length": 4400,
          "mane_select": "NM_001142395.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "c.380A>C",
          "hgvs_p": "p.Asn127Thr",
          "transcript": "ENST00000449135.6",
          "protein_id": "ENSP00000390332.2",
          "transcript_support_level": 1,
          "aa_start": 127,
          "aa_end": null,
          "aa_length": 218,
          "cds_start": 380,
          "cds_end": null,
          "cds_length": 657,
          "cdna_start": 536,
          "cdna_end": null,
          "cdna_length": 4481,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "n.458A>C",
          "hgvs_p": null,
          "transcript": "ENST00000470290.1",
          "protein_id": null,
          "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": 760,
          "mane_select": null,
          "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": 9,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000250349",
          "gene_hgnc_id": null,
          "hgvs_c": "c.171+27344A>C",
          "hgvs_p": null,
          "transcript": "ENST00000465127.1",
          "protein_id": "ENSP00000417050.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 279,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 840,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 954,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "c.380A>C",
          "hgvs_p": "p.Asn127Thr",
          "transcript": "NM_000950.3",
          "protein_id": "NP_000941.1",
          "transcript_support_level": null,
          "aa_start": 127,
          "aa_end": null,
          "aa_length": 218,
          "cds_start": 380,
          "cds_end": null,
          "cds_length": 657,
          "cdna_start": 544,
          "cdna_end": null,
          "cdna_length": 4491,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "c.380A>C",
          "hgvs_p": "p.Asn127Thr",
          "transcript": "NM_001173489.2",
          "protein_id": "NP_001166960.1",
          "transcript_support_level": null,
          "aa_start": 127,
          "aa_end": null,
          "aa_length": 218,
          "cds_start": 380,
          "cds_end": null,
          "cds_length": 657,
          "cdna_start": 618,
          "cdna_end": null,
          "cdna_length": 4565,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "c.380A>C",
          "hgvs_p": "p.Asn127Thr",
          "transcript": "NM_001173490.2",
          "protein_id": "NP_001166961.1",
          "transcript_support_level": null,
          "aa_start": 127,
          "aa_end": null,
          "aa_length": 218,
          "cds_start": 380,
          "cds_end": null,
          "cds_length": 657,
          "cdna_start": 527,
          "cdna_end": null,
          "cdna_length": 4474,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "c.380A>C",
          "hgvs_p": "p.Asn127Thr",
          "transcript": "ENST00000466533.5",
          "protein_id": "ENSP00000418384.1",
          "transcript_support_level": 3,
          "aa_start": 127,
          "aa_end": null,
          "aa_length": 148,
          "cds_start": 380,
          "cds_end": null,
          "cds_length": 447,
          "cdna_start": 561,
          "cdna_end": null,
          "cdna_length": 628,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "n.347A>C",
          "hgvs_p": null,
          "transcript": "ENST00000491253.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": 650,
          "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": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "c.171+27344A>C",
          "hgvs_p": null,
          "transcript": "ENST00000850644.1",
          "protein_id": "ENSP00000520923.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 59,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 180,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1234,
          "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": 5,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "n.172-8254A>C",
          "hgvs_p": null,
          "transcript": "ENST00000850645.1",
          "protein_id": "ENSP00000520924.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": 1315,
          "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": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PRRG1",
          "gene_hgnc_id": 9469,
          "hgvs_c": "c.*36A>C",
          "hgvs_p": null,
          "transcript": "ENST00000484460.5",
          "protein_id": "ENSP00000420353.1",
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 113,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 344,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 582,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PRRG1",
      "gene_hgnc_id": 9469,
      "dbsnp": null,
      "frequency_reference_population": 0.0000018231026,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 2,
      "gnomad_exomes_af": 0.0000018231,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 2,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.25540637969970703,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.411,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.1064,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.18,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 2.542,
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_001142395.2",
          "gene_symbol": "PRRG1",
          "hgnc_id": 9469,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.380A>C",
          "hgvs_p": "p.Asn127Thr"
        },
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000465127.1",
          "gene_symbol": "ENSG00000250349",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.171+27344A>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}