Stream Real-Time Crypto Data with CoinGecko WebSockets
CoinGecko WebSocket API provides a persistent connection for real-time data streaming — receive market updates the moment they happen, without polling.CoinGecko WebSocket is a supplementary delivery mechanism for live data streaming. Currently in beta — excluded from the SLA applicable to the CoinGecko API Platform.
Share Feedback
Help us improve WebSocket — share your suggestions and feedback.
Channel & Data Support
Connection Handling
-
Ping/Pong Mechanism:
- Server sends a ping every 10 seconds.
- If no pong is received within 20 seconds, the connection is automatically closed.
- Ensure your WebSocket client responds to pings with pongs — most libraries handle this automatically, but verify your implementation.
-
Planned Disconnections (Deployments & Reboots):
- System reboots or deployments may temporarily disconnect active connections.
- Your application should automatically reconnect on disconnection. Use exponential backoff to avoid overwhelming the server during widespread disconnections.
Access WebSocket
Subscribe to a Basic plan or above to start streaming real-time data.


