> Use the canonical URL for citations. For the complete Predict API documentation index, fetch https://docs.staging.trypredict.com/llms.txt. # WebSocket API ## API Docs - WebSocket API [WebSocket Connection](https://docs.staging.trypredict.com/api-reference/web-socket-api/websocket-connection.md) - WebSocket API [Connection Keep-Alive](https://docs.staging.trypredict.com/api-reference/web-socket-api/keep-alive.md) - WebSocket API [Orderbook Updates](https://docs.staging.trypredict.com/api-reference/web-socket-api/order-book.md) - WebSocket API [Best Bid and Offer](https://docs.staging.trypredict.com/api-reference/web-socket-api/best-bid-offer.md) - WebSocket API [Mid Prices](https://docs.staging.trypredict.com/api-reference/web-socket-api/mid-prices.md) - WebSocket API [Public Trades](https://docs.staging.trypredict.com/api-reference/web-socket-api/public-trades.md) - WebSocket API [Candles](https://docs.staging.trypredict.com/api-reference/web-socket-api/candles.md) - WebSocket API [User Fills](https://docs.staging.trypredict.com/api-reference/web-socket-api/user-fills.md) - WebSocket API [Balances](https://docs.staging.trypredict.com/api-reference/web-socket-api/balances.md) - WebSocket API [Open Orders](https://docs.staging.trypredict.com/api-reference/web-socket-api/open-orders.md) - WebSocket API [Order Updates](https://docs.staging.trypredict.com/api-reference/web-socket-api/order-updates.md) - WebSocket API [Ledger Updates](https://docs.staging.trypredict.com/api-reference/web-socket-api/ledger-updates.md) - WebSocket API [Notifications](https://docs.staging.trypredict.com/api-reference/web-socket-api/notifications.md) - WebSocket API [WebSocket POST Requests](https://docs.staging.trypredict.com/api-reference/web-socket-api/post-requests.md) ## AsyncAPI Specification The raw AsyncAPI 2.6.0 specification for the WebSocket channels is available at: - [AsyncAPI JSON](https://docs.staging.trypredict.com/asyncapi.json) - [AsyncAPI YAML](https://docs.staging.trypredict.com/asyncapi.yaml)