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.