Channels
Trades
Subscribe to public trade feed for outcomes. No user auth required. Uses { action: "subscribe", channel: "trades", outcomeIds } message format. Shares the 500-subscription limit with orderbook subscriptions.
Send
Subscribe to public trade feed
Subscribe · Subscribe to orderbook
{ "action": "subscribe", "channel": "orderbook", "outcomeIds": [ "clv2abc123def456", "clv2xyz789ghi012" ], "id": "string"}Unsubscribe from trade feed
Unsubscribe · Unsubscribe from orderbook
{ "action": "unsubscribe", "channel": "orderbook", "outcomeIds": [ "clv2abc123def456", "clv2xyz789ghi012" ], "id": "string"}Receive
Public trade event from a venue
Trade · Trade
{ "type": "trade", "outcomeId": "clv2abc123def456", "channel": "orderbook", "venue": "polymarket", "side": "buy", "price": 0.55, "size": 100, "timestamp": 1710000000000, "tradeId": "string"}