Skip to main content
The Activity WebSocket provides live trade updates filtered by market or user.

Connection

After connecting, you must send a filter message to specify what activity to receive.

Filter Types

Receive trades for a specific market.
You must send a filter within 30 seconds of connecting or the connection will be closed.

Message Types

Server Messages

Sent after filter is set with recent trades.

Client Messages

Request additional history with filters.
  • trade_type: Optional filter (buy, sell, redeem)
  • limit: Number of trades (default 50, max 1000)
  • offset: Pagination offset

Connection Example


Trade Data Structure


Use Cases

Trade Feed

Display live trades for a market in a dashboard.

User History

Track a user’s trading activity in real-time.

Analytics

Build real-time analytics on trading patterns.

Alerts

Trigger notifications on specific trade events.