Skip to main content
建立连接后,加入应用需要的房间。所有订阅使用相同的认证、加入和离开消息,以及 JSON 心跳协议。
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

实时价格

Price and candle rooms.

代币发行

Launches, graduations, and market events.

实时风险信号

Snipers, bundlers, and holder signals.

实时盈亏

Live wallet and position PnL.