WebSocket Overview
| Channel | Endpoint | Auth required |
|---|---|---|
| Market data | wss://api.pax.markets/v1/public/spot/market-data |
No |
| User data | wss://api.pax.markets/v1/private/spot/user-data |
Yes |
Try market data in the Playground.
Session flow
Section titled “Session flow”- Connect to the channel’s endpoint.
- Send
subscribe. Read thesubscribedreply, then data messages. - Send
pingat least every 30 seconds. See Keep-alive. - When the server disconnects you, reconnect and resubscribe.
Market Data
Section titled “Market Data”Real-time book and trade publication using the PAX unified market data event format. Subscribers first get a book snapshot, then a stream of unified event messages, each with all the information needed to understand trade events and reconstruct book state.
See Market Data.
User Data
Section titled “User Data”Real-time order and λ status updates including fills and confirmations. Subscribers first get a snapshot of their open orders and active λs, then a stream of updates.
See User Data.
Regulated services provided by 1Money USA, Inc., a licensed money transmitter, NMLS ID 2628653 · Licenses