Skip to main content
URL: wss://datastream.solanatracker.io/{apiKey}
Use your Data API key in the path. Available on Premium, Business, and Enterprise plans.
All Datastream rooms share one hub and the same JSON control protocol. Room data always arrives as { "type": "message", "room": "...", "data": ... }.

Connection URL

Always connect to the canonical Datastream host:
Customer-specific Data API REST hostnames do not terminate Datastream. Use the path key above — not a REST base URL — for WebSocket auth.

Authentication failures

An invalid or missing API key may still complete the WebSocket handshake, then close almost immediately with:
  • no JSON error payload
  • no joined acknowledgment
Treat that clean-but-immediate close as authentication failure, not a normal shutdown. Retry only after fixing the key/URL.

Join and leave

Heartbeat (JSON ping/pong)

The server may emit a JSON control frame:
Reply with:
These are application frames. They are separate from WebSocket protocol-level ping/pong and from room message payloads. Native clients should answer JSON ping to keep the session stable.

Wallet balance amounts

On wallet:{wallet}:balance and wallet:{wallet}:{token}:balance:
  • amount is a UI decimal (human units), not raw integer base units / lamports
  • native SOL uses mint So11111111111111111111111111111111111111112

Limits and quotas

Premium+ Datastream includes unlimited messages (no per-message fees). There is no limit on concurrent WebSocket connections or rooms per connection. REST monthly request quotas do not disconnect an established Datastream session when exhausted.

Next

Live Prices

Price and candle rooms.

Token Discovery

Launches, graduations, and market events.

Safety Streams

Snipers, bundlers, and holder signals.

PnL V2 Datastream

Live wallet and position PnL.