Short answer
Hyperliquid's candleSnapshot info request serves only the most recent 5,000 candles for each coin and interval. Older candles are not on the API, and Hyperliquid's S3 archive does not publish candles either. To go further back you need candles that someone recorded earlier: your own recorder, or an archive API such as TikTape.
What the official docs say
- Info endpoint, candle snapshot: "Only the most recent 5000 candles are available." Time-range responses return at most 500 elements, so you page with the last returned timestamp as the next
startTime. - Historical data: the
hyperliquid-archivebucket holds L2 book snapshots and asset contexts, and the docs state "No other historical data sets are provided via S3 (e.g. candles or spot asset data)."
Sources: Hyperliquid info endpoint, Hyperliquid historical data.
How far back 5,000 candles reach
| Interval | 5,000 candles cover about |
|---|---|
| 1m | 3.5 days |
| 5m | 17 days |
| 15m | 52 days |
| 1h | 208 days |
| 4h | 2.3 years |
So the limit mostly hurts intraday work: a month of 1m bars for a backtest is already out of reach.
Your options for older candles
- Record them yourself. Poll
candleSnapshotor subscribe to the candle websocket and store every closed bar. This is free but only covers the time after you start, and gaps appear whenever the recorder is down. - Rebuild them from trades. Hyperliquid's
hl-mainnet-node-databucket has node fills and trades (requester pays transfer). Aggregating them into OHLCV works, but you handle the download cost, formats and gaps. - Use an archive API. TikTape has built Hyperliquid candles from trade archives since 2025-03-23, keeps 1d candles back to 2020-08-19 and 4h back to 2024-08-13 from Hyperliquid's own API, and serves them through one endpoint, up to 10,000 candles per request.
Fetching past the limit with TikTape
curl -H "X-API-Key: $TIKTAPE_API_KEY" \
"https://tiktape.xyz/api/v1/ohlcv?coin=BTC&interval=1m&startTime=1762300800000&limit=10000"
That returns 10,000 one-minute BTC candles (about a week) starting at startTime, already further back than the 5,000-candle window. Step startTime forward by limit intervals to page. Every key reads full history; the monthly plan starts with 1 month free. In CCXT, ccxt-tiktape is a drop-in ccxt.hyperliquid subclass whose fetch_ohlcv() reads this archive.