Skip to content
Live streams

Fetch it once. Follow it live.

In short

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.

Sequence numbers across a reconnect · illustrativesnapshot and finalizedconfirmedlive

What you can stream

Each of these documents can be fetched over HTTP and followed live with the same fields.

DocumentTypical use
Token statsHeadline numbers for a token page
PricesPrice tickers and alerts
TradesLive trade tapes
OHLCV candlesLive charts
LiquidityPool depth and liquidity changes
Pool statsPer-pool activity
MarketsEvery market a token trades on
HoldersLive holder lists
Wallet positionsPortfolio views
Wallet statsWallet profiles
Wallet tradesCopy trading and wallet tracking
Dev historyDeployer checks
First buyersLaunch analysis
Token securitySafety badges that update
Token listsTrending and curated lists
New launchesTrenches feeds

Server-Sent Events or WebSocket

Both carry the same events. Pick the one your stack already uses.

Server-Sent EventsWebSocket
DirectionServer to clientBoth ways
Works withPlain HTTP, browsers, any languageWebSocket clients, any language
ReconnectFrom the last sequence numberFrom the last sequence number
Best forDashboards, feeds, simple backendsApps that subscribe to many documents

What durable means here

  1. Numbered events

    Every event has a sequence number, so your app always knows where it is.

  2. No silent drops

    A slow consumer is not dropped without notice.

  3. Same schema as history

    Live events have the same shape as HTTP answers, so you build each screen once.

One trade, live

Trade eventillustrative
{
  "seq": 104215,
  "chain": "base",
  "pair": "WETH/USDC",
  "side": "buy",
  "amount": "2.41 WETH",
  "commitment": "processed"
}
  1. The sequence number you resume from.
  2. The same fields as the HTTP trades document.
  3. 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.