GET /api/data-api/v3/cryptocurrency/quotes/historical
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/cmc/api/data-api/v3/cryptocurrency/quotes/historicalCache cached 1s, never served stale past that windowCost per_call · weight 1 · standard rate classSource billing freeNot a coin price history. Each timestamp is a top-10-by-cap stack plus otherTotalMarketCap and global, with no price and no OHLC.
name=quotes_historical. Not a price series. Live root is {quotes: [{timestamp, quote}]} (372 points for the smoke window). Each quote is 12 objects with id, name, symbol, rank, marketCap and no price or OHLC. Observed ids were 1, 1027, 825, 1839, 52, 3408, 5426, 1958, 32196, 1437, otherTotalMarketCap, global.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | query | int | required | Required, but id=1 and id=1027 returned the same top-10 stack. example: 1 |
convertId | query | str | required | Quote convert id. 2781 is USD on these public routes. default: 2781example: 2781 |
timeStart | query | int | required | Window start as unix seconds. example: 1786752000 |
timeEnd | query | int | required | Window end as unix seconds. example: 1792108800 |
Response
type: object
data key: quotes
pagination: none
sample: {
"quotes": "array[372]",
"quotes[0]": "timestamp=2026-08-15T04:00:00.000Z",
"quotes[0].quote": "array[12]",
"quote_ids": "1,1027,825,1839,52,3408,5426,1958,32196,1437,otherTotalMarketCap,global"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/cmc/api/data-api/v3/cryptocurrency/quotes/historical?id=1&convertId=2781&timeStart=1786752000&timeEnd=1792108800"