This code retrieves data for all specified coins!
crypto_info(
coin_list = NULL,
limit = NULL,
requestLimit = 1,
sleep = 0,
finalWait = FALSE
)
List of (active and historically existing) cryptocurrencies in a tibble:
CMC id (unique identifier)
Coin name
Coin symbol (not-unique)
Coin URL slug (unique)
Coin category: "token" or "coin"
Coin description according to CMC
CMC url of CC logo
Status message from CMC
Markdown formatted notices from CMC
Type of alert on CMC
Message link to alert
Date CC was added to the CMC database
Date CC was launched
Boolean if CC is audited
Boolean flags for various topics
Self reported circulating supply
Tibble of tags and tag categories
FAQ description from CMC
Tibble of various resource urls. Gives website, technical_doc (whitepaper), source_code, message_board, chat, announcement, reddit, twitter, (block) explorer urls
Metadata about the parent coin if available. Gives id, name, symbol, slug, and token address according to CMC
string if NULL retrieve all currently active coins (crypto_list()
),
or provide list of cryptocurrencies in the crypto_list()
or cryptoi_listings()
format (e.g. current and/or dead coins since 2015)
integer Return the top n records, default is all tokens
(default: 1) limiting the length of request URLs when bundling the api calls (currently needs to be 1)
integer (default: 0) Seconds to sleep between API requests
to avoid calling the web-api again with another command before 60s are over (FALSE=default)
if (FALSE) {
# return info for bitcoin
coin_info <- crypto_info(limit=10)
}
Run the code above in your browser using DataLab