curl --request GET \
--url https://synthesis.trade/api/v1/trades/ws \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"venue": "<string>",
"markets": [
"0xbd71b43bb47eb60dbcb41fa25df2a0ed4da612873d6e0447a2c730bd4cc25910",
"KXBTC-25-T100000"
],
"offset": 100,
"limit": 1000
}
'Connect to wss://synthesis.trade/api/v1/trades/ws and send JSON messages over the socket.
Subscription behavior:
limit, default 100, max 10000).offset is 0 or omitted, the socket stays subscribed for live updates.offset is greater than 0, only that historical page is returned.Market rules:
markets should contain condition IDs.markets should contain market IDs.curl --request GET \
--url https://synthesis.trade/api/v1/trades/ws \
--header 'Content-Type: application/json' \
--data '
{
"type": "<string>",
"venue": "<string>",
"markets": [
"0xbd71b43bb47eb60dbcb41fa25df2a0ed4da612873d6e0447a2c730bd4cc25910",
"KXBTC-25-T100000"
],
"offset": 100,
"limit": 1000
}
'WebSocket 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 trades up to limit per venue/query shape. Live subscription is only attached when offset is 0 or omitted.
100
Maximum historical trades to return per query. Capped at 10000.
1000
WebSocket connection established