- Base endpoint:
wss://ws-api.ripio.com - Connections remain active as long as there is activity; idle connections are disconnected after 60 seconds of inactivity
- The WebSocket server will automatically send ping frames to maintain connection health
- If the WebSocket server does not receive a pong frame back from the connection within 60 seconds, the connection will be disconnected
- When you receive a ping, you must send a pong with a copy of ping’s payload as soon as possible
- Unsolicited pong frames are allowed, but will not prevent disconnection
- Authentication is done using API Token, Secret, and Timestamp (same as REST API)
- All timestamps are in milliseconds in UTC
- All field names and values are case-sensitive
- APIs have a timeout of 10 seconds when processing a request
Websocket Api
General API Information
The WebSocket API allows you to perform trading operations (create, cancel, and update orders) via WebSocket connection. This is separate from the WebSocket Stream service which provides real-time market data.