> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.drazill.com/realtime/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.drazill.com/_mcp/server. # Realtime > Canonical developer documentation for the Drazill API — a Canadian prediction-market exchange with a hybrid CLOB + LMSR-AMM engine, one versioned REST API, a realtime WebSocket feed, and signed webhooks. Generated from the same CI-gated contract the exchange is built against. ## Docs - [Realtime overview](https://docs.drazill.com/realtime/overview.md): Stream live market data, order fills, and platform events over the Drazill WebSocket feed. - [Connect & authenticate](https://docs.drazill.com/realtime/connect.md): Open the WebSocket, send an auth frame, and subscribe to channels. - [Sequencing & replay](https://docs.drazill.com/realtime/sequencing-replay.md): How sequence numbers, gap detection, and paginated replay guarantee no missed events. - [Market by order](https://docs.drazill.com/realtime/market-by-order.md): Order-level market data on `mbo:{market_id}` — rests, cancels, reductions and trades, anonymized. - [Limits & retention](https://docs.drazill.com/realtime/limits.md): Connection limits, heartbeats, slow-client behavior, feed tiers, and the event-name alias. ## API Docs - [orderbook](https://docs.drazill.com/realtime/reference/orderbook/orderbook.md): WebSocket reference > Orderbook - [trades](https://docs.drazill.com/realtime/reference/trades/trades.md): WebSocket reference > Trades - [prices](https://docs.drazill.com/realtime/reference/prices/prices.md): WebSocket reference > Prices - [market](https://docs.drazill.com/realtime/reference/market/market.md): WebSocket reference > Market - [category](https://docs.drazill.com/realtime/reference/category/category.md): WebSocket reference > Category - [user](https://docs.drazill.com/realtime/reference/user/user.md): WebSocket reference > User - [chat](https://docs.drazill.com/realtime/reference/chat/chat.md): WebSocket reference > Chat - [mbo](https://docs.drazill.com/realtime/reference/mbo/mbo.md): WebSocket reference > Mbo - [contest](https://docs.drazill.com/realtime/reference/contest/contest.md): WebSocket reference > Contest - [control](https://docs.drazill.com/realtime/reference/control/control.md): WebSocket reference > Control ## AsyncAPI Specification - [AsyncAPI JSON](https://docs.drazill.com/asyncapi.json): raw AsyncAPI 2.6.0 specification for the WebSocket channels, JSON format - [AsyncAPI YAML](https://docs.drazill.com/asyncapi.yaml): raw AsyncAPI 2.6.0 specification for the WebSocket channels, YAML format