Messages
{
"type": "join",
"room": "pm:event:polymarket:btc-updown-5m-1785347100"
}{
"type": "leave",
"room": "pm:event:polymarket:btc-updown-5m-1785347100"
}{
"type": "message",
"room": "pm:event:polymarket:btc-updown-5m-1785347100",
"data": {
"type": "trade",
"channel": "trades",
"exchange": "polymarket",
"marketId": "1234567890",
"timestamp": 1785347120123
}
}Websockets
Event feed
Non-state updates for an event (typically trades). Volume uses the :volume suffix room only.
WSS
/
Messages
{
"type": "join",
"room": "pm:event:polymarket:btc-updown-5m-1785347100"
}{
"type": "leave",
"room": "pm:event:polymarket:btc-updown-5m-1785347100"
}{
"type": "message",
"room": "pm:event:polymarket:btc-updown-5m-1785347100",
"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}
joinEventFeed
type:object
Subscribe to all events for one event
leaveEventFeed
type:object
Unsubscribe from Event Feed
eventFeedMessage
type:object
Event Feed update
Was this page helpful?
⌘I