Skip to content
Developers

Plain HTTP. Live streams. No SDK.

In short

Chainmetric is plain HTTP, Server-Sent Events and WebSocket. There is no GraphQL to learn and no SDK to install. Every route has an OpenAPI spec, AI agents can call Chainmetric through its MCP server, and teams on Mobula can change the base URL and keep their code.

Fetch it, then follow it

Same path, same schema for history and live data. Placeholders mark values that come from the docs.

# fetch a snapshot
curl [BASE_URL]/[DOCUMENT_ROUTE]
  1. Plain HTTP that works in any language.
  2. The answer includes the sequence number to stream from.
# follow it, one event per line
curl -N [BASE_URL]/[DOCUMENT_ROUTE]/stream?from=[SEQ]
  1. Server-Sent Events over plain HTTP.
  2. Resume from any sequence number.
// subscribe to several documents on one socket
ws.send({ "subscribe": "[DOCUMENT]", "from": [SEQ] })
  1. WebSocket for apps that follow many documents.
  2. Same event shape as Server-Sent Events.

What you get

Protocols
HTTP, Server-Sent Events, WebSocket
Spec
OpenAPI for every route
SDK
None needed
Query language
None: no GraphQL
AI agents
MCP server
Migration
Mobula-compatible API

From zero to a live screen

  1. Fetch a snapshot

    Request the document over HTTP. The answer carries a sequence number.

  2. Subscribe

    Open a Server-Sent Events or WebSocket stream from that sequence number.

  3. Render once

    History and live events share one schema, so the same code renders both.

  4. Reconnect safely

    After a drop, resume from your last sequence number.

Coming from Mobula?

Chainmetric speaks Mobula's API, including its live candles, Pulse and token-details channels. Change the base URL, keep your code, and move to the native API when you are ready. Other providers are migrations rather than drop-in replacements; see Alternatives.

Questions people ask

Does Chainmetric need an SDK?

No. It is plain HTTP, Server-Sent Events and WebSocket, so any language works.

Is there an OpenAPI spec?

Yes. Every route has an OpenAPI spec, so you can generate clients and docs.

Does it use GraphQL?

No. There is no GraphQL to learn.

Is Chainmetric a Mobula alternative?

Yes. It offers a Mobula-compatible API: change the base URL and keep your code.

Can AI agents use it?

Yes, through the MCP server.

Build on Chainmetric.

Live blockchain data and wallet intelligence on EVM chains and Solana, with one schema.