Liquidations by price

Where the liquidations of one coin happened: USD of liquidated longs and shorts per price step.

GET/api/v1/liquidations/by-priceEvery key

Description

Where the liquidations of one coin happened, per price step: the stored liquidation prints of every venue the API serves (Hyperliquid, Lighter and the exchanges), summed per step with longs and shorts apart (the side of the liquidated position), the price now, and halfBand, the narrowest price range that holds at least half of the USD of the window. Every number is the sum of stored prints; nothing is modelled. On Binance at most the largest liquidation of a symbol per second is visible, so its amounts are a lower bound. Rows run from the lowest to the highest price with the empty steps as zeros; the thinnest 0.5 % of the USD at each end of the range is counted in the totals (outsideUsd, outsideCount) but not drawn as rows, so one stray print does not stretch the range. step=auto (the default) picks a round step that gives about 40 rows, as the chart on the coin page; a number asks for a step of its own, used as a whole multiple of the coin's base step (about 0.1 % of the price) with at most 500 rows (meta.warnings names a change). The window starts at the whole hour hours back (never before the plan history, meta.access.historyFrom) and ends at the start of the current minute; single prints are kept 120 days and the window reaches 90 days: keyless 24 h, free key 30 days, Pro, Desk and the API plans 90 days. venues lists every venue with prints in the window, also when venue picks one. 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 /liquidations/by-price
ParameterDescription
coinstringrequiredCoin name as on Hyperliquid or an exchange form (BTC, ETH, kPEPE, xyz:TSLA, BTCUSDT); case-insensitive. Required. 404 for an unknown coin; a known coin without stored prints answers empty rows.e.g. BTC
hoursintegerWindow in hours, default 24, clamped to 1–2160 (90 days) and to the plan history (keyless 24 h, free key 30 days, Pro, Desk and the API plans 90 days). Also as 24h, 7d, 30d or 90d.1–2160 · default 24 · e.g. 24
fromstringWindow start (ISO 8601 or a plain date), instead of hours: the window is the whole hours from it to now, rounded up. Send from or hours, not both. Clamped like hours (meta.warnings names from).ISO 8601 (UTC), e.g. 2026-10-23T12:00:00Z or 2026-10-23
venuestringall (default) | hyperliquid | lighter | binance | bybit | gate | htx: only the prints of this venue. A switched-off venue answers 400, a withheld one 403 source_restricted.one of all, hyperliquid, lighter, binance, bybit, gate, htx · default all
stepstringauto (default: a round step for about 40 rows) or a price step in USD, e.g. 250 or 0.5, used as a whole multiple of the base step of the coin (about 0.1 % of the price) with at most 500 rows; data.step is the step used.≥ 0 · default auto · e.g. 250

Response fields

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

    • coinstringCoin name as on Hyperliquid (BTC, kPEPE, HIP-3 names like xyz:TSLA).
    • hoursintegerWindow in hours as applied (clamped to 90 days and to the plan history; meta.warnings says so).
    • fromstring (ISO 8601)Window start: the whole hour `hours` back, never before the plan history (meta.access.historyFrom).
    • tostring (ISO 8601)Window end, exclusive: the start of the current minute.
    • priceNownumber · nullableNewest mark price of the coin on a venue the API serves (Hyperliquid first, else the largest open interest); null when none has one.
    • stepnumber · nullablePrice step of the rows in USD: each row covers priceLow up to priceHigh. null when no print of the coin is stored in the window.
    • venuestringThe venue filter of the request: all or one venue.
    • venues[]array of objectsEvery venue the API serves with prints in the window, also when venue picks one; most USD first.
    • venues[].venuestringTrading venue the row comes from.
    • venues[].usdnumberLiquidated (USD).
    • venues[].countintegerNumber of items (liquidations, positions …) in the group.
    • totalsobjectEvery print of the window (of the venue filter), the ones outside the rows included.
    Show the 6 fields of totals
    • totals.longUsdnumberLiquidated longs (USD).
    • totals.shortUsdnumberLiquidated shorts (USD).
    • totals.unknownUsdnumberPrints without a side (USD).
    • totals.countintegerPrints in the window.
    • totals.outsideUsdnumberPrints at the thin ends of the price range (0.5 % of the USD at each end): counted in the totals, not drawn as rows (USD).
    • totals.outsideCountintegerPrints at the thin ends of the price range.
    • halfBandobject · nullableThe narrowest run of rows that holds at least half of the USD of the window (the prints outside the rows included); null without prints.
    Show the 5 fields of halfBand
    • halfBand.lownumberLower edge of the band.
    • halfBand.highnumberUpper edge of the band (exclusive).
    • halfBand.sharenumberShare of the USD of the window inside the band, fraction (at least 0.5).
    • halfBand.longUsdnumberLiquidated longs in the band (USD).
    • halfBand.shortUsdnumberLiquidated shorts in the band (USD).
    • rows[]array of objectsOne row per price step, lowest price first; a step without prints is a row of zeros.
    Show the 7 fields of rows[]
    • rows[].priceLownumberLower edge of the price step (inclusive).
    • rows[].priceHighnumberUpper edge of the price step (exclusive).
    • rows[].longUsdnumberLiquidated longs (USD).
    • rows[].shortUsdnumberLiquidated shorts (USD).
    • rows[].unknownUsdnumberPrints without a side (USD).
    • rows[].longCountintegerPrints of liquidated longs.
    • rows[].shortCountintegerPrints of liquidated shorts.

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 14sOperationalHyperliquid positions & whales 14sOperationalLiquidation heatmap & levels 20sOperationalLighter markets & liquidations 18sOperationalLighter positions & heatmap 12sOperationalLighter on Robinhood Chain: positions & heatmap 18sOperationalAster markets 16sOperationalBinance markets 1mOperationalBybit markets 52sOperationalGate markets 1mOperationalHTX markets 1mOperationalKuCoin markets 1mOperationalBinance liquidations 13sOperationalBybit liquidations 13sOperationalGate liquidations 13sOperationalHTX liquidations 13sOperationaldYdX positions & heatmap 25sOperationalGMX positions & heatmap 13sOperationalLong/short & open interest history 12sOperationalOrder books & trade flow 18sOperationalOn-chain transfers 13sOperationalSecurity monitor 56sOperationalBlockmetric Sentiment 31sOperationalAgency releases 4mOperationalAlert delivery 19sOperationalDataset files 7mOperational07:14:51 UTC