Get a paginated list of all active cryptocurrencies with latest market data. The default "market_cap" sort returns cryptocurrency in order of CoinMarketCap's market cap rank (as outlined in our methodology) but you may configure this call to order by another market ranking field. Use the "convert" option to return market values in multiple fiat and cryptocurrency conversions in the same call.

get_crypto_listings(currency = "USD", latest = TRUE, ...)

Arguments

currency

currency code - Default is 'USD'

latest

If `TRUE` (default), only the latest data is retrieved, otherwise historical data is returned. (NOTE: Historic Data require higher API rights)

...

Further arguments can be passed to historical data. Further information can be found in the API documentation

Value

A dataframe of top Cryptocurrencies with current or historic market data

References

API documentation

See also

Examples

# NOT RUN {
get_crypto_listings('EUR')
get_crypto_listings('GBP')
get_crypto_listings('GBP', latest=F, start=1,
                    date=Sys.Date()-20, limit=10, sort="price", sort_dir="asc")
# }