TIKTAPE
TikTape Learn

How do I get historical candles for Hyperliquid spot markets like HYPE/USDC?

Use the pair's @index from spotMeta as the coin (HYPE/USDC is @107; PURR/USDC keeps its name). candleSnapshot returns the last 5,000 candles; TikTape serves spot history from 1m up from 2025-03-23, and daily candles back to the pair's first Hyperliquid candle.

Short answer

Spot markets on Hyperliquid are named @{index}, where the index is the pair's position in spotMeta's universe; PURR/USDC is the one exception that keeps its name. HYPE/USDC is @107. Send that name as coin to candleSnapshot for the last 5,000 candles, or to TikTape's GET /api/v1/ohlcv for spot history at every interval from 2025-03-23 (daily candles back to the pair's first Hyperliquid candle).

What the official docs say

Sources: Hyperliquid info endpoint, spot info endpoint.

Find a pair's @index with Python

import requests

meta = requests.post("https://api.hyperliquid.xyz/info", json={"type": "spotMeta"}, timeout=30).json()
token = {t["index"]: t["name"] for t in meta["tokens"]}
for pair in meta["universe"]:
    base, quote = (token[i] for i in pair["tokens"])
    if base in ("HYPE", "UBTC", "UETH"):
        print(pair["name"], f"{base}/{quote}")

On 2026-12-03 this printed, among others, @107 HYPE/USDC, @142 UBTC/USDC and @151 UETH/USDC, plus HYPE pairs quoted in USDT0, USDH and USDE. spotMeta listed 359 spot pairs. Prices are in the quote token and volume in the base token.

Spot history from TikTape

curl -H "X-API-Key: $TIKTAPE_API_KEY" \
  "https://tiktape.xyz/api/v1/ohlcv?coin=@107&interval=1m&startTime=1742688000000&limit=10000"

That returns HYPE/USDC 1m candles from 2025-03-23 00:00 UTC, the start of TikTape's trade-built history, which is far beyond the 3.5 days that 5,000 one-minute candles cover. Daily candles go back further: @107 from 2024-11-29. TikTape also accepts PURR/USDC by name.

Pitfalls

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