Package: crypto2 2.1.0.9000

crypto2: Download Crypto Currency Data from 'CoinMarketCap' without 'API'

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.

Authors:Sebastian Stoeckl [aut, cre], Jesse Vent [ctb]

crypto2_2.1.0.9000.tar.gz
crypto2_2.1.0.9000.zip(r-4.7)crypto2_2.1.0.9000.zip(r-4.6)crypto2_2.1.0.9000.zip(r-4.5)
crypto2_2.1.0.9000.tgz(r-4.6-any)crypto2_2.1.0.9000.tgz(r-4.5-any)
crypto2_2.1.0.9000.tar.gz(r-4.7-any)crypto2_2.1.0.9000.tar.gz(r-4.6-any)
crypto2_2.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
crypto2/json (API)

# Install 'crypto2' in R:
install.packages('crypto2', repos = c('https://sstoeckl.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/sstoeckl/crypto2/issues

Pkgdown/docs site:https://www.sebastianstoeckl.com

On CRAN:

Conda:

8.31 score 65 stars 1 packages 77 scripts 658 downloads 14 exports 38 dependencies

Last updated from:1d5e6a2e39. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK173
source / vignettesOK208
linux-release-x86_64OK159
macos-release-arm64OK175
macos-oldrel-arm64OK177
windows-develOK85
windows-releaseOK377
windows-oldrelOK371
wasm-releaseOK118

Exports:cg_historycg_history_by_idcg_id_mappingcg_infocg_listcg_listingscrypto_global_quotescrypto_historycrypto_infocrypto_listcrypto_listingsexchange_infoexchange_listfiat_list

Dependencies:askpassbase64encclicpp11crayoncurldplyrgenericsgluehmshttrjanitorjsonlitelifecyclelubridatemagrittrmimeopensslpillarpkgconfigplyrprettyunitsprogresspurrrR6Rcpprlangsnakecasestringistringrsystibbletidyrtidyselecttimechangeutf8vctrswithr

CoinGecko integration: a second source for crypto2
Why a second source? | Build a survivorship-bias-free price history (free, no key) | Preconditions | What you get back | Function reference | cg_list() -- the universe | cg_listings() -- current cross-section | cg_history() -- the workhorse | cg_info() -- per-coin metadata | What is NOT in the free tier | Cross-checking against CMC

Last update: 2026-05-18
Started: 2026-05-18

CoinGecko Pro backfill: one-shot survivorship-bias archive
Scope | Setup | A polite Pro client | Recipe 1: full historic id/slug mapping | Recipe 2: full historic OHLC per coin | Recipe 3: persist as a parquet dataset | Where to host the mapping for other users | Rate-limit budgeting

Last update: 2026-05-18
Started: 2026-05-18

Cross-source reconciliation: CMC vs CoinGecko
Why compare? | The date-convention pitfall | A worked example: Bitcoin reconciliation | What's expected to differ -- and what isn't | The built-in test | When to override the default

Last update: 2026-05-18
Started: 2026-05-18