# OpenDepth > Multi-venue CEX & Perp DEX crypto microstructure terminal, whale anomaly radar, cross-venue carry matrix, aligned backtesting, dry-run/live strategy execution (100% production mainnet data, zero exchange testnet/demo), alerts, and native MCP server across leading CEXs & Perp DEXs (Binance, OKX, Bybit, Bitget, Hyperliquid, Aster, and continuously expanding) — 6,000+ perpetual and spot markets, 1-minute bars aggregated from raw trades + 1-second time-weighted order books, 75 strategy fields, 33 indicators, and 12 timeframes (1m to 1w), including delisted contracts to eliminate survivorship bias. An AI agent can connect directly via MCP or REST with one scoped API key, pay for Plus ($19/mo) or Pro ($49/mo) with gasless x402 v2 USDC or deposited balance, write/backtest/sweep strategies, manage execution, and configure Telegram/webhook alerts. Base URL: https://api.opendepth.io MCP Server (JSON-RPC 2.0): `POST https://api.opendepth.io/api/mcp` (discovery: `GET https://api.opendepth.io/api/mcp` or `https://opendepth.io/.well-known/mcp.json`) OpenAPI 3.1 Spec: `GET https://api.opendepth.io/openapi.json` Auth: `Authorization: Bearer odk_...` (scoped API key created at https://opendepth.io → Profile → API keys). Public market data, orderbook depth, whale radar, carry matrix, macro calendar, and 4 public MCP tools require no key. Conventions: - Public market intelligence: prefer edge-cached `GET` endpoints (`/api/kline?format=compact`, `/api/kline-depth`, `/api/tokens`, `/api/market/radar`, `/api/market/carry`, `/api/macro/calendar`) accelerated by Cloudflare Smart Tiered Cache. - Authenticated account/strategy/alert actions: `POST /api//` with a JSON body; errors return `{"error":{"code","message","requestId",...}}`. ## Guides & Documentation - [Complete single-file LLM context](https://opendepth.io/llms-full.txt): combined guide, MCP tool schemas, and 75-field / 33-indicator reference. - [AI agent guide (English)](https://opendepth.io/ai-guide.md): MCP setup, public cached GET APIs, authentication, scopes, x402 membership purchase, strategies, backtests, sweeps, execution, alerts, errors. - [AI 接入指南(中文)](https://opendepth.io/ai-guide.zh.md): 同一份指南的完整中文版。 - [Human docs & quick workflow](https://opendepth.io/docs) ([Markdown](https://opendepth.io/docs.md) · [中文](https://opendepth.io/zh/docs)) - [CEX & Perp DEX Coverage Hub](https://opendepth.io/exchanges) ([Markdown](https://opendepth.io/exchanges.md) · [中文](https://opendepth.io/zh/exchanges)): Binance, OKX, Bybit, Bitget, Hyperliquid, Aster & expanding. - [Data & Backtest Methodology](https://opendepth.io/docs/methodology) ([Markdown](https://opendepth.io/docs/methodology.md) · [中文](https://opendepth.io/zh/docs/methodology)) - [75 Microstructure Fields & 33 Indicators Dictionary](https://opendepth.io/docs/indicators) ([Markdown](https://opendepth.io/docs/indicators.md) · [中文](https://opendepth.io/zh/docs/indicators)) - [MCP Server & Public API Setup](https://opendepth.io/docs/mcp) ([Markdown](https://opendepth.io/docs/mcp.md) · [中文](https://opendepth.io/zh/docs/mcp)) - [Whale Anomaly Radar Guide](https://opendepth.io/docs/whale-radar) ([Markdown](https://opendepth.io/docs/whale-radar.md) · [中文](https://opendepth.io/zh/docs/whale-radar)) - [Cross-Venue Carry Matrix Guide](https://opendepth.io/docs/carry-matrix) ([Markdown](https://opendepth.io/docs/carry-matrix.md) · [中文](https://opendepth.io/zh/docs/carry-matrix)) - [Microstructure Research Notes](https://opendepth.io/docs/research) ([Markdown](https://opendepth.io/docs/research.md) · [中文](https://opendepth.io/zh/docs/research)) - [Membership & Pricing ($0 / $19 / $49)](https://opendepth.io/pricing) ([Markdown](https://opendepth.io/pricing.md) · [中文](https://opendepth.io/zh/pricing)) - [Non-Custodial Security Architecture](https://opendepth.io/security) ([Markdown](https://opendepth.io/security.md) · [中文](https://opendepth.io/zh/security)) - [Changelog RSS Feed](https://opendepth.io/changelog/rss.xml) ## MCP Server (8 Tools) Endpoint: `POST https://api.opendepth.io/api/mcp` (`initialize`, `ping`, `tools/list`, `tools/call`) - Public (no API key required): `list_markets`, `get_microstructure_klines`, `scan_anomaly_radar`, `get_carry_matrix` - Authenticated (`Authorization: Bearer odk_...`): `list_strategies`, `create_strategy`, `compile_ai_strategy`, `get_portfolio_overview` ## Quick API Reference - Public market data (edge-cached GET, no key): - Markets & delisted lifecycle: `GET /api/tokens?token=BTC` (or `/api/tokens` for full multi-venue CEX & Perp DEX catalog) - Microstructure klines (columnar compact): `GET /api/kline?exchange=binance&marketId=binance:perp:BTC:USDT&interval=15m&limit=300&format=compact` (add `&withFeatures=1` for rolling flow Z-scores, Kyle's lambda, absorption, refill time, basis; response also surfaces `delisted`, `lifecycle`, `delistedAt`, `lastTradeAt`) - Time-weighted orderbook depth: `GET /api/kline-depth?exchange=binance&marketId=binance:perp:BTC:USDT&interval=15m&limit=300&format=compact` - Whale Anomaly Radar: `GET /api/market/radar?preset=all&quadrant=all&limit=60` - Cross-Venue Carry Matrix: `GET /api/market/carry?strategyType=all&limit=60` - Macro Economic Calendar: `GET /api/macro/calendar` - Plans, balance & gasless x402 v2 billing (`billing` scope): - `POST /api/account/plan`, `POST /api/account/balance`, `POST /api/account/plan/quote` - Pay with x402 v2 (USDC on Base, Arbitrum, Optimism, or Ethereum; EIP-3009 signature only, no gas): `POST /api/account/plan/x402 {"plan":"plus","months":1}` or `POST /api/account/balance/x402 {"amountCents":2000}` - Or deposit (`POST /api/account/deposit/address`, `POST /api/account/deposit/check`) and purchase idempotently with `POST /api/account/plan/purchase {"plan":"plus","months":1,"requestKey":""}` - Strategies, backtests & execution (`strategies` scope): - Vocabulary (75 fields, 33 indicators, 12 timeframes, operators): `POST /api/account/strategies/schema` - CRUD: `/api/account/strategies/list|get|create|set|remove` - Aligned backtest & 5×5 parameter sweep: `POST /api/account/strategies/backtest`, `POST /api/account/strategies/backtest-result`, `POST /api/account/strategies/sweep` - Dry-run/semi-auto/live strategy execution & portfolio risk guard: `/api/account/strategies/execution/get|set|list|confirm|skip`, `/api/account/strategies/portfolio-overview`, `/api/account/strategies/portfolio-guard/get|set|reset-halt` - Alerts & scheduled digests (`alerts` scope): - Channels & Telegram link: `/api/alerts/channels/list|create|enable|remove`, `POST /api/alerts/telegram/link`, `/api/alerts/digest/get|set|test` - Strategy signal routing: `/api/alerts/strategy-routing/get|set` - Price, pct_move, OI, funding & basis alerts: `/api/alerts/price/list|create|set|remove` ## Official Links - Website: https://opendepth.io - X (Twitter): https://x.com/opendepth_io - Telegram Bot: https://t.me/opendepth_io_bot - GitHub: https://github.com/opendepth-io - Contact: operation@opendepth.io