OpenDepth Native MCP Server & Public Market Data API
Connect Claude Desktop, Cursor, Windsurf, or autonomous agents to OpenDepth's native JSON-RPC 2.0 MCP server at https://api.opendepth.io/api/mcp or machine-readable OpenAPI 3.1 spec at https://api.opendepth.io/openapi.json. Four public tools and all edge-cached market GET endpoints require zero authentication and carry zero per-call billing.
8 Native MCP Tools (4 Public Zero-Auth + 4 Bearer Scoped)
| Tool Name | Auth | Description |
|---|---|---|
list_markets | public | List live crypto & TradFi markets across all connected CEX & Perp DEX venues (Binance, OKX, Bybit, Bitget, Hyperliquid, Aster, and expanding), optionally filtered by base token. |
get_microstructure_klines | public | Fetch OHLCV + Open Interest + Funding Rate + Orderbook Depth + Taker/Spot Flow Z-score bars (`1m`–`1d`). |
scan_anomaly_radar | public | Scan all connected CEX & Perp DEX venues for Whale Accumulation, Spot Divergence, Squeeze Fuel, High Distribution, and Price×OI 4-quadrant regimes. |
get_carry_matrix | public | Rank cross-venue Spot+Perp cash-and-carry and Perp+Perp funding spread pairs by net 30d APR after orderbook slippage. |
list_strategies | bearer (strategies) | List the authenticated user's saved quantitative strategies and status. |
create_strategy | bearer (strategies) | Create or update a validated OpenDepth StrategyDefinition document. |
compile_ai_strategy | bearer (strategies) | Compile a plain-language trading thesis into a validated StrategyDefinition (Plus / Pro). |
get_portfolio_overview | bearer (strategies) | Fetch multi-strategy dry-run/live equity, symbol exposures, open positions, and account-level risk guard state. |
MCP Client Configuration (Claude Desktop / Cursor)
{
"mcpServers": {
"opendepth": {
"url": "https://api.opendepth.io/api/mcp",
"headers": {
"Authorization": "Bearer odk_optional_for_public_tools"
}
}
}
}Edge-Cached Public Market GET Endpoints
| Endpoint | Purpose |
|---|---|
GET /api/tokens?token=BTC | Full multi-venue CEX & Perp DEX market catalog with active & delisted lifecycle metadata |
GET /api/kline?exchange=binance&marketId=binance:perp:BTC:USDT&interval=15m&limit=300&format=compact&withFeatures=1 | Columnar OHLCV, taker buy/sell flow, OI, funding, liquidations, and rolling flow Z-scores |
GET /api/kline-depth?exchange=binance&marketId=binance:perp:BTC:USDT&interval=15m&limit=300&format=compact | 1-second time-weighted orderbook depth (±20/100/200/500 bps) & book_complete_bps |
GET /api/market/radar?preset=all&quadrant=all&limit=60 | Whale Anomaly Radar & Price×OI 4-quadrant scanner |
GET /api/market/carry?strategyType=all&limit=60 | Cross-venue Spot+Perp & Perp+Perp carry matrix ranked by slippage-adjusted 30d net APR |
GET /api/macro/calendar | High-impact USD/global macro release schedule |
Gasless x402 v2 Agent Billing
Autonomous agents can pay for Plus ($19/mo) or Pro ($49/mo) without gas via EIP-3009 USDC signatures on Base, Arbitrum, Optimism, or Ethereum (POST /api/account/plan/x402).
Frequently Asked Questions
- Which OpenDepth MCP tools work with zero authentication?
- Four tools work without any API key:
list_markets,get_microstructure_klines,scan_anomaly_radar, andget_carry_matrixatPOST https://api.opendepth.io/api/mcp. - How can an AI agent pay for Plus or Pro autonomously?
- Agents can settle Plus ($19/mo) or Pro ($49/mo) with gasless x402 v2 EIP-3009 USDC signatures (Base, Arbitrum, Optimism, Ethereum) via
/api/account/plan/x402or deposited balance.