Liquidations
The liquidations stream uses the multiplex WebSocket endpoint:/ws.You authenticate using
X-API-Key during the WebSocket handshake.
1. Subscription schema
Available filters
Fortype = "liquidation" the server currently supports:
-
user(optional, string)
Only stream liquidations for this user address. -
amount_dollars(optional, number)
Only stream liquidations wherenotional_usd >= amount_dollars.
2. Subscribe: All liquidations
Client message
Example server event
3. Subscribe: Liquidations above a notional threshold
Filter by minimum notional size in USD usingamount_dollars:
notional_usd >= 50000 are streamed.