Live prices (latest trade)

The price of the latest trade of every Hyperliquid market, with the trade time, refreshed every second.

GET/api/v1/pricesEvery key

Description

Live prices: the price of the latest trade of every Hyperliquid perpetual market our collectors receive trades of (main dex and builder-deployed markets such as xyz:TSLA), with the time of that trade (ts) and its age in seconds when answered (ageSec). The same value as the live price on the website charts, refreshed once a second; ts is the trade itself, not a sample time. stale is true when the last trade is older than 2 minutes or the live feed has not been refreshed for 20 seconds (meta.warnings then says so). A market without a trade for 10 minutes is left out; GET /markets has the sampled mark price of every market and venue. Sorted by open interest, largest at the top. Every key and keyless; pushed every second on GET /stream?channel=prices (API Pro).

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

Parameters of /prices
ParameterDescription
coinstringOne coin or up to 50 separated by commas (BTC,ETH,xyz:TSLA); case-insensitive. Default: every market with a live price. A named coin without a live price is listed in meta.warnings.e.g. BTC,ETH,SOL
fieldsstringComma-separated fields of every item to return, e.g. coin,price,ts (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. coin,venue,price
formatstringjson (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.

    • [].coinstringThe market under its Hyperliquid name (BTC, kPEPE); builder-deployed markets as dex:COIN.
    • [].venue"hyperliquid"Venue of the trade.
    • [].pricenumberPrice of the latest trade, as the venue reports it.
    • [].tsstring (ISO 8601)Time of that trade.
    • [].ageSecintegerSeconds since the trade when answered.
    • [].stalebooleantrue when the trade is older than 2 minutes or the live feed has not been refreshed for 20 seconds.

Errors

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.

LiveHyperliquid markets 16sOperationalHyperliquid positions & whales 14sOperationalLiquidation heatmap & levels 16sOperationalLighter markets & liquidations 15sOperationalLighter positions & heatmap 15sOperationalLighter on Robinhood Chain: positions & heatmap 16sOperationalAster markets 44sOperationalBinance markets 23sOperationalBybit markets 1mOperationalGate markets 29sOperationalHTX markets 32sOperationalKuCoin markets 30sOperationalBinance liquidations 43sOperationalBybit liquidations 43sOperationalGate liquidations 42sOperationalHTX liquidations 43sOperationaldYdX positions & heatmap 13sOperationalGMX positions & heatmap 13sOperationalLong/short & open interest history 2mOperationalOrder books & trade flow 15sOperationalOn-chain transfers 24sOperationalSecurity monitor 28sOperationalBlockmetric Sentiment 12mOperationalAgency releases 6mOperationalAlert delivery 14sOperationalDataset files 19mOperational07:27:19 UTC