Fetch it once. Follow it live.
Every data document in Chainmetric has a live stream with the same schema as its HTTP answer. Load a snapshot, subscribe, and continue from the exact sequence number, over Server-Sent Events or WebSocket. Nothing is missing or counted twice after a reconnect.
Snapshot, subscribe, resume
Every event carries a sequence number. If the connection drops, you reconnect from the last number you saw, and the stream fills the gap exactly.
What you can stream
Each of these documents can be fetched over HTTP and followed live with the same fields.
| Document | Typical use |
|---|---|
| Token stats | Headline numbers for a token page |
| Prices | Price tickers and alerts |
| Trades | Live trade tapes |
| OHLCV candles | Live charts |
| Liquidity | Pool depth and liquidity changes |
| Pool stats | Per-pool activity |
| Markets | Every market a token trades on |
| Holders | Live holder lists |
| Wallet positions | Portfolio views |
| Wallet stats | Wallet profiles |
| Wallet trades | Copy trading and wallet tracking |
| Dev history | Deployer checks |
| First buyers | Launch analysis |
| Token security | Safety badges that update |
| Token lists | Trending and curated lists |
| New launches | Trenches feeds |
Server-Sent Events or WebSocket
Both carry the same events. Pick the one your stack already uses.
| Server-Sent Events | WebSocket | |
|---|---|---|
| Direction | Server to client | Both ways |
| Works with | Plain HTTP, browsers, any language | WebSocket clients, any language |
| Reconnect | From the last sequence number | From the last sequence number |
| Best for | Dashboards, feeds, simple backends | Apps that subscribe to many documents |
What durable means here
Numbered events
Every event has a sequence number, so your app always knows where it is.
No silent drops
A slow consumer is not dropped without notice.
Same schema as history
Live events have the same shape as HTTP answers, so you build each screen once.
One trade, live
{
"seq": 104215,
"chain": "base",
"pair": "WETH/USDC",
"side": "buy",
"amount": "2.41 WETH",
"commitment": "processed"
}- The sequence number you resume from.
- The same fields as the HTTP trades document.
- Arrives processed at the chain head; later events upgrade it to confirmed and finalized.
Questions people ask
What is the best real-time crypto API for live trades?
Look for live streams with the same schema as history, sequence numbers for reconnects, and a commitment level on every record. Chainmetric streams every document over Server-Sent Events and WebSocket.
Does Chainmetric have a WebSocket API?
Yes. Every document can be followed over WebSocket or Server-Sent Events.
Can I stream OHLCV candles in real time?
Yes. OHLCV candles are one of the streamable documents.
What happens if my connection drops?
Reconnect from the last sequence number you received. The stream continues exactly where it stopped, with nothing missing and nothing counted twice.
Is there a Solana WebSocket API?
Yes. Streams work the same way on Solana and EVM chains, with the same document shapes.
Build on Chainmetric.
Live blockchain data and wallet intelligence on EVM chains and Solana, with one schema.