You can only use this endpoint on the official Hyperliquid public API. It is not available through Chainstack, as the open-source node implementation does not support it yet.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
type(string, required) — Must be"candleSnapshot"req(object, required) — Request parameters:coin(string, required) — Asset identifier (“BTC”, “ETH” for perpetuals; “@107” for spot)interval(string, required) — Candle interval (see supported intervals below)startTime(integer, required) — Start time in milliseconds (epoch timestamp)endTime(integer, required) — End time in milliseconds (epoch timestamp)
Returns
Returns an array of candlestick objects with OHLCV data:t— Open time timestamp (milliseconds)T— Close time timestamp (milliseconds)o— Open price (string)h— High price (string)l— Low price (string)c— Close price (string)v— Volume traded (string)n— Number of trades (integer)i— Interval (string)s— Symbol (string)
Supported intervals
"1m", "3m", "5m", "15m", "30m", "1h", "2h", "4h", "8h", "12h", "1d", "3d", "1w", "1M"
Example request
Shell
Use cases
- Technical analysis — Analyze price patterns and calculate technical indicators
- Charting applications — Display candlestick charts with OHLCV data
- Trading algorithms — Backtest strategies using historical price data
- Market research — Study price movements and volatility patterns