# WebSocket API

- [Introduction](https://docs.sfox.com/websocket-api/introduction.md)
- [Connecting](https://docs.sfox.com/websocket-api/connecting.md): Connecting to the WebSocket API
- [Rate Limits](https://docs.sfox.com/websocket-api/rate-limits.md): Connecting to the WebSocket API
- [Authentication](https://docs.sfox.com/websocket-api/authentication.md): Authenticating to the WebSocket API
- [Subscribing & Unsubscribing](https://docs.sfox.com/websocket-api/subscribing-and-unsubscribing.md): Subscribing or unsubscribing to WebSocket feeds
- [Message Format](https://docs.sfox.com/websocket-api/message-format.md): WebSocket API message format
- [Market Data](https://docs.sfox.com/websocket-api/market-data.md): Receive real-time streaming market data from the sFOX WebSocket API
- [Order Book](https://docs.sfox.com/websocket-api/market-data/order-book.md): Real-time streaming order book data
- [Trades](https://docs.sfox.com/websocket-api/market-data/trades.md): Real-time streaming tick data of publicly executed trades
- [Ticker](https://docs.sfox.com/websocket-api/market-data/ticker.md): Real-time streaming day OHLCV data and last trade
- [Orders & Account Data](https://docs.sfox.com/websocket-api/orders-and-account-data.md): Receive real-time streaming account updates from the sFOX WebSocket API
- [Orders](https://docs.sfox.com/websocket-api/orders-and-account-data/orders.md): Real-time streaming updates to your open orders
- [Trades](https://docs.sfox.com/websocket-api/orders-and-account-data/trades.md): Real-time streaming updates of completed trades.
- [Balances](https://docs.sfox.com/websocket-api/orders-and-account-data/balances.md): Real-time streaming updates to your account balances
- [Post-Trade Settlement](https://docs.sfox.com/websocket-api/orders-and-account-data/post-trade-settlement.md): Real-time streaming account post-trade settlement credit and risk updates


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sfox.com/websocket-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
