Get OHLCV candles
Return OHLCV candles for a single asset and interval.
Wraps Hyperliquid’s candleSnapshot info type and adds the xyz: HIP-3 DEX
prefix server-side so the SDK only needs the bare ticker (e.g. AAPL).
Candle time is returned in unix seconds, ready for TradingView
lightweight-charts. Cached for 15 seconds per (symbol, interval, window).
Query Parameters
Asset ticker (e.g. AAPL, GOLD, EUR). The xyz: HIP-3 DEX prefix is added server-side if not already present.
1 - 64Candle interval: 1m, 5m, 15m, 1h, 4h, 1d, 1w
1m, 5m, 15m, 1h, 4h, 1d, 1w Number of candles to return (max 5000, capped by Hyperliquid).
1 <= x <= 5000Optional start of the candle window in unix milliseconds. If omitted, computed as end_time - limit * interval.
Optional end of the candle window in unix milliseconds. Defaults to now.