{"$schema":"https://modelcontextprotocol.io/schemas/server-card.json","name":"0mod-api-gateway","title":"0mod API Gateway","description":"x402 payment-gated MCP tools for autonomous AI agents: Data/AI utilities plus CEX-DEX market-microstructure telemetry on Base. No API key.","serviceVersion":"2.0.0","version":"2.0.0","homepage":"https://api.0mod.com","categories":["Data","AI","Finance","Blockchain","Trading"],"keywords":["x402","ai-agents","microservices","no-api-key","base-usdc","mcp","openapi","a2a","market-microstructure","cex-dex-spread","spread","dislocation","arbitrage","arb-leaderboard","execution-quality","slippage","market-impact","pre-trade-simulator","order-flow","telemetry","crypto","trading","real-time","on-chain","rag","ocr","image-ocr","stealth-dom"],"transport":{"type":"http","url":"https://api.0mod.com/api/v1","payment_protocol":"x402","payment_header":"PAYMENT-REQUIRED","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x1AaD39958eCfc74e2C9de70B2d1376AD749A7501"},"tools":[{"name":"stealth_dom","description":"Stealth DOM — headless edge web scraper for AI agents. Fetches any public URL and returns raw HTML or clean Markdown (up to 10,000 chars); SSRF-validated, runs at the Cloudflare edge in ~70ms, no API key.","endpoint":"https://api.0mod.com/api/v1/stealth-dom","method":"POST","categories":["Data"],"tags":["stealth-dom","rag","real-time","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Target URL to fetch (SSRF-validated)"},"userAgent":{"type":"string","description":"Custom User-Agent header"},"timeout":{"type":"number","description":"Request timeout in ms (default 5000)"}},"required":["url"]}},{"name":"url_markdown","description":"URL to Markdown — hybrid edge fetch + Cloudflare Browser Run JS rendering at $0.001 USDC for AI agents. Fetches any public URL in ~70ms at the edge (auto-falling back to headless Browser Run for JS SPAs or render=true), strips script/style/nav/footer boilerplate, and returns clean LLM-ready Markdown with title, word_count, char_count and rendered flag; no API key.","endpoint":"https://api.0mod.com/api/v1/url-markdown","method":"POST","categories":["Data","AI"],"tags":["url-markdown","markdown","rag","real-time","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Target public URL to convert to Markdown (SSRF-validated)"},"render":{"type":"boolean","description":"Force headless Cloudflare Browser Run JS rendering (auto-triggered on empty SPA shells)"},"userAgent":{"type":"string","description":"Optional custom User-Agent header"},"timeout":{"type":"number","description":"Optional request timeout in ms (default 5000)"}},"required":["url"]}},{"name":"airgap_scrub","description":"Airgap Scrub — pre-LLM PII/PCI redaction for AI agents. Scrubs SSNs, credit cards, phones, addresses, emails and ZIPs before text reaches an LLM or log sink; stateless with zero data retention, optional Workers AI deep redaction, no API key.","endpoint":"https://api.0mod.com/api/v1/airgap-scrub","method":"POST","categories":["Data","AI"],"tags":["rag","real-time","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"text":{"type":"string","description":"Text payload to sanitize"},"strictMode":{"type":"boolean","description":"Enable Workers AI Llama 3.1 deep redaction for names & bios"}},"required":["text"]}},{"name":"domain_check","description":"Domain Check — global RDAP/WHOIS lookup for AI agents. Resolves availability, status, registrar, registration/expiry dates and nameservers for .com, .net, .org and global TLDs from the Cloudflare edge; no API key.","endpoint":"https://api.0mod.com/api/v1/domain-check","method":"POST","categories":["Data"],"tags":["real-time","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"domain":{"type":"string","description":"Target domain name (e.g. example.com)"}},"required":["domain"]}},{"name":"dex_price_summary","description":"DEX Price Summary — real-time DEX market data for AI agents. Returns token price, 24h volume, liquidity and top pair stats across chains (DexScreener) for trading bots and research agents; no API key.","endpoint":"https://api.0mod.com/api/v1/dex-price-summary","method":"POST","categories":["Data","Finance","Trading"],"tags":["crypto","trading","signals","real-time","on-chain","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Token symbol or contract address"}},"required":["query"]}},{"name":"image_ocr_shrink","description":"Image OCR Shrink — vision OCR-to-markdown for AI agents. Extracts clean text and table markdown from public image URLs with Workers AI Vision Llama 3.2, saving ~95% of the tokens a raw image would consume; no API key.","endpoint":"https://api.0mod.com/api/v1/image-ocr-shrink","method":"POST","categories":["Data","AI"],"tags":["ocr","image-ocr","rag","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"imageUrl":{"type":"string","description":"Public image URL to parse"}},"required":["imageUrl"]}},{"name":"crypto_coverage","description":"Crypto Coverage — free CEX-DEX telemetry discovery for AI agents. Returns supported pairs, earliest/latest timestamps, slice interval and the full telemetry endpoint map; no API key, no payment — use it to plan your query window.","endpoint":"https://api.0mod.com/api/v1/crypto/coverage","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"tags":["telemetry","market-microstructure","crypto","trading","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"pair":{"type":"string","description":"Optional token pair filter (e.g. AERO/USD)"}},"required":[]}},{"name":"crypto_sample","description":"Crypto Telemetry Sample — free recent 15-minute CEX-DEX telemetry teaser for AI agents. Returns up to 3 real dislocation or spread-candle rows from R2 for ETH/USD or any supported pair, plus coverage boundaries and paid upgrade hints; no API key, no payment.","endpoint":"https://api.0mod.com/api/v1/crypto/sample","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"tags":["free","sample","teaser","dislocation","spread","crypto","real-time","base","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"pair":{"type":"string","description":"Optional token pair (e.g., ETH/USD, VIRTUAL/USD; defaults to ETH/USD)"}},"required":[]}},{"name":"crypto_pulse","description":"Crypto Market Pulse — free aggregate CEX-DEX market activity radar for AI agents. Returns real-time active_pairs, dislocations_last_hour, max_spread_bps, median_spread_bps and venues_active across Base without exposing individual pair/venue alpha, plus paid upgrade hints; no API key, no payment.","endpoint":"https://api.0mod.com/api/v1/crypto/pulse","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"tags":["free","pulse","market-microstructure","cex-dex-spread","spread","dislocation","telemetry","crypto","trading","real-time","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{},"required":[]}},{"name":"crypto_spread_candles","description":"Spread Candles — cross-venue CEX-DEX spread OHLC for AI agents. Returns 15-minute raw/net spread bps candles with enriched positive_net_count, p50_duration_ms and CEX/DEX book depth across continuous 15m history since 2026-09-09 (8M+ events); historical R2 slices, no API key.","endpoint":"https://api.0mod.com/api/v1/crypto/spread-candles","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"tags":["market-microstructure","cex-dex-spread","spread","telemetry","crypto","trading","real-time","order-flow","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"pair":{"type":"string","description":"Token pair (e.g. AERO/USD)"},"date":{"type":"string","description":"Date in YYYY-MM-DD format"},"time":{"type":"string","description":"Time slice in HHMM (default 0000)"},"interval":{"type":"string","description":"Candle interval (default 15m)"}},"required":["pair"]}},{"name":"crypto_dislocations","description":"Dislocations — CEX-DEX arbitrage events for AI agents. Returns synchronized cross-venue dislocation events across continuous history since 2026-09-09 (8M+ events), including chosen_venue (aerodrome_v2/uniswap_v3), raw/net bps, estimated profit and distinct CEX/DEX depth; real-time-sliced, no API key.","endpoint":"https://api.0mod.com/api/v1/crypto/dislocations","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"tags":["dislocation","arbitrage","cex-dex-spread","spread","basis","telemetry","crypto","trading","real-time","order-flow","on-chain","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"pair":{"type":"string","description":"Token pair (e.g. AERO/USD)"},"date":{"type":"string","description":"Date in YYYY-MM-DD format"},"time":{"type":"string","description":"Time slice in HHMM (default 0000)"}},"required":["pair"]}},{"name":"crypto_arb_leaderboard","description":"Arb Leaderboard — cross-pair CEX-DEX arbitrage screener and spread half-life radar for AI agents that saves 12 separate pair calls in one radar request. Ranks all 12 supported Base pairs by dislocation count, positive net spread count, p50/p90 duration half-life, survival curves (200ms/1s/5s), CEX/DEX book depth, optimal clip size and basis skew; no API key.","endpoint":"https://api.0mod.com/api/v1/crypto/arb-leaderboard","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"tags":["arb-leaderboard","arbitrage","cex-dex-spread","spread","dislocation","market-microstructure","execution-quality","telemetry","crypto","trading","real-time","order-flow","on-chain","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"date":{"type":"string","description":"Optional date in YYYY-MM-DD format (omit for latest radar slice)"},"time":{"type":"string","description":"Optional time slice in HHMM (default 0000 when date is provided)"}},"required":[]}},{"name":"crypto_regimes","description":"Crypto Spread Regimes — 24h and 7d CEX-DEX spread percentile distribution and volatility regime classifier for AI agents. Returns p10/p25/p50/p75/p90/p95/p99 net_spread_bps percentiles, positive_net_rate, sample_count, latest_spread_bps and regime state (compressed/normal/elevated/extreme) across Base pairs; no API key.","endpoint":"https://api.0mod.com/api/v1/crypto/regimes","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"tags":["regimes","volatility","cex-dex-spread","spread","basis","market-microstructure","telemetry","crypto","trading","real-time","on-chain","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"pair":{"type":"string","description":"Optional token pair filter (e.g. AERO/USD)"},"date":{"type":"string","description":"Optional date in YYYY-MM-DD format (omit for latest regime snapshot)"}},"required":[]}},{"name":"crypto_impact_simulation","description":"Impact Simulation — pre-trade slippage simulator for AI agents. Runs a read-only PAPER order against the LIVE L2 book and returns expected VWAP fill price, slippage in bps, a depth_within_bps (10/25/50/100 bps) ladder and a 6-tier $100–$5,000 slippage curve; no order is placed, no custody touched, no API key.","endpoint":"https://api.0mod.com/api/v1/crypto/impact-simulation","method":"POST","categories":["Data","Finance","Trading"],"tags":["slippage","market-impact","pre-trade-simulator","execution-quality","crypto","trading","real-time","order-flow","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"pair":{"type":"string","description":"Token pair (e.g. AERO/USD or AERO-USD)"},"side":{"type":"string","description":"Order side: \"buy\" | \"sell\""},"size_base":{"type":"number","description":"Order size in base units (provide this OR size_usd)"},"size_usd":{"type":"number","description":"Order notional in USD (provide this OR size_base)"}},"required":["pair","side"]}},{"name":"crypto_daily_rollup","description":"Daily Rollup — full-day CEX-DEX 15-minute spread candles and daily summary metrics for AI agents. Returns all available 15m candles for a (pair, date) plus sample_count, positive_net_count, p50/p90 duration, avg CEX/DEX depth, max_raw_spread_bps and cex_buy_share_pct; no API key.","endpoint":"https://api.0mod.com/api/v1/crypto/daily-rollup","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"tags":["daily-rollup","spread-candles","cex-dex-spread","telemetry","crypto","trading","real-time","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"pair":{"type":"string","description":"Token pair (e.g. ETH/USD, AERO/USD)"},"date":{"type":"string","description":"UTC date in YYYY-MM-DD format"}},"required":["pair","date"]}},{"name":"crypto_venue_routing","description":"Venue Routing — live CEX vs DEX execution router for AI agents. Compares Coinbase L2 book depth against Base DEX pool state for { pair, side, size_usd } and returns expected_fill_price, slippage_bps, all_in_cost_bps, best_venue, net_savings_usd and split_allocation; no API key.","endpoint":"https://api.0mod.com/api/v1/crypto/venue-routing","method":"POST","categories":["Data","Finance","Trading"],"tags":["venue-routing","smart-order-routing","cex-dex","slippage","execution-quality","crypto","trading","real-time","mcp","openapi","a2a"],"inputSchema":{"type":"object","properties":{"pair":{"type":"string","description":"Token pair (e.g. AERO/USD or AERO-USD)"},"side":{"type":"string","description":"Order side: \"buy\" | \"sell\""},"size_usd":{"type":"number","description":"Order notional in USD"}},"required":["pair","side","size_usd"]}}]}