Skip to main content
Subscribe to margin call and liquidation event notifications for collateral borrows. Events fire when a borrow enters margin call or liquidation state. This is an event-driven channel — updates are pushed once per state change, with no periodic polling or snapshot on subscribe.
Connect to wss://api.whitebit.com/ws — see WebSocket Overview for protocol details and keepalive requirements.

Rate limits

Subscribe to borrow events

Update frequency

Updates are pushed in real time on borrow state changes (new borrow, repayment, liquidation).

Error codes

Borrow event object