Hyperliquid USDC spot pairs
The Hyperliquid USDC spot pairs you can request candles for, with their keys.
/api/v1/candles/spot-pairsEvery keyDescription
Every Hyperliquid spot pair quoted in USDC that GET /candles/{coin}?market=spot serves (API 1.34.0), largest 24h volume first (pairs without a reading last). key = the pair key to pass as {coin} (for example @142; canonical pairs by name, such as PURR/USDC, URL-encoded as PURR%2FUSDC), pair, baseToken and quoteToken = token names, volume24hUsd = 24h notional volume in USDC from our newest reading of the pair (every 5 minutes; null when we have none), canonical = Hyperliquid's canonical pair of the token, live = we follow the pair's trades live right now, so its candles are current (provisional, updated every 30 seconds) instead of hourly with the fill record (about 1 to 2 hours behind). The most traded pairs are live (at least $100k of 24h volume, up to 30). Only Hyperliquid data.
Who can call it
Available with every key and keyless (X-Blockmetric-Access: public). Keys of Free accounts get free-tier data (real-time feeds, 30 days of history, heatmap over time for every coin over the last 30 days, liquidation levels now for every coin, the same as the free web plan); Pro and Desk keys the data of their plan; API Dev / API Pro raise the limits. Paid keys read the plan's history, the same on monthly and yearly billing: GET /me states the days.
- No key
- 24 h
- Free
- 30 days
- Pro
- 1 year
- Desk
- 3 years
- API Dev
- 1 year
- API Pro
- 3 years
History window per plan. Limits: Authentication & limits.
Parameters
| Parameter | Description |
|---|---|
limitinteger | Number of rows (largest 24h volume first), 1 to 5000. Optional; default every pair.1–5000 · e.g. 100 |
fieldsstring | Comma-separated fields of every item to return, e.g. key,pair,volume24hUsd,live (case-insensitive). All other fields are left out, so large lists get much smaller; an unknown name answers 400 with the list of fields. Default: every field.e.g. key,pair,baseToken |
formatstring | json (default: the { data, meta } envelope) | csv (the rows with a header line; /funding and /funding/predicted one line per coin and venue with the column venue, /long-short and /funding/spreads with nested objects as columns such as hl_longUsd; other nested values as JSON text) | ndjson (one JSON object per row and line). csv and ndjson carry the meta block in headers: Link rel="next" and X-Blockmetric-Next-Cursor (next page), X-Blockmetric-Next-After (forward polling), X-Blockmetric-Updated-At, X-Blockmetric-Warnings, X-Blockmetric-License. Errors stay JSON. csv and ndjson need a plan that downloads files on the website (Pro, Desk, API Dev, API Pro); keyless access and free keys answer 403 plan_required (param format).one of json, csv, ndjson · default json |
Response fields
Every success is { data, meta }; these are the fields of data. meta is the same on every endpoint.
[].keystringThe pair's coin key in Hyperliquid's data, the {coin} value of GET /candles/{coin}?market=spot that always names exactly this pair, e.g. @142 (canonical pairs by name, e.g. PURR/USDC).
[].pairstringSpot pair by token names, e.g. UBTC/USDC.
[].baseTokenstringBase token of the pair, e.g. UBTC.
[].quoteTokenstringQuote token of the pair (USDC).
[].volume24hUsdnumber · nullable24h notional volume of the pair in the quote token USDC, from our newest reading of the pair (every 5 minutes); null when we have no reading.
[].canonicalbooleantrue for Hyperliquid's canonical pair of the token (key by name, such as PURR/USDC).
[].livebooleantrue: we follow the pair's trades live right now, so its candles are current (provisional, updated every 30 seconds); false: hourly from the fill record, about 1 to 2 hours behind. The most traded pairs are live (at least $100k of 24h volume, up to 30).
Errors
- 400
invalid_paramInvalid parameter - 401
unauthorizedMissing or invalid API key - 401
key_requiredKeyless trial used up: a key is required - 403
plan_requiredPlan does not include this - 403
scope_requiredKey not scoped for this API - 403
ip_not_allowedAddress not on the IP allowlist of the key - 403
origin_not_allowedKey used from a browser origin it does not allow - 403
source_restrictedExchange withheld - 403
linked_accountKey of a linked free account paused - 403
https_requiredhttps required - 429
rate_limitedPer-minute limit reachedretry - 429
daily_limit_exceededDaily limit reachedretry - 429
stream_limitToo many open streamsretry - 500
internal_errorInternal errorretry
Code snippets in these docs are licensed under MIT-0: copy them into your own code without attribution. The SDKs, CLI and MCP server are Apache-2.0; the name Blockmetric is not licensed (forks must be renamed). Data from the API is governed by the API terms; third-party exchange data by the exchange’s terms.