Messages
{
"type": "join",
"room": "pm:market_lifecycle"
}{
"type": "leave",
"room": "pm:market_lifecycle"
}{
"type": "message",
"room": "pm:market_lifecycle",
"data": {
"type": "trade",
"channel": "trades",
"exchange": "polymarket",
"marketId": "1234567890",
"timestamp": 1785347120123
}
}Websockets
Market lifecycle
Broad Kalshi lifecycle channel (opened/closed/suspended).
WSS
/
Messages
{
"type": "join",
"room": "pm:market_lifecycle"
}{
"type": "leave",
"room": "pm:market_lifecycle"
}{
"type": "message",
"room": "pm: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}
joinMarketLifecycle
type:object
Subscribe to market opened/closed/suspended events
leaveMarketLifecycle
type:object
Unsubscribe from Market Lifecycle
marketLifecycleMessage
type:object
Market Lifecycle update
Was this page helpful?
⌘I