← 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: 1-200048458-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 200048458,
      "ref": "C",
      "alt": "T",
      "effect": "synonymous_variant",
      "transcript": "ENST00000367362.8",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.750C>T",
          "hgvs_p": "p.Pro250Pro",
          "transcript": "NM_205860.3",
          "protein_id": "NP_995582.1",
          "transcript_support_level": null,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": 750,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": 888,
          "cdna_end": null,
          "cdna_length": 4969,
          "mane_select": "ENST00000367362.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.750C>T",
          "hgvs_p": "p.Pro250Pro",
          "transcript": "ENST00000367362.8",
          "protein_id": "ENSP00000356331.3",
          "transcript_support_level": 1,
          "aa_start": 250,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": 750,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": 888,
          "cdna_end": null,
          "cdna_length": 4969,
          "mane_select": "NM_205860.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.612C>T",
          "hgvs_p": "p.Pro204Pro",
          "transcript": "ENST00000236914.7",
          "protein_id": "ENSP00000236914.3",
          "transcript_support_level": 1,
          "aa_start": 204,
          "aa_end": null,
          "aa_length": 495,
          "cds_start": 612,
          "cds_end": null,
          "cds_length": 1488,
          "cdna_start": 846,
          "cdna_end": null,
          "cdna_length": 3115,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.510C>T",
          "hgvs_p": "p.Pro170Pro",
          "transcript": "ENST00000367357.3",
          "protein_id": "ENSP00000356326.3",
          "transcript_support_level": 1,
          "aa_start": 170,
          "aa_end": null,
          "aa_length": 376,
          "cds_start": 510,
          "cds_end": null,
          "cds_length": 1131,
          "cdna_start": 512,
          "cdna_end": null,
          "cdna_length": 1793,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.612C>T",
          "hgvs_p": "p.Pro204Pro",
          "transcript": "NM_003822.5",
          "protein_id": "NP_003813.1",
          "transcript_support_level": null,
          "aa_start": 204,
          "aa_end": null,
          "aa_length": 495,
          "cds_start": 612,
          "cds_end": null,
          "cds_length": 1488,
          "cdna_start": 750,
          "cdna_end": null,
          "cdna_length": 4831,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.534C>T",
          "hgvs_p": "p.Pro178Pro",
          "transcript": "NM_001276464.2",
          "protein_id": "NP_001263393.1",
          "transcript_support_level": null,
          "aa_start": 178,
          "aa_end": null,
          "aa_length": 469,
          "cds_start": 534,
          "cds_end": null,
          "cds_length": 1410,
          "cdna_start": 923,
          "cdna_end": null,
          "cdna_length": 5004,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.534C>T",
          "hgvs_p": "p.Pro178Pro",
          "transcript": "ENST00000544748.5",
          "protein_id": "ENSP00000439116.1",
          "transcript_support_level": 2,
          "aa_start": 178,
          "aa_end": null,
          "aa_length": 469,
          "cds_start": 534,
          "cds_end": null,
          "cds_length": 1410,
          "cdna_start": 689,
          "cdna_end": null,
          "cdna_length": 4775,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.726C>T",
          "hgvs_p": "p.Pro242Pro",
          "transcript": "XM_047416753.1",
          "protein_id": "XP_047272709.1",
          "transcript_support_level": null,
          "aa_start": 242,
          "aa_end": null,
          "aa_length": 533,
          "cds_start": 726,
          "cds_end": null,
          "cds_length": 1602,
          "cdna_start": 959,
          "cdna_end": null,
          "cdna_length": 5040,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.720C>T",
          "hgvs_p": "p.Pro240Pro",
          "transcript": "XM_047416762.1",
          "protein_id": "XP_047272718.1",
          "transcript_support_level": null,
          "aa_start": 240,
          "aa_end": null,
          "aa_length": 531,
          "cds_start": 720,
          "cds_end": null,
          "cds_length": 1596,
          "cdna_start": 2778,
          "cdna_end": null,
          "cdna_length": 6859,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.630C>T",
          "hgvs_p": "p.Pro210Pro",
          "transcript": "XM_011509381.4",
          "protein_id": "XP_011507683.1",
          "transcript_support_level": null,
          "aa_start": 210,
          "aa_end": null,
          "aa_length": 501,
          "cds_start": 630,
          "cds_end": null,
          "cds_length": 1506,
          "cdna_start": 2434,
          "cdna_end": null,
          "cdna_length": 6515,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.630C>T",
          "hgvs_p": "p.Pro210Pro",
          "transcript": "XM_011509384.3",
          "protein_id": "XP_011507686.1",
          "transcript_support_level": null,
          "aa_start": 210,
          "aa_end": null,
          "aa_length": 501,
          "cds_start": 630,
          "cds_end": null,
          "cds_length": 1506,
          "cdna_start": 851,
          "cdna_end": null,
          "cdna_length": 4932,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.630C>T",
          "hgvs_p": "p.Pro210Pro",
          "transcript": "XM_017000904.2",
          "protein_id": "XP_016856393.1",
          "transcript_support_level": null,
          "aa_start": 210,
          "aa_end": null,
          "aa_length": 501,
          "cds_start": 630,
          "cds_end": null,
          "cds_length": 1506,
          "cdna_start": 882,
          "cdna_end": null,
          "cdna_length": 4963,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.534C>T",
          "hgvs_p": "p.Pro178Pro",
          "transcript": "XM_005245062.4",
          "protein_id": "XP_005245119.1",
          "transcript_support_level": null,
          "aa_start": 178,
          "aa_end": null,
          "aa_length": 469,
          "cds_start": 534,
          "cds_end": null,
          "cds_length": 1410,
          "cdna_start": 956,
          "cdna_end": null,
          "cdna_length": 5037,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "NR5A2",
      "gene_hgnc_id": 7984,
      "dbsnp": "rs2821368",
      "frequency_reference_population": 6.840507e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 6.84051e-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.6150000095367432,
      "computational_prediction_selected": "Uncertain_significance",
      "computational_source_selected": "REVEL",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.615,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.39,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.095,
      "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": 1,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP7",
      "acmg_by_gene": [
        {
          "score": 1,
          "benign_score": 1,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP7"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000367362.8",
          "gene_symbol": "NR5A2",
          "hgnc_id": 7984,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.750C>T",
          "hgvs_p": "p.Pro250Pro"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}