Messages
{
"type": "join",
"room": "pm:polymarket"
}{
"type": "leave",
"room": "pm:polymarket"
}{
"type": "message",
"room": "pm:polymarket",
"data": {
"type": "trade",
"channel": "trades",
"exchange": "polymarket",
"marketId": "1234567890",
"timestamp": 1785347120123
}
}Websockets
Exchange feed
Non-market-state events for one exchange (trades, crypto_price, lifecycle). Not a prices firehose.
WSS
/
Messages
{
"type": "join",
"room": "pm:polymarket"
}{
"type": "leave",
"room": "pm:polymarket"
}{
"type": "message",
"room": "pm:polymarket",
"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}
joinExchangeFeed
type:object
Subscribe to all events for one exchange
leaveExchangeFeed
type:object
Unsubscribe from Exchange Feed
exchangeFeedMessage
type:object
Exchange Feed update
Was this page helpful?
⌘I