Skip to main content

Streaming API

Live updates are delivered over a WebSocket served by Centrifugo at:

wss://stream.smirkterminal.xyz/connection/websocket

Use a Centrifugo client library rather than a raw socket — e.g. centrifuge-js (browser/Node) or centrifuge-python.

Flow

  1. Connect with a connection JWT (see Authentication).
  2. Subscribe to one or more channels (see Channels). Private channels need a per-channel subscription JWT.
  3. Receive publications — each channel emits messages of a documented shape.
  4. Reconnect automatically on disconnect; the client library handles backoff and re-subscription.

Error codes, recovery semantics, and presence/history options will be documented here. This page is a placeholder for now.