Credit Cost
1 per minute
Processing
Realtime
- GoldRush-native: No
wss://api.hyperliquid.xyz/wsequivalent. The public WebSocket exposes per-wallet fills only; detecting liquidations there would require subscribing to every wallet and filtering. - Global stream: Every liquidation fill on HyperCore, across every wallet, on a single subscription. No
addressesfilter is accepted. - Every fill in this stream carries a non-null
liquidationobject. The rest of the payload mirrorsuserFills. - Live-only: No historical snapshot on subscribe. For historical liquidations, query the Streaming API
HypercoreLedgerEventtype.
userFills, with the liquidation object populated (with liquidatedUser, markPx, method) on every entry.
Endpoint
Your GoldRush API key. Passed as a query parameter at connection time - no
Authorization header is used.Subscribe
Send this JSON message after the connection is established:Always
"subscribe".Example
Unsubscribe
Send the samesubscription body with method: "unsubscribe":
Streamed message
Each push haschannel: "liquidationFills" and a fills array of [address, fill] tuples. The address is the wallet whose order was filled (i.e. the liquidator’s counterparty); liquidation.liquidatedUser is the wallet whose position was liquidated.
Always
"liquidationFills".Related endpoints
userFills
stream real-time trade fills for one or more wallets as they execute on HyperCore.