Messages
{
"type": "join",
"room": "pm:status:open"
}{
"type": "leave",
"room": "pm:status:open"
}{
"type": "message",
"room": "pm:status:open",
"data": {
"type": "trade",
"channel": "trades",
"exchange": "polymarket",
"marketId": "1234567890",
"timestamp": 1785347120123
}
}Websockets
Status feed
Lifecycle feed when payload includes status (active, closed, settled, suspended, resolved).
WSS
/
Messages
{
"type": "join",
"room": "pm:status:open"
}{
"type": "leave",
"room": "pm:status:open"
}{
"type": "message",
"room": "pm:status:open",
"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}
joinStatusFeed
type:object
Subscribe by market status
leaveStatusFeed
type:object
Unsubscribe from Status Feed
statusFeedMessage
type:object
Status Feed update
Was this page helpful?
⌘I