API

API

A JSON API over HTTPS. Every response is sourced and timed, and anything that goes on the record carries an id you can prove.

Base URL #

https://coingraph.ai/api/v1

No key is needed to start. The base URL already includes /v1; paths below are written as /v1/… so that they read like the OpenAPI spec.

Your first request
curl "https://coingraph.ai/api/v1/state/cardano?sections=market"

Requests and responses #

  • Send JSON bodies with content-type: application/json. Bodies are limited to 16 KB.
  • Tokens can be given as a CoinGecko id (cardano), a symbol (LINK) or a contract address.
  • Every response is { object, id, as_of, data, sources }. See Concepts.
  • Paid calls take Authorization: Bearer cg_live_…; pay-per-call with x402 is coming soon. Prices are in credits; 1 credit is $0.01. See Keys & pricing.
  • CORS is open, so browsers can call the API directly. Errors, limits and clamps: Errors & limits.

Endpoints #

Discover · Find what CoinGraph covers and whether it is healthy.

EndpointCallAuthCredits
List & search tokensGET /v1/tokensnonefree
Service statusGET /v1/statusnonefree

Understand · Everything CoinGraph knows, as data.

EndpointCallAuthCredits
Token stateGET /v1/state/{token}key after 25 a day1
Token historyGET /v1/history/{token}key after 25 a day1
Market overviewGET /v1/marketkey after 25 a day1
Inspect an addressGET /v1/inspect/{chain}/{address}key5

Decide · Ask CoinGraph to think. Creates objects with ids that go on the public record.

EndpointCallAuthCredits
Evaluate a tokenGET /v1/evaluate/{token}nonefree
POST /v1/evaluatekey5
Explain a moveGET /v1/explain/{token}nonefree
GET /v1/explain/{token}/{id}nonefree
POST /v1/explainkey5
Ask or check a claimPOST /v1/askkey10
Run an agentGET /v1/agentsnonefree
GET /v1/agents/{id}nonefree
POST /v1/agents/{id}key5 (premium) or 25 (pro)

Watch · Get told when something changes.

EndpointCallAuthCredits
Monitors & webhooksPOST /v1/monitorkey5
GET /v1/monitorsecretfree
DELETE /v1/monitor/{id}secretfree

Trust · Check CoinGraph's record and prove what you were told.

EndpointCallAuthCredits
Track recordGET /v1/recordnonefree
GET /v1/record/{token}nonefree
Verify a proofGET /v1/verify/{id}nonefree

Machine-readable #

ResourceUse
/openapi.jsonOpenAPI 3.1 for code generators and agent frameworks.
/llms.txtA short guide for language models.
/mcpThe same capabilities as MCP tools.
i

Credits

Discover and Trust calls are free. Data calls have a daily free allowance of 25, then cost 5 credits. Premium calls cost 25, written answers 50 and Pro agents 125, with an API key. Pay-per-call with x402 is coming soon. The MCP tools cost the same as the REST calls behind them.