Skip to main content

Documentation Index

Fetch the complete documentation index at: https://whitebit-mintlify-seo-descriptions-1777248505.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Subscribe to collateral borrow status updates for all open margin positions, including borrow amounts, unrealized funding, and liquidation prices. The server pushes full snapshots of all open borrows every 1.5 seconds when borrow data changes.
Connect to wss://api.whitebit.com/ws — see WebSocket Overview for protocol details and keepalive requirements.

Rate limits

Subscribe to borrows

Each update is a full snapshot of all open borrows — local state auto-recovers within 1.5 seconds of subscribing. No gap-filling is needed after reconnection.

Update frequency

The server pushes updates every 1.5 seconds when borrow data changes.

Error codes

Borrow object