> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whitebit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Borrows Events

> Subscribe to real-time margin borrow events for a WhiteBIT account via WebSocket.

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.

<Note>Connect to `wss://api.whitebit.com/ws` — see [WebSocket Overview](/websocket/overview) for protocol details and keepalive requirements.</Note>

## Rate limits

## Subscribe to borrow events

<Note>
  This channel delivers events only on state changes — no snapshot is sent on subscribe, and events missed during a disconnection are not replayed. For complete borrow state awareness, pair this channel with [Borrows](/websocket/account-streams/borrows), which sends full snapshots every 1.5 seconds.
</Note>

## Update frequency

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

## Error codes

## Borrow event object

* [Borrows](/websocket/account-streams/borrows) — current borrow state with periodic full snapshots.
