v1

latestOpenAPI 3.0.32026-08-04850206.9 KB
Coins

Candle history

Per-coin OHLC + volume + marketcap time series. Pick interval: minutely, half-hourly, hourly or daily. Retention is a hard property of the rollup pipeline — minutely 8 days, half-hourly 3 months, hourly 6 months, daily forever; requests beyond a window return what exists. When a limit is set you get the MOST RECENT N rows in the window, emitted oldest-first. Prices are decimal strings.

get/api/v1/coins/{slug}/history

Query parameters

intervalstring

minutely, half-hourly, hourly or daily (default daily).

Example:daily

minutely, half-hourly, hourly or daily (default daily).

startstring

ISO date/time lower bound.

Example:2026-06-01

ISO date/time lower bound.

endstring

ISO date/time upper bound (a date-only value means through that day).

Example:2026-06-30

ISO date/time upper bound (a date-only value means through that day).

limitinteger

Max rows (1–2000, default 1000).

Example:30

Max rows (1–2000, default 1000).

Response

Example response

{
  "data": [
    {
      "time": "2026-06-14T23:01:01+00:00",
      "price": "65481.259006434",
      "open": "64193.294621057",
      "high": "65513.599862059",
      "low": "63528.138075558",
      "close": "65481.259006434",
      "volume_24h": 3795657715,
      "marketcap": 1303678106704.5
    }
  ],
  "meta": {
    "coin": "bitcoin",
    "interval": "daily",
    "count": 1,
    "retention": "full history"
  }
}