Query candles
OHLCV candle points for an asset and interval, with epoch-ms time and trade count.
/networks/{network}/markets/{asset}/candlesCandle points include epoch-millisecond time, ISO openTime, OHLC strings, volume, and trade count.
Network identifier. Only hyperliquid is supported.
Example: hyperliquid
Canonical asset symbol or network symbol (e.g. BTC, ETH, xyz:SP500).
Example: BTC
Aggregation interval. Supported: 15m, 30m, 1h, 2h, 4h, 8h, 12h, 1d, 3d, 1w, 1M.
Example: 1h
Start of the time window — ISO 8601 instant or epoch milliseconds.
Example: 2026-06-12T00:00:00Z
End of the time window — ISO 8601 instant or epoch milliseconds.
Maximum data points to return. Default 500, hard cap 5000.
Example: 500
Epoch-ms cursor from the previous page's nextCursor field.
Responses
200OK
OHLCV candle points for the requested interval and time window.
Network identifier.
Network asset symbol.
Canonical asset symbol.
Aggregation interval used.
OHLCV candle points, newest first.
Candle open time in epoch milliseconds.
Candle open time as an instant.
Open price.
High price.
Low price.
Close price.
Traded volume over the candle.
Number of trades in the candle.
Epoch-ms cursor for the previous window, or null at the start of history.
400Bad Request
401Unauthorized
404Not Found
500Server Error
curl -sS "https://api.dexhunt.app/v1/networks/hyperliquid/markets/BTC/candles?interval=1h&from=2026-06-12T00:00:00Z&to=2026-06-12T12:00:00Z&limit=2" \
-H "X-API-Key: hlsk_your_developer_key"{
"network": "hyperliquid",
"coin": "BTC",
"canonicalAsset": "BTC",
"interval": "1h",
"candles": [
{
"time": 1781262000000,
"openTime": "2026-06-12T11:00:00Z",
"open": "66820.0",
"high": "67110.0",
"low": "66740.5",
"close": "67000.5",
"volume": "1250.44",
"trades": 18422
}
],
"nextCursor": "1781258400000"
}