Hyperliquid protocol state
Assistance Fund buybacks, HYPE supply and HLP figures of the Hyperliquid protocol.
/api/v1/hyperliquid/protocolEvery keyThe same data on the website, no key needed: Hyperliquid.
Description
The Hyperliquid protocol state from our own collection: the Assistance Fund buybacks (HYPE bought, USD spent and average price over 24 h, 7 d, 30 d and since the start of our collection, per UTC day, the newest fills), its holdings, the HYPE supply and HLP (TVL, APR, PnL, account value over time). Windows that overlap a recorded gap of the collection say complete: false.
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 |
|---|---|
daysinteger | UTC days in daily, default 30 (or the plan history when shorter), clamped to 1–90 and to the plan history (free key 30, keyless 1).1–90 · default 30 · e.g. 7 |
recentinteger | Newest buyback fills in recent, default 20, clamped to 0–100.0–100 · default 20 · e.g. 20 |
Response fields
Every success is { data, meta }; these are the fields of data. meta is the same on every endpoint.
sincestring (ISO 8601) · nullableStart of our collection of the Assistance Fund fills.
gaps[]array of objectsRecorded gaps of the collection.gaps[].fromstring (ISO 8601)Gap start.gaps[].tostring (ISO 8601)Gap end.
windowsobjectLast 24 hours, 7 days, 30 days and since the start of our collection.
Show the 24 fields of
windowswindows.h24objectLast 24 hours.windows.h24.hypenumberHYPE bought.windows.h24.usdnumberUSD spent.windows.h24.avgPxnumber · nullableAverage price (USD per HYPE).windows.h24.fillsintegerFills.windows.h24.completebooleanOur collection covers the whole window.windows.d7objectLast 7 days.windows.d7.hypenumberHYPE bought.windows.d7.usdnumberUSD spent.windows.d7.avgPxnumber · nullableAverage price (USD per HYPE).windows.d7.fillsintegerFills.windows.d7.completebooleanOur collection covers the whole window.windows.d30objectLast 30 days.windows.d30.hypenumberHYPE bought.windows.d30.usdnumberUSD spent.windows.d30.avgPxnumber · nullableAverage price (USD per HYPE).windows.d30.fillsintegerFills.windows.d30.completebooleanOur collection covers the whole window.windows.allobjectSince the start of our collection.windows.all.hypenumberHYPE bought.windows.all.usdnumberUSD spent.windows.all.avgPxnumber · nullableAverage price (USD per HYPE).windows.all.fillsintegerFills.windows.all.completebooleanOur collection covers the whole window.
daily[]array of objectsBuybacks per UTC day, newest first.
Show the 7 fields of
daily[]daily[].daystringUTC day.daily[].hypenumberHYPE bought that day.daily[].usdnumberUSD spent that day.daily[].avgPxnumber · nullableAverage price (USD per HYPE).daily[].fillsintegerFills that day.daily[].completebooleanOur collection covers the whole day.daily[].todaybooleanToday, still running.
recent[]array of objectsNewest buyback fills.
Show the 5 fields of
recent[]recent[].tsstring (ISO 8601)Fill time.recent[].pxnumberPrice (USD per HYPE).recent[].sznumberHYPE bought.recent[].usdnumberUSD spent.recent[].hashstring · nullableTransaction hash.
holdingsobject · nullableHoldings of the Assistance Fund.
Show the 5 fields of
holdingsholdings.hypenumber · nullableHYPE held.holdings.entryNtlnumber · nullableUSD paid for the HYPE held.holdings.avgEntrynumber · nullableAverage entry price (USD per HYPE).holdings.usdcnumber · nullableUSDC held.holdings.atstring (ISO 8601)When read.
supplyobject · nullableHYPE supply.supply.totalnumber · nullableTotal HYPE supply.supply.circulatingnumber · nullableCirculating HYPE supply.supply.atstring (ISO 8601)When read.
hypeMarknumber · nullableHYPE mark on Hyperliquid.
hlpobject · nullableHLP, the protocol vault.
Show the 11 fields of
hlphlp.tsstring (ISO 8601)When read.hlp.namestringVault name.hlp.addressstringVault address.hlp.aprnumber · nullableAPR as reported (fraction).hlp.tvlnumber · nullableAccount value (USD).hlp.pnlAllnumber · nullablePnL since creation (USD).hlp.pnlMonthnumber · nullablePnL of the last month (USD).hlp.pnlWeeknumber · nullablePnL of the last week (USD).hlp.pnlDaynumber · nullablePnL of the last day (USD).hlp.accountValue[]array of array[ms, USD] points (all time, at most 400).hlp.pnl[]array of array[ms, USD] points (all time, at most 400).
updatedAtstring (ISO 8601) · nullableNewest stored value.
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.