Get market quotes (historical)
GET {{baseUrl}}/v1/exchange/quotes/historical?id=<get>&slug=<get>&time_start=<>&time_end=<>&count=<>&interval=<>&convert=<>
Returns an interval of historic quotes for any exchange based on time and interval parameters.
Historical exchange quotes currently include: volume24: Combined 24 hour volume for all market pairs at each historical interval. nummarket_pairs: Number of market pairs available at each historical interval. Quotes are returned in USD. Additional currency conversion options and additional fields will be available in the future.
Technical Details
A historic quote for every interval
period bet
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
id | string | One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2" | |
slug | string | Alternatively, one or more comma-separated exchange names in URL friendly shorthand "slug" format (all lowercase, spaces replaced with hyphens). Example: "binance,gdax". At least one "id" or "slug" is required. | |
time_start | string | Timestamp (Unix or ISO 8601) to start returning OHLCV time periods for. | |
time_end | string | Timestamp (Unix or ISO 8601) to stop returning OHLCV time periods for (exclusive). Optional, if not passed we'll default to the current time. | |
count | string | Optionally limit the number of time periods to return results for. The default is 10 items. The current query limit is 10000 items. | |
interval | string | Optionally adjust the interval that "time_period" is sampled. See main endpoint description for available options. | |
convert | string | Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to. |