The Top of Book channel provides real-time updates of the best bid and best ask prices for authorized Smart Order Routing customers. This lightweight channel is ideal when you only need the best available prices without the full order book depth.Documentation Index
Fetch the complete documentation index at: https://docs.paxos.com/llms.txt
Use this file to discover all available pages before exploring further.
Subscribe to Top of Book
Request
Response
Error Response
Top of Book Message Format
Real-time updates of the best bid and ask prices:Message Fields
| Field | Type | Description |
|---|---|---|
market | string | The market pair (e.g., “BTCUSD”) |
type | string | Always "TOP_OF_BOOK" for this channel |
timestamp | string | Server timestamp in RFC3339Nano format |
bids | array | Array with best bid price and amount |
asks | array | Array with best ask price and amount |
Price Level Fields
| Field | Type | Description |
|---|---|---|
price | string | Price level as a decimal string |
amount | string | Available amount at this price level as a decimal string |
Unsubscribe
To stop receiving top of book updates:List Active Subscriptions
Get all active subscriptions including top of book:Response
Questions? Contact Support.