Endpoint
Connection limits
| Plan | Concurrent WebSocket connections |
|---|---|
| Free | 0 |
| Dev | 2 |
| Pro | 5 |
| Ultra | 10 |
| Shared Metal | 30 |
Subscription methods
All standard Solana WebSocket subscription methods are supported.| Method | What it does |
|---|---|
accountSubscribe | Receive updates when an account’s data changes |
programSubscribe | Watch all accounts owned by a program |
signatureSubscribe | Get notified when a transaction is confirmed |
logsSubscribe | Stream transaction logs matching a filter |
slotSubscribe | Receive slot progression updates |
rootSubscribe | Get notified when a new root is set |
accountUnsubscribe).
Usage example
This example subscribes to account changes using the native WebSocket API:ACCOUNT_ADDRESS with the base-58 public key of the account you want to watch.
WebSocket connections can drop during network events. In production, implement reconnection logic to avoid missing updates.
WebSocket vs gRPC
Both WebSocket and gRPC deliver real-time data, but they suit different use cases.| WebSocket | gRPC | |
|---|---|---|
| Protocol | Standard WebSocket (JSON) | Yellowstone gRPC (Protobuf) |
| Plans | Dev and above | Pro and above |
| Best for | Browser apps, simple integrations | High-throughput backends, MEV bots |
| Filtering | Basic (by account or program) | Advanced (by program, account, instruction) |
| Throughput | Moderate | Very high |
Next steps
Streaming data guide
Step-by-step guide for setting up WebSocket and gRPC subscriptions.
gRPC streams
Higher-throughput streaming for production backends.
Plans
See connection limits across all plans.