Total Market Cap: $2.20T -2.57%
|
24h Volume: $102.82B
|
BTC Dominance: 57.1%
|
Market Health: 26/100
|
Total Market Cap: $2.20T -2.57%
|
24h Volume: $102.82B
|
BTC Dominance: 57.1%
|
Market Health: 26/100
|
MKT CAP$2.20T-2.6%
24H VOL$102.8B
BTC DOM57.1%
HEALTH26BEARISH
SHORT-TERM35BEARISH
LONG-TERM18BEARISH
OI$11.6B
24H LIQ$94M
LONG/SHORT55.6% / 44.4%
REGIME (LT)BOTTOMING / ACCUMULATION
REGIME (ST)SQUEEZE
HL OI$6.7B
WHALESSHORT 45.2%
MKT CAP$2.20T-2.6%
24H VOL$102.8B
BTC DOM57.1%
HEALTH26BEARISH
SHORT-TERM35BEARISH
LONG-TERM18BEARISH
OI$11.6B
24H LIQ$94M
LONG/SHORT55.6% / 44.4%
REGIME (LT)BOTTOMING / ACCUMULATION
REGIME (ST)SQUEEZE
HL OI$6.7B
WHALESSHORT 45.2%
Plug real-time crypto data into your AI agent — one command: Get your free API key →
Get API KeyLogin
MCP-native · works in Claude & Cursor

Quick Start for AI Agents

Add the MCP server in one line — then your agent answers crypto questions by calling the API for you. No endpoints to wire up, no keys to juggle. Just ask.

Claude · cryptodataapi connected
What's the Fear & Greed index today, and how does BTC funding look?
On it — pulling sentiment and derivatives now.
GET/sentiment/fear-greed
GET/derivatives/binance/summary?symbol=BTCUSDT
Fear & Greed is 61 — Greed (up from 54 yesterday). BTC funding is +0.011%, open interest $8.2B, long/short 1.18. Sentiment and positioning are both leaning bullish.
Find trending Solana pools and flag anything that looks like a rug.
GET/dex/trending?chain=solana
GET/dex/security/solana/{token}
Top 3 trending: $WIF, $POPCAT, $MEW. Two pass the security check; one new pool flags mint authority not revoked — I'd treat it as high-risk.
Add it in one line
setup cryptodataapi-mcp
Cursor? Same command — paste it into the MCP settings.
1
Connect
Registers with Claude or Cursor instantly. Free API key created on sign-up.
2
Ask in plain English
Describe the data you want — no endpoints to recall, no params to format.
3
Get live JSON back
The agent picks the endpoint, calls it, and returns clean structured data.
190+ endpoints across 20+ data groups
See the full setup →
Built for AI Agents

AI Agent Quickstart

One API key, 180+ endpoints, 12 data sources. Everything an autonomous trading or research agent needs to read the market, pick a strategy, size risk, and backtest — with a one-line MCP install and gasless on-chain payments.

Start in 30 seconds Full API Docs OpenAPI JSON llms.txt

Access crypto data your way

Developers, vibe coders, autonomous agents, researchers — pick the surface that fits how you work.

Set up your coding agent

Step-by-step guides — install the agent skill, connect the MCP server, start asking. Two minutes per agent.

Platforms & frameworks

Start in 30 seconds

No sign-up form, no dashboard, no wallet required. An agent can do this itself.

1Get a free key

One keyless POST returns a cdk_live_ key (shown once).

# no auth needed
curl -X POST https://cryptodataapi.com/api/v1/auth/keys \
  -H "Content-Type: application/json" \
  -d '{"email":"[email protected]"}'

2Authenticate

Pass the key on every request via the X-API-Key header.

curl https://cryptodataapi.com/api/v1/health \
  -H "X-API-Key: cdk_live_yourkey"

3One call for everything

/daily bundles health, derivatives, sentiment, macro, ETF flows & more.

curl https://cryptodataapi.com/api/v1/daily \
  -H "X-API-Key: cdk_live_yourkey"
Agent tip: start every session at GET /api/v1/daily — it replaces ~10 calls. Append ?format=markdown to most endpoints for LLM-friendly output, and read /llms.txt for the full machine-readable map.

Connect to Claude, Cursor & any MCP client

Our MCP server exposes the core endpoints as native tools. Add it with a one-click browser sign-in — no key, no Node:

# Claude Code — remote, browser login (recommended; no key pasted)
claude mcp add --transport http cryptodataapi https://cryptodataapi.com/mcp

The first tool call opens a browser to sign in & authorize — a free account is created automatically. Advanced — pin a key, kept in your shell env (never pasted into an AI chat):

# Advanced — bring your own key (env var)
export CRYPTODATA_API_KEY="cdk_live_yourkey"
claude mcp add --transport http cryptodataapi https://cryptodataapi.com/mcp \
  --header 'X-API-Key: ${CRYPTODATA_API_KEY}'

Prefer a local stdio server (or a client without remote HTTP)? Use the npm package:

# Claude Code — stdio via npx
export CRYPTODATA_API_KEY="cdk_live_yourkey"
claude mcp add cryptodataapi -- npx -y cryptodataapi-mcp

Claude Desktop / Cursor — add to your MCP config:

{
  "mcpServers": {
    "cryptodataapi": {
      "command": "npx",
      "args": ["-y", "cryptodataapi-mcp"],
      "env": { "CRYPTODATA_API_KEY": "cdk_live_yourkey" }
    }
  }
}

Plus: the Agent Skill (the playbook)

The MCP server gives your agent the tools; the skill gives it the playbook — the regime → strategy → risk → backtest workflow, the full endpoint reference and the tier gotchas. One command installs it into Claude Code, Cursor, Codex, Gemini CLI and any skills.sh-compatible agent:

npx skills add Crypto-Data-API/cryptodataapi-skills -g -y

Prefer manual? curl -fsSL https://cryptodataapi.com/skill -o ~/.claude/skills/cryptodataapi/SKILL.md still works (single-file version). Full install options — including the claude.ai zip upload — on the Agent Skill page.

The core agent loop

Read the regime → pick the strategies that fit it → size by per-coin risk → validate against history. Every step is one endpoint.

1 — Read the regime

Where are we?

Long-horizon cycle state + the HMM market regime with calibrated probabilities.

GET /regimes/current GET /quant/market
2 — Pick a strategy

What fits?

50 meta-baskets across 6 groups, each pre-mapped to the conditions it was built for.

GET /trading-strategy-baskets GET /regimes
3 — Size the risk

How much?

One bulk call: per-coin regime, probability buckets & vol-target multiplier for the whole universe.

GET /quant/coins/risk GET /volatility/regime
4 — Backtest it

Did it work?

Replay frozen daily snapshots — the full /daily payload, point-in-time, per date.

GET /backtesting/daily-snapshots .../daily-snapshots/{date}

A minimal agent

The whole loop in a few lines of Python (any language with HTTP works the same).

import requests
BASE = "https://cryptodataapi.com/api/v1"
H = {"X-API-Key": "cdk_live_yourkey"}

# 1. One call for the whole market
daily = requests.get(f"{BASE}/daily", headers=H).json()

# 2. What regime are we in?
regime = requests.get(f"{BASE}/regimes/current", headers=H).json()

# 3. Which strategy baskets fit this regime?
baskets = requests.get(f"{BASE}/trading-strategy-baskets", headers=H).json()

# 4. Per-coin risk model for sizing (Pro) — one call, ~180 coins
risk = requests.get(f"{BASE}/quant/coins/risk?horizon=24h", headers=H).json()
for coin in risk["items"]:
    if coin["meta"]["status"] == "ok":
        size = base_size * coin["vol_target_multiplier"]  # vol-targeted

# 5. Backtest: replay historical regime states
dates = requests.get(f"{BASE}/backtesting/daily-snapshots", headers=H).json()
snap  = requests.get(f"{BASE}/backtesting/daily-snapshots/2026-05-28", headers=H).json()

Pay as an agent — gasless x402

Agents can buy a Pro / Pro Plus subscription autonomously with USDC over the x402 protocol — no ETH for gas, no dashboard, no human in the loop. One endpoint handles the whole HTTP 402 → sign → settle → key flow.

1Discover

POST with no payment header → receive a 402 with payment requirements (price, networks, facilitator).

2Sign

Sign the USDC payment off-chain (EIP-712, zero gas) on Base, Ethereum, or Solana.

3Get your key

Re-POST with the x-payment header → the facilitator settles and you receive a Pro/Pro Plus API key.

# Step 1 — discover the 402 (price + networks)
curl -X POST https://cryptodataapi.com/api/v1/payments/agent-subscribe \
  -H "Content-Type: application/json" -d '{"plan":"monthly"}'

# Step 2 — re-POST with the signed x-payment header to settle + receive the key
Plans: monthly = Pro, monthly_plus = Pro Plus. Current pricing is on the pricing page; settlement is instant.

Tiers at a glance

The free tier is a complete product — market health, regimes, sentiment, macro and full-universe funding/OI. Upgrade for full-universe quant signals, the regime engine & backtesting data.

TierRate limitWhat agents get
Free5/min · 50/dayCoin profiles, market health, derivatives, Hyperliquid perps, sentiment, macro, /daily
Pro30/min · 10k/day+ the full-universe quant regime & forward-looking engines, /quant/coins/risk, all trading indicators, gamma exposure, whale activity, order-book depth, liquidation heatmaps, cycle indicators, ETF flows, options & on-chain analytics
Pro Plus60/min · 50k/day+ the historical & bulk-data layer — the 2020→now regime archive, market-health & whale-positioning history, deep klines/funding history & Parquet/CSV backtesting downloads

Best practices for agents

Resources

Was this page helpful?

Missing an agent, a config that changed, or a step that didn't work? Tell us and we'll fix it.