oddsapiR: Access Live Sports Odds from the Odds API

A utility to quickly obtain clean and tidy sports odds from The Odds API <https://the-odds-api.com>. Provides wrappers for every version 4 endpoint – featured-market and single-event odds (including player props and alternate lines), historical odds snapshots, scores, events, participants, and usage-quota reporting – returning tidy tibbles ready for analysis.

Version: 1.0.0
Depends: R (≥ 4.0.0)
Imports: cli (≥ 3.4.1), data.table (≥ 1.14.0), dplyr (≥ 1.0.10), glue, httr2 (≥ 1.0.0), jsonlite, magrittr, rlang (≥ 1.0.4), rvest (≥ 1.0.0), tibble (≥ 3.0), tidyr (≥ 1.0.0)
Suggests: crayon (≥ 1.3.4), curl, DBI, ggplot2, ggrepel, gt, knitr, progressr (≥ 0.6.0), Rcpp (≥ 1.0.7), RcppParallel (≥ 5.1.4), rmarkdown, RSQLite, stats, stringi, stringr (≥ 1.5.0), testthat, tidyselect (≥ 1.2.0), usethis (≥ 1.6.0), xml2 (≥ 1.3)
Published: 2026-08-24
DOI: 10.32614/CRAN.package.oddsapiR
Author: Saiem Gilani ORCID iD [aut, cre, cph]
Maintainer: Saiem Gilani <saiem.gilani at gmail.com>
BugReports: https://github.com/sportsdataverse/oddsapiR/issues
License: MIT + file LICENSE
URL: https://oddsapiR.sportsdataverse.org/, https://github.com/sportsdataverse/oddsapiR
NeedsCompilation: no
SystemRequirements: pandoc (>= 1.12.3), pandoc-citeproc
Materials: README, NEWS
In views: SportsAnalytics
CRAN checks: oddsapiR results

Documentation:

Reference manual: oddsapiR.html , oddsapiR.pdf

Downloads:

Package source: oddsapiR_1.0.0.tar.gz
Windows binaries: r-devel: oddsapiR_0.0.3.zip, r-release: oddsapiR_0.0.3.zip, r-oldrel: oddsapiR_0.0.3.zip
macOS binaries: r-release (arm64): oddsapiR_0.0.3.tgz, r-oldrel (arm64): oddsapiR_0.0.3.tgz, r-release (x86_64): oddsapiR_0.0.3.tgz, r-oldrel (x86_64): oddsapiR_0.0.3.tgz
Old sources: oddsapiR archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=oddsapiR to link to this page.