CoinMarketCap Cryptocurrency Quotes (V1) - Data API Endpoint

Cryptocurrency Quotes (V1) by api key, auxiliary fields, cryptocurrency ids, interval, limit, skip invalid, symbols and time end.


Get bulk Cryptocurrency Quotes (V1) data from the CoinMarketCap API | Official API: https://coinmarketcap.com | 👥  Contributors: steve 🚩  Report

✏️ Inputs

API Key api_key Required

Your CoinMarketCap API Key: https://pro.coinmarketcap.com/account/

Auxiliary Fields aux_fields Optional

Auxiliary Fields to return in the response. To get ALL the available fields, use:

price,volume,market_cap,quote_timestamp,is_active,is_fiat,search_interval

E.g. price,volume,market_cap,quote_timestamp,is_active,is_fiat
Cryptocurrency IDs cryptocurrency_ids Optional

One or more comma-separated CoinMarketCap cryptocurrency IDs.

E.g. 1,2
Interval interval Optional

Interval of time to return data points for. See details in endpoint description.

E.g. hourly
Limit limit Optional

How many quotes to return per API call. Max is 10000.

E.g. 10000
Skip Invalid skip_invalid Optional

Set this to true to ignore cases where there’s no data for your specified query. When requesting records on multiple cryptocurrencies an error is returned if no match is found for 1 or more requested cryptocurrencies. If set to true, invalid lookups will be skipped allowing valid cryptocurrencies to still be returned.

E.g. true
Symbols symbols Optional

Symbols to look up prices for.

E.g. BTC,ETH
Time End time_end Optional

Timestamp (Unix or ISO 8601) to stop returning quotes for (inclusive). Optional, if not passed, we’ll default to the current time. If no “time_start” is passed, we return quotes in reverse order starting from this time.

E.g. 2021-11-23T19:34:33.000Z
Time Start time_start Optional

Only used for the historical version of this endpoint. Timestamp (Unix or ISO 8601) to start returning quotes for. Optional, if not passed, we’ll return quotes calculated in reverse from “time_end”.

E.g. 2021-11-21T19:29:37.000Z
Latest or Historical latest_or_historical Default latest

Whether to use the latest version of the endpoint: https://coinmarketcap.com/api/documentation/v1/#operation/getV1CryptocurrencyQuotesLatest or the historical version: https://coinmarketcap.com/api/documentation/v1/#operation/getV1CryptocurrencyQuotesHistorical to get back time-series quotes of prices.

IMPORTANT The historical version requires you setting the time_start & time_end inputs and requires the CoinMarketCap Standard or higher pricing plan. To use this, enter historical here and make sure to set time_start & time_end entries!

📝 Notes

Posted by steve on June 29, 2022, 6:31 a.m. 🚩  Report

⚡️ Endpoint

GET https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/{{latest_or_historical}}?aux={{ aux_fields }}&id={{ cryptocurrency_ids }}&symbol={{ symbols }}&time_start={{ time_start }}&time_end={{ time_end }}&count={{ limit }}&interval={{ interval }}&skip_invalid={{ skip_invalid }}

Body

None

Headers

X-CMC_PRO_API_KEY
{{ api_key }}