Skip to main content

Documentation Index

Fetch the complete documentation index at: https://whitebit-mintlify-spelling-grammar-fixes-1775434366.mintlify.app/llms.txt

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

Subscribe to real-time trade execution updates for one or more markets. Update interval: real-time.

Query recent trades (one-time)

Fetch recent trades for a market without subscribing. params: [market, limit, lastId]. lastId — return trades with ID greater than this value (use 0 for the latest trades). Request Response

Subscribe to trades

For each WebSocket connection, subscribe to either specific markets or all markets. Every new subscription replaces the existing one.

RPI orders in trade updates

Trade updates can include executions originating from RPI orders:
  • rpi: true — the trade involved a Retail Price Improvement (RPI) order
  • rpi: false or absent — regular trade
Public market data feeds do not expose RPI orders as visible liquidity in depth or bookTicker. RPI orders remain visible only in private active orders and in the exchange UI order book (web and mobile).

Trade object