Real-time

Hyperliquid Liquidations

A real-time websocket feed of every liquidation on Hyperliquid. Because liquidations happen onchain, the feed is transparent, complete, and independently verifiable — not a curated stream an exchange chooses to expose.

Onchain & verifiable

Unlike centralized exchanges that control what they push, every Hyperliquid liquidation is onchain — transparent and independently verifiable.

Real-time stream

Subscribe to liquidationFills and receive every liquidation as it happens, batched per block with full fill detail.

Complete fill data

Coin, price, size, side, closed PnL, the liquidated user, mark price, and the liquidation method — market or backstop.

Gap-free reconnects

Session cursors and (time, txIndex) dedup mean you can reconnect and replay missed liquidations without double-counting.

HydromancerliquidationFills.ws
const WebSocket = require("ws")

const ws = new WebSocket(
  `wss://api.hydromancer.xyz/ws?token=${process.env.HYDROMANCER_API_KEY}`
)

ws.on("message", (data) => {
  const msg = JSON.parse(data)

  if (msg.type === "connected") {
    ws.send(JSON.stringify({
      type: "subscribe",
      subscription: { type: "liquidationFills" },
    }))
  } else if (msg.type === "ping") {
    ws.send(JSON.stringify({ type: "pong" }))
  } else if (msg.type === "liquidationFills") {
    console.log(`Received ${msg.fills.length} liquidations`)
  }
})

Liquidation history by coin and time

For past liquidations, use liquidationHistoryByTime. Pass a coin and a start time; each response returns up to 1,000 liquidations (500 by default).

Each row includes the liquidated user, the mark price at liquidation and the method: market or backstop.

{"type":"liquidationHistoryByTime","coin":"BTC","startTime":1793300000000}

Where to get Hyperliquid liquidation data

  • Live, every market: the liquidationFills stream (above).

  • Live, your builder's users only: the builderLiquidations stream.

  • History over the API: liquidationHistoryByTime.

  • Free bulk history: Reservoir's liquidations folders, one Parquet file a day. See Hyperliquid historical data.

Liquidations you can actually verify

On a centralized exchange, the liquidation feed is whatever the venue decides to publish — you take it on faith. On Hyperliquid, every liquidation settles onchain, so the feed Hydromancer streams is the ground truth: nothing hidden, nothing filtered, and anyone can verify it against the chain.

That makes it the right foundation for risk engines, liquidation bots, and analytics dashboards — anything that needs to react to market stress the moment it happens.

§ FAQ

Frequently asked questions

Does Hyperliquid have a liquidation API?+

Hyperliquid's own API has no request for liquidation history across the market. Hydromancer adds one (liquidationHistoryByTime) and a live stream of every liquidation (liquidationFills).

How far back does liquidation history go?+

Complete from 28 July 2025.

How do I find liquidation prices for open positions?+

Hyperliquid removed its liquidatable request. Read liquidationPx for each open position from clearinghouseState, or from batchClearinghouseStates for up to 1,000 wallets at once.

What's the difference between a market and a backstop liquidation?+

When an account falls below maintenance margin, Hyperliquid first closes positions with market orders on the order book (method market). Large positions are closed 20% at a time. If equity drops below two-thirds of maintenance margin before that works, the liquidator vault takes over the position (method backstop).

Built to market maker standards

Low latency, high stability, gap-free reconnects — the same feeds powering risk and liquidation tooling across HyperCore.