Skip to main content
Connect once and join the rooms your app needs. Every Datastream subscription uses the same authentication, join/leave messages, and JSON heartbeat protocol.
URL: wss://datastream.solanatracker.io/{apiKey}
Use your Data API key in the path. Available on Premium, Business, and Enterprise plans.

Connection URL

Always connect to the canonical Datastream host:
Datastream authentication uses the API key in the WebSocket path. REST base URLs are separate from the Datastream host.

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
If the connection closes immediately without a room acknowledgment, check the API key and URL before retrying.

Join and leave

Heartbeat (JSON ping/pong)

The server may emit a JSON control frame:
Reply with:
Reply to JSON heartbeats in your message handler. They are application messages, separate from WebSocket protocol ping/pong frames.

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 launches

Launches, graduations, and market events.

Live risk signals

Snipers, bundlers, and holder signals.

Live PnL

Live wallet and position PnL.