Skip to main content
WSS
Every trade of a token, across every pool. Room: v2:transaction:{mint}. The live side of GET /v2/trades/{token}. A trade against SOL or a stablecoin arrives under the other token. A trade between two tokens arrives in both tokens’ rooms, as a buy of one and a sell of the other.

WebSocket example

Each message is a page of new trades in the /v2 format, without the cursor fields. Trades always include full detail, with wallet identities when known. Load history from the REST route.

SDK Example

apiKey
type:httpApiKey

API key for authentication. Include your Datastream key in the connection URL: wss://datastream.solanatracker.io/{DATASTREAM_KEY}

Subscribe to token trades
type:object
Unsubscribe from token trades
type:object
New token trades
type:object