Spot · Market data

Get candles (path-parameter form)

Changed on

The same candles as ohlc, with every argument in the path rather than the query string. Kept for clients built against it; prefer ohlc for new work — it validates the interval and answers with a readable message instead of a binding failure.

get/api/getohlc/{range}/{currencyPairCode}/{start}/{end}

Request

  • Base URL
    https://api.binibit.com
  • URL
    https://api.binibit.com/api/getohlc/{range}/{currencyPairCode}/{start}/{end}
  • Auth
    none declared

Path parameters

range1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 required

Candle interval, same values as on ohlc.

currencyPairCodestring required

Example: "BTC_USDT"

startstring date-time required

Range start. Example: "2021-02-05T14:00:00"

endstring date-time required

Range end. Example: "2021-02-05T15:00:00"

Response

OK

Changes