Funding heatmap of a venue

Funding of the largest coins of one venue per UTC day, with the cumulative funding over the window.

GET/api/v1/funding/heatmapEvery key

The same data on the website, no key needed: Funding heatmap.

Description

Funding heatmap of one venue (API 1.52.0), the rows of Markets › Funding › Heatmap on the website: the 30 largest markets of the venue by open interest as rows, UTC days as columns (weeks, Monday to Sunday, when days is above 365), and per cell the funding paid over the covered hours of that column (funding, a fraction of the position: what a 1x long paid per dollar, negative = it received), the same as an annualised rate (apr) and the covered hours (hours; 0 = nothing stored, never filled in). cumulative adds up the columns of the window per coin (funding, average apr, hours covered against the hours of the window, days with data). Funding is the venue's own rate per hour as we store it: our 5-minute samples (hourly after compaction) and, before our own collection, one row per settlement of the exchange; a row counts for the time until the next row, a gap in the data counts only the usual step of its series. The last column runs to data.to (now). The view is built from the stored history every 20 minutes and never in the request: builtAt says when, stale: true when it is older than an hour (served all the same); without a stored view the answer has no columns and meta.warnings (code coverage) says it is being prepared; preparing names coins whose older history is still being read. Window per plan: days up to the plan history (free key 30 days, keyless 24 h, Pro / API Dev 365 days, Desk / API Pro 1095 days), the same depth as the site's range buttons. Exchange data: values per exchange of Binance, Bybit, Gate, HTX, KuCoin and Aster are returned (single liquidations, prints, order books, tickers, funding and ratios per exchange, exchange candles, sums per venue), as collected and without warranty. We may withhold a venue at any time: then its rows and its own sums are left out, asking for it answers 403 source_restricted, meta.restricted lists it, and sums over several venues stay. meta.restricted is absent while nothing is withheld.

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 /funding/heatmap
ParameterDescription
venuestringhyperliquid (default) | lighter | binance | bybit | gate | htx | kucoin | aster. A switched-off venue answers 400. An exchange answers 403 source_restricted only while it is withheld (meta.restricted).one of hyperliquid, lighter, binance, bybit, gate, htx, kucoin, aster · default hyperliquid
daysintegerWindow in UTC days up to today, default 30, clamped to 1 to 1095 and to the plan history (meta.warnings says so). Up to 365 one column per day, above it one per week.1–1095 · default 30 · e.g. 7
coinstringOnly the row of this coin (optional). A coin outside the largest markets of the venue answers no row (meta.warnings code coverage).e.g. BTC

Response fields

Every success is { data, meta }; these are the fields of data. meta is the same on every endpoint.

    • venuestring (enum)The venue of the heatmap (the venue parameter, default hyperliquid).
    • daysintegerWindow in UTC days (the days parameter after the plan clamp).
    • step"day" | "week"Width of a column: day (UTC) up to 365 days, week (Monday to Sunday, UTC) above.
    • columns[]array of stringStart date of each column (YYYY-MM-DD, UTC), oldest first; the last column runs to `to`.
    • fromstring · nullableStart date of the first column (YYYY-MM-DD); null without a stored view.
    • tostring (ISO 8601) · nullableEnd of the last column: the time the view reaches (now when it was built); null without a stored view.
    • coins[]array of objectsOne row per coin, largest open interest first: the largest markets of the venue (cells in the order of columns).
    Show the 11 fields of coins[]
    • coins[].coinstringCoin name as on Hyperliquid (BTC, kPEPE, HIP-3 names like xyz:TSLA).
    • coins[].openInterestUsdnumberOpen interest of the coin on the venue when the view was built (the row order) (USD).
    • coins[].funding[]array of numberPer column: funding paid over the covered hours of the column, a fraction of the position (what a 1x long paid per dollar; negative = it received). null where nothing is stored.
    • coins[].apr[]array of numberPer column: the same funding annualised over its covered hours (fraction). null where nothing is stored.
    • coins[].hours[]array of numberPer column: hours covered by stored funding (0 = nothing stored, never filled in).
    • coins[].cumulativeobjectThe columns of the window added up.
    • coins[].cumulative.fundingnumberFunding over the covered hours of the window (fraction): what a 1x long paid per dollar of position, negative = it received.
    • coins[].cumulative.aprnumber · nullableAverage annualised funding over the covered hours (fraction); null without covered hours.
    • coins[].cumulative.hoursCoverednumberHours of the window covered by stored funding.
    • coins[].cumulative.hoursInRangenumberHours of the window up to now, from the first stored funding of the coin on.
    • coins[].cumulative.daysCoveredintegerColumns with any covered time.
    • preparing[]array of stringCoins whose older history for this window is still being read from storage (no row yet).
    • firstStoredstring · nullableDay of the first stored funding row over the rows (YYYY-MM-DD).
    • builtAtstring (ISO 8601) · nullableWhen the view was built from the stored history (every 20 minutes); null without a stored view.
    • stalebooleantrue: the view is older than an hour (served all the same, with builtAt).

Errors

Methodology

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 11sOperationalHyperliquid positions & whales 11sOperationalLiquidation heatmap & levels 17sOperationalLighter markets & liquidations 15sOperationalLighter positions & heatmap 16sOperationalLighter on Robinhood Chain: positions & heatmap 16sOperationalAster markets 1mOperationalBinance markets 53sOperationalBybit markets 33sOperationalGate markets 59sOperationalHTX markets 1mOperationalKuCoin markets 1mOperationalBinance liquidations 40sOperationalBybit liquidations 40sOperationalGate liquidations 40sOperationalHTX liquidations 40sOperationaldYdX positions & heatmap 13sOperationalGMX positions & heatmap 13sOperationalLong/short & open interest history 17sOperationalOrder books & trade flow 15sOperationalOn-chain transfers 17sOperationalSecurity monitor 58sOperationalBlockmetric Sentiment 13mOperationalAgency releases 6mOperationalAlert delivery 12sOperationalDataset files 20mOperational07:27:49 UTC