Get candles
- Hyperliquid
- Spot
- HIP-3
- HIP-4
- Lighter
/v1/hyperliquid/candles/{symbol}. Plain perp symbols such as BTC.Request parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
symbol | path | string | Yes | Trading pair symbol, e.g. BTC |
interval | query | string | No | Candle interval. Default 1h. One of 1m, 5m, 15m, 30m, 1h, 4h, 1d, 1w |
start | query | integer (ms) | No | Start time, Unix ms. Defaults to 24h ago |
end | query | integer (ms) | No | End time, Unix ms. Defaults to now |
limit | query | integer | No | Max results. Default 100, max 10000 |
cursor | query | string | No | Pagination cursor from meta.next_cursor |
Response fields
Candle values are numbers, not decimal strings.| Field | Type | Description |
|---|---|---|
timestamp | string | Candle start time (ISO 8601 UTC) |
open | number | Opening price |
high | number | Highest price in the interval |
low | number | Lowest price in the interval |
close | number | Closing price |
volume | number | Volume in the base asset |
quote_volume | number | Volume in the quote asset (USD) |
trade_count | integer | Number of trades in the interval |
Gaps and intervals
Pick the largest interval that still answers the question; finer candles return more rows and more requests. A missing bar is not a zero bar, so confirm coverage on Data Quality before a long historical pull, and treat a gap as a window to narrow or rebuild rather than fill.volume is in the base asset and quote_volume is in USD, so use quote_volume when comparing activity across symbols that trade at very different prices.
Stream it live
Only Lighter streams candles, onlighter_candles. Hyperliquid core, Spot, HIP-3, and HIP-4 have no candle channel: stream Trades and aggregate to your interval, or poll the REST route above.
Export in bulk
Candles have no standalone export schema. For file-based history, export Trades with thetrades schema and aggregate to candles downstream, or keep candle pulls on REST. Export schema details are on Export Schemas.