Market Candles
/gateway/v1/hyperliquid/candlesReturns market OHLCV candles for charting and trade-review overlays, ordered by open_time ascending. Each row also carries trades, closed, and nullable quote volume (null before quote-volume coverage). symbol, from, and to are required; from/to accept Unix seconds, ISO datetimes, or UTC dates, and candle open_time is bounded to the half-open [from,to) window. The requested window may contain at most 5000 candles, so use a larger interval for long histories. The response is market data and does not require a wallet address.
Query Parameters
Hyperliquid market id (for example BTC, kPEPE, xyz:GOLD, the canonical PURR/USDC spot pair, or an @index spot market).
SOLCandle granularity.
1m3m5m15m30m1h2h4h8h12h1d3d1w1M4hWindow start (Unix seconds, an ISO datetime, or a bare UTC date).
2026-05-16Window end (Unix seconds, an ISO datetime, or a bare UTC date; a bare date means the end of that day).
2026-05-19