Connect to wss://synthesis.trade/api/v1/orderbook/ws and then send JSON messages over that socket.
Supported message types:
subscribeunsubscribeSubscription behavior:
markets, an initial snapshot for those markets is returned and then live updates are streamed.venue without markets, the socket subscribes to that venue.{ "type": "subscribe" }, the socket subscribes without additional filters.Supported market IDs:
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 5000 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