Retrieves crypto currency information and historical prices as well as information on the exchanges they are listed on. Historical data contains daily open, high, low and close values for all crypto currencies. The package draws on two complementary sources: 'CoinMarketCap' <https://coinmarketcap.com> (primary, via the 'crypto_*' functions) and 'CoinGecko' <https://www.coingecko.com> (secondary, via the 'cg_*' functions). Both sources are queried without an 'API' key; the two function families return tibbles with identical column conventions so downstream pipelines work on either source.
| Version: | 3.0.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | dplyr, tibble, tidyr, purrr, progress, stats, lubridate, jsonlite, cli, plyr, base64enc, janitor, httr |
| Suggests: | spelling, testthat (≥ 3.0.0), digest, knitr, rmarkdown, arrow, withr |
| Published: | 2026-10-08 |
| DOI: | 10.32614/CRAN.package.crypto2 |
| Author: | Sebastian Stoeckl |
| Maintainer: | Sebastian Stoeckl <sebastian.stoeckl at uni.li> |
| License: | MIT + file LICENSE |
| URL: | https://github.com/sstoeckl/crypto2, https://www.sebastianstoeckl.com/crypto2/ |
| NeedsCompilation: | no |
| Language: | en-US |
| Citation: | crypto2 citation info |
| Materials: | README, NEWS |
| CRAN checks: | crypto2 results |
| Reference manual: | crypto2.html , crypto2.pdf |
| Vignettes: |
CMC vs CoinGecko: matching and reconciling (source) CoinGecko integration (source) CoinGecko Pro backfill (source) |
| Package source: | crypto2_3.0.0.tar.gz |
| Windows binaries: | r-devel: crypto2_2.0.5.zip, r-release: crypto2_2.0.5.zip, r-oldrel: crypto2_2.0.5.zip |
| macOS binaries: | r-release (arm64): crypto2_2.0.5.tgz, r-oldrel (arm64): crypto2_2.0.5.tgz, r-release (x86_64): crypto2_2.0.5.tgz, r-oldrel (x86_64): crypto2_2.0.5.tgz |
| Old sources: | crypto2 archive |
| Reverse imports: | seasonalityPlot |
| Reverse suggests: | bidask |
Please use the canonical form https://CRAN.R-project.org/package=crypto2 to link to this page.