Futures · Market data

OHLCV for a futures pair. volume is turnover in the quote asset; volumeBase is quantity in the base asset.

get/api/futures/exchange-data/candles

Request

  • Base URL
    https://api.binibit.com
  • URL
    https://api.binibit.com/api/futures/exchange-data/candles
  • Auth
    none declared

Query parameters

DateFromstring date-time

Earliest candle to return, by its open time (UTC).

DateTostring date-time

Latest candle to return, by its open time (UTC).

CurrencyPairstring

Pair to chart, e.g. BTC_USDT.

CandleTimePeriod60 | 180 | 300 | 900 | 1800 | 3600 | 14400 | 28800 | 86400 | 604800 | 2592000

Candle interval. The numeric value IS the interval in seconds, so no lookup table is needed — and note the last one is a flat 30 days, not a calendar month.

Candle interval. Its numeric value is the interval in seconds.

Response

OK

currencyPairCodestring nullable

Pair this candle belongs to, e.g. BTC_USDT.

openPricenumber double

Price of the first trade in the interval.

closePricenumber double

Price of the last trade in the interval. Still moving while the candle is the current one.

maxPricenumber double

Highest traded price in the interval.

minPricenumber double

Lowest traded price in the interval.

candleTimePeriod60 | 180 | 300 | 900 | 1800 | 3600 | 14400 | 28800 | 86400 | 604800 | 2592000

Candle interval. The numeric value IS the interval in seconds, so no lookup table is needed — and note the last one is a flat 30 days, not a calendar month.

volumenumber double

Turnover in the QUOTE asset — every trade's size times its price. This is the money figure; PublicApi.Models.Futures.FuturesCandleDto.VolumeBase is the quantity one.

volumeBasenumber double

Quantity traded in the BASE asset — the plain sum of trade sizes, with no price applied.

openTimestampstring date-time

Start of the interval (UTC), aligned to the period.

closeTimestampstring date-time

End of the interval (UTC) — the open plus the period.

Changes