Messages
{
"type": "join",
"room": "pm:market:polymarket:1234567890:market_lifecycle"
}{
"type": "leave",
"room": "pm:market:polymarket:1234567890:market_lifecycle"
}{
"type": "message",
"room": "pm:market:polymarket:1234567890:market_lifecycle",
"data": {
"type": "trade",
"channel": "trades",
"exchange": "polymarket",
"marketId": "1234567890",
"timestamp": 1785347120123
}
}Websockets
Single market lifecycle
Kalshi market lifecycle updates (opened/closed/suspended) for one ticker.
WSS
/
Messages
{
"type": "join",
"room": "pm:market:polymarket:1234567890:market_lifecycle"
}{
"type": "leave",
"room": "pm:market:polymarket:1234567890:market_lifecycle"
}{
"type": "message",
"room": "pm:market:polymarket:1234567890:market_lifecycle",
"data": {
"type": "trade",
"channel": "trades",
"exchange": "polymarket",
"marketId": "1234567890",
"timestamp": 1785347120123
}
}apiKey
type:httpApiKey
API key for authentication. Include your Datastream key in the connection URL: wss://datastream.solanatracker.io/{DATASTREAM_KEY}
joinSingleMarketLifecycle
type:object
Subscribe to lifecycle updates for one market
leaveSingleMarketLifecycle
type:object
Unsubscribe from Single-Market Lifecycle
singleMarketLifecycleMessage
type:object
Single-Market Lifecycle update
Was this page helpful?
⌘I