REST API
Get OHLCV candlestick data
Authorization
bearerAuth AuthorizationBearer <token>
API key passed as Bearer token in Authorization header
In: header
Query Parameters
exchange*string
Value in
"binance" | "bybit" | "okx" | "kucoin" | "gate" | "htx" | "bitget" | "bingx" | "bitmart" | "bitmex" | "coinex" | "hyperliquid"marketType*string
Value in
"spot" | "futures" | "coinm-futures"symbol*string
Length
1 <= length <= 20interval*string
Value in
"1m" | "3m" | "5m" | "15m" | "30m" | "1h" | "2h" | "4h" | "6h" | "8h" | "12h" | "1d" | "3d" | "1w" | "1M"limit?number
Default
100Range
1 <= value <= 1000Response Body
application/json
curl -X GET "https://loading/api/v1/market/ohlcv?exchange=binance&marketType=spot&symbol=string&interval=1m"{
"success": true,
"data": {
"symbol": "string",
"interval": "string",
"candles": [
{
"timestamp": 0,
"open": 0,
"high": 0,
"low": 0,
"close": 0,
"volume": 0
}
]
},
"meta": {
"timestamp": 0,
"remaining": 0
}
}