Get a list of all active market pairs that CoinMarketCap tracks for a given cryptocurrency or fiat currency
get_crypto_marketpairs(currency = "USD", symbol = NULL, id = NULL, slug = NULL, start = NULL, limit = NULL)
currency | currency code - Default is 'USD' |
---|---|
symbol | One or more cryptocurrency symbols. Example: c("BTC","ETH"). |
id | Alternatively pass one or more CoinMarketCap cryptocurrency IDs. Example: c(1,2) |
slug | Alternatively pass a vector of exchange slugs. Example: c("binance","cryptsy") |
start | Optionally offset the start (1-based index) of the paginated list of items to return. - Default is 1 |
limit | Optionally specify the number of results to return. Use this parameter and the "start" parameter to determine your own pagination size. |
A dataframe with all active market pairs
A single cryptocurrency "id", "slug", or "symbol" is required.
Other Cryptocurrencies: get_crypto_listings
,
get_crypto_map
,
get_crypto_meta
,
get_crypto_ohlcv
,
get_crypto_quotes
,
get_marketcap_ticker_all
,
get_valid_currencies
# NOT RUN { get_crypto_marketpairs("EUR") get_crypto_marketpairs("EUR", slug = "bitcoin") get_crypto_marketpairs("EUR", symbol = "LTC") get_crypto_marketpairs("EUR", symbol = "BTC", start = 10, limit = 20) # }