Connect to wss://synthesis.trade/api/v1/orderbook/ws and send JSON messages over the socket.
Subscription behavior:
markets, an initial snapshot is returned and then live deltas are streamed.venue without markets, the socket subscribes to that venue.{ "type": "subscribe" }, the socket subscribes to all venues.Documentation Index
Fetch the complete documentation index at: https://api.synthesis.trade/docs/llms.txt
Use this file to discover all available pages before exploring further.
WebSocket message type. Supported values: subscribe or unsubscribe.
Optional venue filter when subscribing without explicit markets. Supported values: polymarket or kalshi.
Optional market list. Maximum 1000 items. Accepts both Polymarket token IDs and Kalshi market IDs. Mixed-venue lists are supported in the same subscribe request.
["12345", "KXBTC-25-T100000"]WebSocket connection established