Connect to wss://synthesis.trade/api/v1/trades/ws and then send JSON messages over that socket.
Supported message types:
subscribeunsubscribeSubscription behavior:
offset is 0 or omitted, the socket stays subscribed for live updatesoffset is greater than 0, only that historical page is returned and no live subscription is attachedMarket rules:
markets should contain condition IDsmarkets should contain market IDsWebSocket message type. Supported values: subscribe or unsubscribe.
Optional venue filter. Supported values: polymarket or kalshi. If omitted, the all-venues stream is only supported when markets is also omitted.
Optional list of market IDs. Maximum 1000 items. For Polymarket, use condition IDs. For Kalshi, use market IDs. Mixed-venue lists are supported when you provide the matching IDs for each venue.
[
"0xbd71b43bb47eb60dbcb41fa25df2a0ed4da612873d6e0447a2c730bd4cc25910",
"KXBTC-25-T100000"
]Historical pagination offset. Historical queries return 100 trades per venue/query shape. Live subscription is only attached when offset is 0 or omitted.
100
WebSocket connection established