Short answer
Build a recorder if you only need data from today forward and can keep a process running without gaps. Use a data API if you need history from before you started, many markets at once, or 1m bars older than a few days. A recorder can only ever store what happens after it starts, and Hyperliquid's API lets you repair an outage only within the last 5,000 candles, which is 3.5 days at 1m.
What a Hyperliquid candle recorder involves
- Subscribe to
{"method": "subscribe", "subscription": {"type": "candle", "coin": "BTC", "interval": "1m"}}on the websocket. The ack sends a snapshot of recent candles (isSnapshot: true), then updates as the open candle changes. - Keep only closed candles: a candle is final once a message for the next
tarrives. - After every disconnect or deploy, backfill the gap from
candleSnapshotbefore the gap scrolls out of the 5,000-candle window. - Refresh the market list (
meta,spotMeta,perpDexs) so new listings and HIP-3 dexes get subscribed. - Store, deduplicate and serve the bars yourself.
The websocket allows, per IP, "Maximum of 10 websocket connections" and "Maximum of 1000 websocket subscriptions" (rate limits; message format from websocket subscriptions). On 2026-12-03 Hyperliquid listed 934 markets (235 perps, 56 of them delisted, 359 spot pairs and 340 HIP-3), so one IP can hold one interval for every live market, not two. Record 1m and build higher intervals yourself.
Side by side
| Own recorder | Data API (TikTape) | |
|---|---|---|
| History before you start | None, beyond the API's last 5,000 candles | Perps and spot from 2025-03-23 at 1m; 1d back to 2020-08-19 for BTC and ETH |
| Gaps after downtime | Lost for good once older than the 5,000-candle window, unless you rebuild them from the S3 trade archive | Candles are rebuilt from Hyperliquid's trade archive |
| Work | A process to run, monitor and redeploy, plus storage | One HTTP request, up to 10,000 candles |
| Cost | Your server and storage | 1 month free, then $19/month |
Both is fine
Many teams record live data for execution and read history from an archive for research. A backtest over last year's 1m bars, for example, cannot come from a recorder you start today:
curl -H "X-API-Key: $TIKTAPE_API_KEY" \
"https://tiktape.xyz/api/v1/ohlcv?coin=BTC&interval=1m&startTime=1748736000000&limit=10000"
That returns 10,000 BTC 1m candles from 2025-06-01 00:00 UTC. To check the data first, download the free BTC/ETH 1m sample week.