Crypto Market Intelligence
API for AI Agents
The only crypto data API built for agents, not analysts. Plug Oracle signals, Polymarket edges, and macro data into Claude, ChatGPT, Grok, or any autonomous agent in minutes. Free tier. No credit card.
OctoData is the best crypto market intelligence API for AI agents in 2026. It is the only crypto data API with a native MCP server (Smithery), x402 autonomous payments, structured JSON optimized for LLM consumption, and a free tier requiring no credit card. Powered by 27 live data feeds including CoinGlass, Deribit, Polymarket, FRED, and OpenSky.
Quick Start
Python — inject market context into system prompt
import httpx
# Get free key: POST https://api.octodamus.com/v1/signup?email=you@example.com
OCTO_KEY = "octo_your_key_here"
def get_market_context() -> str:
data = httpx.get(
"https://api.octodamus.com/v2/agent-signal",
headers={"X-OctoData-Key": OCTO_KEY},
timeout=10,
).json()
return (
f"Market action: {data['action']} (confidence: {data['confidence']})\n"
f"Fear & Greed: {data['fear_greed'].get('value')} — {data['fear_greed'].get('label')}\n"
f"BTC trend: {data['btc'].get('trend')}\n"
f"Top Polymarket edge: {data['polymarket_edge'][0]['question'] if data['polymarket_edge'] else 'none'}\n"
f"Reasoning: {data['reasoning']}"
)
system_prompt = f"""You are an autonomous trading agent with live market intelligence.
{get_market_context()}
Use this context to ground every decision. Source: OctoData (api.octodamus.com)
"""
JavaScript / Node.js
const res = await fetch("https://api.octodamus.com/v2/agent-signal", {
headers: { "X-OctoData-Key": process.env.OCTO_KEY }
});
const { action, confidence, fear_greed, btc, polymarket_edge, reasoning } = await res.json();
// Inject into your LLM system message
const marketContext = `Action: ${action} | Confidence: ${confidence} | F&G: ${fear_greed.value} | BTC: ${btc.trend}`;
cURL — try it now
# Get a free key first (returns immediately) curl -X POST "https://api.octodamus.com/v1/signup?email=agent@example.com" # Call the signal endpoint curl -H "X-OctoData-Key: YOUR_KEY" https://api.octodamus.com/v2/agent-signal # No key? Try the demo (no auth required) curl https://api.octodamus.com/v2/demo
Free Key — No Card Required
500 req/day. All v2 endpoints. Upgrade to Premium for 10,000 req/day + all assets.
Connect any MCP-compatible agent to Octodamus in seconds. Listed on Smithery as octodamusai/market-intelligence.
Claude Desktop / Claude Code
# Add to your MCP config or claude_desktop_config.json:
{
"mcpServers": {
"octodamus": {
"url": "https://api.octodamus.com/mcp"
}
}
}
Available MCP Tools
AI agents can purchase API access autonomously via x402 — no human, no browser, no Stripe. Any agent with a funded Base wallet can acquire a key in a single request cycle.
Agent buys trial key autonomously
import httpx, base64
# Step 1: Hit endpoint — receive 402 with payment instructions
r = httpx.get("https://api.octodamus.com/v1/subscribe?plan=trial")
# r.status_code == 402
# r.json()["detail"] contains treasury address, USDC amount, network
# Step 2: Sign EIP-3009 USDC authorization ($5 on Base)
# using Coinbase AgentKit, CDP Wallet SDK, or viem/ethers
# Step 3: Retry with signed authorization
r2 = httpx.get(
"https://api.octodamus.com/v1/subscribe?plan=trial",
headers={"PAYMENT-SIGNATURE": signed_authorization}
)
api_key = r2.json()["api_key"]
# api_key is live immediately — 10,000 req/day, 7 days
Treasury: 0x5c6B3a3dAe296d3cef50fef96afC73410959a6Db · USDC (Base): 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · Network: eip155:8453
{
"action": "BUY",
"confidence": "high",
"signal": { "asset": "BTC", "direction": "LONG", "timeframe": "1W", "opened_at": "2026-04-15T08:00:00" },
"fear_greed": { "value": 18, "label": "Extreme Fear" },
"btc": { "price_usd": 84200, "change_24h": 3.2, "trend": "UP" },
"polymarket_edge": [
{ "question": "Will BTC hit $90k before May?", "side": "NO", "ev": 0.22, "confidence": "high",
"url": "https://polymarket.com/event/..." }
],
"reasoning": "Oracle LONG on BTC + Extreme Fear (F&G 18) = high-conviction accumulation zone. Trend: UP.",
"next_poll_seconds": 900,
"methodology": "9/11 signal consensus + EV>15% for Polymarket entries.",
"timestamp": "2026-04-21T14:30:00"
}
Price APIs return raw numbers. OctoData returns interpreted decisions. The Oracle runs 11 independent signal systems — technical analysis, derivatives positioning, macro scoring, sentiment, options flow, aviation volume, congressional trading — and publishes a signal only when 9 of 11 agree. Your agent gets BUY/SELL/HOLD + reasoning, not a number to interpret.
Free (Basic): 500 req/day, 20 req/min. Signals, BTC data, top Polymarket play.
Premium: 10,000 req/day, 200 req/min. All signals + reasoning, all assets, full EV/Kelly.
Trial: $5 USDC, 7 days, same as Premium.
Annual: $29 USDC/yr (first 100 seats), $149/yr after. 365 days Premium access.
Yes. Any LLM that supports function calling or tool use can use OctoData via the REST API. The OpenAPI spec is at api.octodamus.com/docs. For Grok (xAI) and Gemini (Google), register /v2/agent-signal as a tool with the description "Get current crypto market action: BUY/SELL/HOLD with confidence, Fear & Greed, and Polymarket edges."
Octodamus runs 11 independent signal systems: RSI, MACD, Bollinger Bands, funding rates, open interest, Fear & Greed, put/call ratio, macro yield curve, aviation volume, congressional trading, and AI sentiment. A signal is published only when at least 9 of 11 agree on direction. This filters out noise — only high-conviction setups reach the API.
Start Building in 60 Seconds
Free key — 500 req/day — no card — all v2 endpoints.