← 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-200048439-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 200048439,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_205860.3",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.731C>G",
          "hgvs_p": "p.Pro244Arg",
          "transcript": "NM_205860.3",
          "protein_id": "NP_995582.1",
          "transcript_support_level": null,
          "aa_start": 244,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": 731,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000367362.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_205860.3"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.731C>G",
          "hgvs_p": "p.Pro244Arg",
          "transcript": "ENST00000367362.8",
          "protein_id": "ENSP00000356331.3",
          "transcript_support_level": 1,
          "aa_start": 244,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": 731,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_205860.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000367362.8"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.593C>G",
          "hgvs_p": "p.Pro198Arg",
          "transcript": "ENST00000236914.7",
          "protein_id": "ENSP00000236914.3",
          "transcript_support_level": 1,
          "aa_start": 198,
          "aa_end": null,
          "aa_length": 495,
          "cds_start": 593,
          "cds_end": null,
          "cds_length": 1488,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000236914.7"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.491C>G",
          "hgvs_p": "p.Pro164Arg",
          "transcript": "ENST00000367357.3",
          "protein_id": "ENSP00000356326.3",
          "transcript_support_level": 1,
          "aa_start": 164,
          "aa_end": null,
          "aa_length": 376,
          "cds_start": 491,
          "cds_end": null,
          "cds_length": 1131,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000367357.3"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.656C>G",
          "hgvs_p": "p.Pro219Arg",
          "transcript": "ENST00000892175.1",
          "protein_id": "ENSP00000562234.1",
          "transcript_support_level": null,
          "aa_start": 219,
          "aa_end": null,
          "aa_length": 516,
          "cds_start": 656,
          "cds_end": null,
          "cds_length": 1551,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000892175.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.593C>G",
          "hgvs_p": "p.Pro198Arg",
          "transcript": "NM_003822.5",
          "protein_id": "NP_003813.1",
          "transcript_support_level": null,
          "aa_start": 198,
          "aa_end": null,
          "aa_length": 495,
          "cds_start": 593,
          "cds_end": null,
          "cds_length": 1488,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_003822.5"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.515C>G",
          "hgvs_p": "p.Pro172Arg",
          "transcript": "NM_001276464.2",
          "protein_id": "NP_001263393.1",
          "transcript_support_level": null,
          "aa_start": 172,
          "aa_end": null,
          "aa_length": 469,
          "cds_start": 515,
          "cds_end": null,
          "cds_length": 1410,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001276464.2"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.515C>G",
          "hgvs_p": "p.Pro172Arg",
          "transcript": "ENST00000544748.5",
          "protein_id": "ENSP00000439116.1",
          "transcript_support_level": 2,
          "aa_start": 172,
          "aa_end": null,
          "aa_length": 469,
          "cds_start": 515,
          "cds_end": null,
          "cds_length": 1410,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000544748.5"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.707C>G",
          "hgvs_p": "p.Pro236Arg",
          "transcript": "XM_047416753.1",
          "protein_id": "XP_047272709.1",
          "transcript_support_level": null,
          "aa_start": 236,
          "aa_end": null,
          "aa_length": 533,
          "cds_start": 707,
          "cds_end": null,
          "cds_length": 1602,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047416753.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.701C>G",
          "hgvs_p": "p.Pro234Arg",
          "transcript": "XM_047416762.1",
          "protein_id": "XP_047272718.1",
          "transcript_support_level": null,
          "aa_start": 234,
          "aa_end": null,
          "aa_length": 531,
          "cds_start": 701,
          "cds_end": null,
          "cds_length": 1596,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047416762.1"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.611C>G",
          "hgvs_p": "p.Pro204Arg",
          "transcript": "XM_011509381.4",
          "protein_id": "XP_011507683.1",
          "transcript_support_level": null,
          "aa_start": 204,
          "aa_end": null,
          "aa_length": 501,
          "cds_start": 611,
          "cds_end": null,
          "cds_length": 1506,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011509381.4"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.611C>G",
          "hgvs_p": "p.Pro204Arg",
          "transcript": "XM_011509384.3",
          "protein_id": "XP_011507686.1",
          "transcript_support_level": null,
          "aa_start": 204,
          "aa_end": null,
          "aa_length": 501,
          "cds_start": 611,
          "cds_end": null,
          "cds_length": 1506,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011509384.3"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.611C>G",
          "hgvs_p": "p.Pro204Arg",
          "transcript": "XM_017000904.2",
          "protein_id": "XP_016856393.1",
          "transcript_support_level": null,
          "aa_start": 204,
          "aa_end": null,
          "aa_length": 501,
          "cds_start": 611,
          "cds_end": null,
          "cds_length": 1506,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017000904.2"
        },
        {
          "aa_ref": "P",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_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.515C>G",
          "hgvs_p": "p.Pro172Arg",
          "transcript": "XM_005245062.4",
          "protein_id": "XP_005245119.1",
          "transcript_support_level": null,
          "aa_start": 172,
          "aa_end": null,
          "aa_length": 469,
          "cds_start": 515,
          "cds_end": null,
          "cds_length": 1410,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_005245062.4"
        },
        {
          "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": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.657+137C>G",
          "hgvs_p": null,
          "transcript": "ENST00000892176.1",
          "protein_id": "ENSP00000562235.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 390,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1173,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000892176.1"
        },
        {
          "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": 7,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "NR5A2",
          "gene_hgnc_id": 7984,
          "hgvs_c": "c.456+137C>G",
          "hgvs_p": null,
          "transcript": "ENST00000892174.1",
          "protein_id": "ENSP00000562233.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 323,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 972,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000892174.1"
        }
      ],
      "gene_symbol": "NR5A2",
      "gene_hgnc_id": 7984,
      "dbsnp": "rs749157454",
      "frequency_reference_population": 0.0000027361914,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 4,
      "gnomad_exomes_af": 0.00000273619,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 4,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.8558038473129272,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.701,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.6755,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.33,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.517,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.01,
      "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": 4,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,PP3_Moderate",
      "acmg_by_gene": [
        {
          "score": 4,
          "benign_score": 0,
          "pathogenic_score": 4,
          "criteria": [
            "PM2",
            "PP3_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_205860.3",
          "gene_symbol": "NR5A2",
          "hgnc_id": 7984,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.731C>G",
          "hgvs_p": "p.Pro244Arg"
        }
      ],
      "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
}