CoinGraph Decide API
Ask CoinGraph to think. Creates objects with ids that go into the public record.
Ask CoinGraph to think. Creates objects with ids that go into the public record.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/coingraph-ai:coingraph-ai-decide-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: CoinGraph Decide API
version: 1.0.0
summary: 'Provable crypto data for AI agents: market, on-chain, whale, contract and sanctions data in one call.'
description: 'Humans read it, agents call it. Every response carries where the data came from (sources) and when it was true (as_of); anything unmeasured is "unassessed". CoinGraph never executes, custodies or advises — the caller decides.
Phase: hackathon. Discover and Trust calls are free. Data calls (state, history, market) are free for 25 calls a day, then 1 credit. Premium calls (sized checks, fresh briefs, questions, address lookups, monitors, most agents) are 5 credits; Pro agents are 25. With an API key, calls spend credits; without one, paid calls answer 402 with x402 payment details.'
contact:
name: CoinGraph
url: https://coingraph.ai
email: support@coingraph.ai
x-mcp-server: https://coingraph.ai/mcp
servers:
- url: https://coingraph.ai/api/v1
description: Production
tags:
- name: Decide
description: Ask CoinGraph to think. Creates objects with ids that go into the public record.
paths:
/evaluate/{token}:
get:
tags:
- Decide
operationId: evaluateGet
summary: Should you act on this token right now? (standard check)
description: Verdict proceed / caution / avoid per dimension (momentum, liquidity, leverage, onchain, supply, context, contract) with reasons and sources. Independent of order size. Free.
parameters:
- name: token
in: path
required: true
description: Token id (coingecko id), symbol or contract address.
schema:
type: string
example: chainlink
responses:
'200':
description: Evaluation
content:
application/json:
schema:
type: object
properties:
object:
type: string
const: evaluation
id:
type:
- string
- 'null'
as_of:
type: string
format: date-time
data:
$ref: '#/components/schemas/Evaluation'
sources:
type: array
items:
$ref: '#/components/schemas/Source'
required:
- object
- as_of
- data
- sources
'400':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/evaluate:
post:
tags:
- Decide
operationId: evaluate
summary: Should you act on this token right now? (with your size and rules)
description: Same verdict, scored against your order size (vs depth and daily volume) and your policy rules. **Premium tier:** 10 free calls a day, then 5 credits per call with an API key, or pay per call with x402 (402 Payment Required → pay → retry with PAYMENT-SIGNATURE).
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/EvaluateRequest'
responses:
'201':
description: Evaluation
content:
application/json:
schema:
type: object
properties:
object:
type: string
const: evaluation
id:
type:
- string
- 'null'
as_of:
type: string
format: date-time
data:
$ref: '#/components/schemas/Evaluation'
sources:
type: array
items:
$ref: '#/components/schemas/Source'
required:
- object
- as_of
- data
- sources
'400':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
- partner: []
- x402: []
/explain/{token}:
get:
tags:
- Decide
operationId: explainGet
summary: Why did this token move? (latest brief)
description: 'The latest investigated brief: what happened, likely causes with confidence, onchain evidence, market context, what to watch — every statement cites evidence ids. Free.'
parameters:
- name: token
in: path
required: true
description: Token id (coingecko id), symbol or contract address.
schema:
type: string
example: chainlink
responses:
'200':
description: Brief
content:
application/json:
schema:
type: object
properties:
object:
type: string
const: brief
id:
type:
- string
- 'null'
as_of:
type: string
format: date-time
data:
$ref: '#/components/schemas/Brief'
sources:
type: array
items:
$ref: '#/components/schemas/Source'
required:
- object
- as_of
- data
- sources
'400':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/explain/{token}/{id}:
get:
tags:
- Decide
operationId: explainById
summary: A specific past brief
description: The brief with this id, as it was written; ids come from the latest brief, history events and record.
parameters:
- name: token
in: path
required: true
description: Token id (coingecko id), symbol or contract address.
schema:
type: string
example: chainlink
- name: id
in: path
required: true
schema:
type: string
responses:
'200':
description: Brief
content:
application/json:
schema:
type: object
properties:
object:
type: string
const: brief
id:
type:
- string
- 'null'
as_of:
type: string
format: date-time
data:
$ref: '#/components/schemas/Brief'
sources:
type: array
items:
$ref: '#/components/schemas/Source'
required:
- object
- as_of
- data
- sources
'400':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/explain:
post:
tags:
- Decide
operationId: explain
summary: Run a fresh investigation (~60 s)
description: Gathers evidence, makes live onchain lookups and writes a new brief. **Premium tier:** 10 free calls a day, then 5 credits per call with an API key, or pay per call with x402 (402 Payment Required → pay → retry with PAYMENT-SIGNATURE).
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
token:
type: string
hours:
type: number
default: 2
minimum: 1
maximum: 24
required:
- token
responses:
'200':
description: Brief
content:
application/json:
schema:
type: object
properties:
object:
type: string
const: brief
id:
type:
- string
- 'null'
as_of:
type: string
format: date-time
data:
$ref: '#/components/schemas/Brief'
sources:
type: array
items:
$ref: '#/components/schemas/Source'
required:
- object
- as_of
- data
- sources
'400':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'429':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'502':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
- partner: []
- x402: []
/ask:
post:
tags:
- Decide
operationId: ask
summary: Ask a question about a token, or check a claim
description: A question gets a cited answer; a claim gets supported / contradicted / unknown with evidence. **Premium tier:** 10 free calls a day, then 10 credits per call with an API key, or pay per call with x402 (402 Payment Required → pay → retry with PAYMENT-SIGNATURE).
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
token:
type: string
question:
type: string
claim:
type: string
required:
- token
responses:
'201':
description: Answer
content:
application/json:
schema:
type: object
properties:
object:
type: string
const: answer
id:
type:
- string
- 'null'
as_of:
type: string
format: date-time
data:
$ref: '#/components/schemas/Answer'
sources:
type: array
items:
$ref: '#/components/schemas/Source'
required:
- object
- as_of
- data
- sources
'400':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'404':
description: Error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
security:
- apiKey: []
- partner: []
- x402: []
components:
schemas:
Evaluation:
type: object
properties:
verdict:
type: string
enum:
- proceed
- caution
- avoid
confidence:
type: number
dimensions:
type: object
reasons:
type: array
size_check:
type:
- object
- 'null'
policy_check:
type:
- object
- 'null'
watch_next:
type: array
hash:
type: string
verify_url:
type: string
EvaluateRequest:
type: object
properties:
token:
type: string
size_usd:
type: number
description: Your intended order size in USD
policy:
type: object
properties:
max_unlock_pct:
type: number
min_depth_usd:
type: number
allow_mint_authority:
type: boolean
max_top10_holder_pct:
type: number
max_funding_pct:
type: number
max_exchange_inflow_usd:
type: number
required:
- token
Answer:
type: object
additionalProperties: true
Source:
type: object
properties:
provider:
type: string
endpoint:
type: string
as_of:
type:
- string
- 'null'
format: date-time
Brief:
type: object
properties:
headline:
type: string
direction:
type: string
severity:
type: integer
confidence:
type: number
summary:
type: string
what_happened:
type: array
likely_causes:
type: array
onchain:
type: array
market_context:
type: array
watch_next:
type: array
caveats:
type: array
evidence:
type: array
verify_url:
type: string
Error:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
securitySchemes:
x402:
type: apiKey
in: header
name: PAYMENT-SIGNATURE
description: x402 v2 payment (signed Cardano transaction, base64). Paid endpoints answer 402 with a PAYMENT-REQUIRED header describing the payment.
apiKey:
type: http
scheme: bearer
description: Account API key (cg_live_…) from https://coingraph.ai/account/keys. Paid calls spend credits (data 1, premium 5, pro 25; 1,000 free a month) instead of an x402 payment; responses carry x-credits-charged and x-credits-remaining. 401 invalid_key, 402 out_of_credits.
partner:
type: http
scheme: bearer
description: 'Design-partner key (cg_…) issued by hand: used instead of paying per call.'