Coins

Get OHLC for the last full day

Returns Open/High/Low/Close values with volume and market capitalization for the last full day.

The candle is built from our aggregated volume-weighted price, not from one exchange's tape, so it need not line up with a single venue's chart. The price calculation methodology explains how that price and the accompanying volume and market cap are computed.

On Business, Ultimate and Enterprise plans each entry also includes circulating_supply: the circulating supply implied by the entry, calculated as market_cap / close in USD (an approximation, not a recorded supply value). The field is omitted on other plans and when market cap or price is missing.

Available on the following API plans:

  • Free
  • Starter
  • Pro
  • Business
  • Ultimate
  • Enterprise

Update interval: Every 1 day.

get/coins/{coin_id}/ohlcv/latest

Request

Path parameters

coin_idstring required
Example:btc-bitcoin

Query parameters

quotestring

Quote currency of the returned data: usd or btc, no other values. Other currencies (EUR, PLN and more) exist only for current prices, through quotes on the ticker endpoints and through the price converter.

Response

successful operation

time_openstring

RFC3999 (ISO-8601) format

time_closestring

RFC3999 (ISO-8601) format

opennumber nullable
highnumber nullable
lownumber nullable
closenumber nullable
volumeinteger nullable
market_capinteger nullable
circulating_supplyinteger

Circulating supply implied by the entry (market_cap / close in USD); an approximation, not a recorded supply value. Returned only on Business, Ultimate and Enterprise plans, omitted when market cap or price is missing.

Example response

[
  {
    "time_open": "2018-03-01T00:00:00Z",
    "time_close": "2018-03-01T23:59:59Z",
    "open": 856.012,
    "high": 880.302,
    "low": 851.92,
    "close": 872.2,
    "volume": 1868520000,
    "market_cap": 83808161204,
    "circulating_supply": 96087000
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.