> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.drazill.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.drazill.com/_mcp/server.

# Realtime overview

Drazill publishes live updates over a single WebSocket connection. Instead of polling
the REST API, you open one socket, subscribe to the channels you care about, and
receive prices, order fills, trades, and market events as they happen.

## The feed at a glance

* **One connection, many channels.** Open a socket to `/ws`, then `subscribe` to any of
  the seven channels. Public market-data channels need no auth; your private stream and
  chat rooms do.
* **A frozen, generated contract.** Every channel, event name, and payload on the
  [WebSocket API reference](/realtime/reference) is **generated from Drazill's realtime contract**
  — the same registry the exchange and the official clients share — so the docs can't
  drift from what the server sends. Event names are canonical (`order_filled`, never
  `order_fill`).
* **No missed fills.** Each frame on a channel carries a monotonic `sequence`. If you
  detect a gap, you `resync` and the server replays exactly what you missed. Fills,
  cancels, wallet updates, trades, and market events are durably replayable.
* **Try it in the browser.** The WebSocket reference includes an interactive
  **Playground** — connect, subscribe, and watch frames arrive live.

## Read next

#### [Connect & authenticate](/realtime/connect)

Open the socket, send the auth frame (JWT or API key), and subscribe.

#### [WebSocket API reference](/realtime/reference)

The generated channel-by-channel reference and the live Playground.

#### [Sequencing & replay](/realtime/sequencing-replay)

Sequence numbers, gap detection, and the paginated resync recipe.

#### [Limits & retention](/realtime/limits)

Connection limits, heartbeats, slow-client shedding, and retention tiers.

> **Warning**
>
> In the Playground, connect to **staging** with a `drzl_test_` key — the paper
> environment. Never paste a `drzl_live_` key into a browser.