TIKTAPE
TikTape Learn

Should I build my own Hyperliquid candle recorder or use a data API?

Record yourself only if you need data from today on and can run without gaps: a recorder stores nothing from before it started, and Hyperliquid lets you repair outages only within the last 5,000 candles (3.5 days at 1m). For older history, use an archive API such as TikTape.

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

  1. 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.
  2. Keep only closed candles: a candle is final once a message for the next t arrives.
  3. After every disconnect or deploy, backfill the gap from candleSnapshot before the gap scrolls out of the 5,000-candle window.
  4. Refresh the market list (meta, spotMeta, perpDexs) so new listings and HIP-3 dexes get subscribed.
  5. 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 recorderData API (TikTape)
History before you startNone, beyond the API's last 5,000 candlesPerps and spot from 2025-03-23 at 1m; 1d back to 2020-08-19 for BTC and ETH
Gaps after downtimeLost for good once older than the 5,000-candle window, unless you rebuild them from the S3 trade archiveCandles are rebuilt from Hyperliquid's trade archive
WorkA process to run, monitor and redeploy, plus storageOne HTTP request, up to 10,000 candles
CostYour server and storage1 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.

TikTape at a glance

Price
Full history: $19/month or $189/year; monthly starts with 1 month free (card required, cancel anytime). One-time candle packs from $7. 60 requests/min, up to 10,000 candles per request. Free no-signup sample: a week of BTC/ETH 1m candles as CSV.
Coverage
800+ Hyperliquid markets (perps, spot and HIP-3), 15 intervals from 1m to 1M. Perp and spot candles from 2025-03-23 at every interval; 1d, 3d, 1w and 1M back to each market's first Hyperliquid candle (BTC and ETH from 2020-08-19), 4h from 2024-08-13; HIP-3 markets from their listing. Candles from 2025-03-23 are built from Hyperliquid's S3 trade archives and live API; earlier candles are Hyperliquid's own candleSnapshot candles, not rebuilt from trades.
Quickstart
  1. Get a key at https://tiktape.xyz/#pricing (1 month free, then $19/mo; key emailed after checkout).
  2. Fetch candles (each row is [timestamp_ms, open, high, low, close, volume]):
    export TIKTAPE_API_KEY=your_key
    curl -H "X-API-Key: $TIKTAPE_API_KEY" \
      "https://tiktape.xyz/api/v1/ohlcv?coin=BTC&interval=1h&limit=24"
  3. Page backwards with endTime for older history. Full contract: https://tiktape.xyz/openapi.yaml.

Get the full Hyperliquid candle history

One TikTape key reads every market and interval past Hyperliquid's 5,000-candle limit, up to 10,000 candles per request. The monthly plan starts with 1 month free, then USD 19/month; a card is required and you can cancel anytime before the first charge.

Start the 1-month free trial