History (OHLC)

This endpoint provides open interest data in OHLC (open, high, low, close) candlestick format for futures trading pairs.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string
required
Defaults to Binance

Futures exchange names (e.g., Binance, OKX) .Retrieve supported exchanges via the 'supported-exchange-pair' API.

string
required
Defaults to BTCUSDT

Trading pair (e.g., BTCUSDT). Retrieve supported pairs via the 'supported-exchange-pair' API.

string
required
Defaults to 1d

Time interval for data aggregation. Supported values: 1m, 3m, 5m, 15m, 30m, 1h, 4h, 6h, 8h, 12h, 1d, 1w

int32
Defaults to 10

Number of results per request. Default 1000, Max 1000

int64

Start timestamp in milliseconds (e.g., 1641522717000).

int64

End timestamp in milliseconds (e.g., 1641522717000).

string
Defaults to usd

Unit for the returned data, choose between 'usd' or 'coin'.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json