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.
userFills, with the liquidation object populated (with liquidatedUser, markPx, method) on every entry.
Endpoint
string
required
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:string
required
Always
"subscribe".object
required
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.
string
Always
"liquidationFills".array<[string, object]>
Related endpoints
allFills
stream every fill on HyperCore in real time for global market analytics and cross-wallet order-flow…
builderFills
stream live attributed fills for one or more builder addresses in real time.
userFills
stream real-time trade fills for one or more wallets as they execute on HyperCore.