{"protocol_version":"1.0.0","serviceVersion":"2.0.0","version":"2.0.0","name":"0mod Microservice Fleet","description":"High-speed, edge-computed tools for autonomous agent workflows gated by x402 micropayments. 16 SKUs across Data (primary), AI, Finance, Blockchain and Trading; no API key; MCP/OpenAPI/A2A interoperable.","url":"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"],"skills":[{"id":"stealth-dom","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.","latency_sla":"< 200ms","price_usd":0.002,"price_atomic_units":"2000","endpoint":"https://api.0mod.com/api/v1/stealth-dom","method":"POST","categories":["Data"],"example":{"request":{"url":"https://example.com","format":"markdown","userAgent":"Mozilla/5.0 (X11; Linux x86_64) 0mod-agent/1.0","timeout":5000},"response":{"success":true,"status":200,"format":"markdown","content":"# Example Domain\n\nThis domain is for use in illustrative examples in documents.","content_length":78,"source":"cloudflare-edge"}},"tags":["stealth-dom","rag","real-time","mcp","openapi","a2a"]},{"id":"url-markdown","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.","latency_sla":"< 200ms","price_usd":0.001,"price_atomic_units":"1000","endpoint":"https://api.0mod.com/api/v1/url-markdown","method":"POST","categories":["Data","AI"],"example":{"request":{"url":"https://example.com","render":false},"response":{"url":"https://example.com","title":"Example Domain","markdown":"# Example Domain\n\nThis domain is for use in illustrative examples in documents.","word_count":13,"char_count":78,"rendered":false,"charged":"$0.001 USDC"}},"tags":["url-markdown","markdown","rag","real-time","mcp","openapi","a2a"]},{"id":"airgap-scrub","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.","latency_sla":"< 800ms","price_usd":0.004,"price_atomic_units":"4000","endpoint":"https://api.0mod.com/api/v1/airgap-scrub","method":"POST","categories":["Data","AI"],"example":{"request":{"text":"Call 555-123-4567 or email john@example.com. SSN 123-45-6789, ZIP 90210.","strictMode":false},"response":{"success":true,"scrubbed":"Call [PHONE] or email [EMAIL]. SSN [SSN], ZIP [ZIP].","entities_redacted":["PHONE","EMAIL","SSN","ZIP"],"source":"edge-regex","mode":"standard"}},"tags":["rag","real-time","mcp","openapi","a2a"]},{"id":"domain-check","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.","latency_sla":"< 1000ms","price_usd":0.008,"price_atomic_units":"8000","endpoint":"https://api.0mod.com/api/v1/domain-check","method":"POST","categories":["Data"],"example":{"request":{"domain":"example.com"},"response":{"success":true,"domain":"example.com","available":false,"status":"REGISTERED","registeredDate":"1995-08-14T00:00:00Z","expirationDate":"2028-08-13T00:00:00Z","lastUpdated":"2026-07-13T00:00:00Z","registrar":"MarkMonitor Inc.","nameservers":["expire.example.com","ns1.example.com"],"handle":"2433559220_END_DOMAIN_COM-REG","source":"cloudflare-edge-rdap"}},"tags":["real-time","mcp","openapi","a2a"]},{"id":"dex-price-summary","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.","latency_sla":"< 150ms","price_usd":0.0015,"price_atomic_units":"1500","endpoint":"https://api.0mod.com/api/v1/dex-price-summary","method":"POST","categories":["Data","Finance","Trading"],"example":{"request":{"query":"AERO"},"response":{"success":true,"query":"AERO","found":true,"summary":{"symbol":"AERO","name":"Aerodrome Finance","chainId":"base","dexId":"aerodrome","priceUsd":0.998,"priceNative":"0.000553","priceChange24h":2.4,"volume24hUsd":1245800,"liquidityUsd":8321000,"pairAddress":"0x4cD05e9BE98410175d3855a36352839c20410967","pairUrl":"https://dexscreener.com/base/0x4cd05e9be98410175d3855a36352839c20410967"},"totalPairsFound":3,"source":"cloudflare-edge-dexscreener"}},"tags":["crypto","trading","signals","real-time","on-chain","mcp","openapi","a2a"]},{"id":"image-ocr-shrink","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.","latency_sla":"< 1000ms","price_usd":0.008,"price_atomic_units":"8000","endpoint":"https://api.0mod.com/api/v1/image-ocr-shrink","method":"POST","categories":["Data","AI"],"example":{"request":{"imageUrl":"https://example.com/invoice-1234.png"},"response":{"success":true,"extractedText":"## Invoice #1234\n\n| Item | Qty | Total |\n| :--- | :--- | :--- |\n| API credits | 500 | $12.50 |","characterCount":94,"tokensSavedEstimate":1476,"source":"cloudflare-workers-ai-vision"}},"tags":["ocr","image-ocr","rag","mcp","openapi","a2a"]},{"id":"crypto/coverage","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.","latency_sla":"< 100ms","price_usd":0,"price_atomic_units":"0","endpoint":"https://api.0mod.com/api/v1/crypto/coverage","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"example":{"request":{"pair":"AERO/USD"},"response":{"service":"0mod-crypto-telemetry","version":"v3.0.0","status":"active","updated_at":"2026-09-29T00:00:00Z","earliest_timestamp":"2026-09-09T00:57:25Z","latest_timestamp":"2026-09-29T00:00:00Z","supported_pairs":["AERO/USD","B3/USD","DEGEN/USD","DIEM/USD","DRV/USD","ETH/USD","KEYCAT/USD","KTA/USD","VIRTUAL/USD","VVV/USD","WELL/USD","cbBTC/USD"],"slice_interval_minutes":15,"total_dislocations":796890,"total_executions":151614,"endpoints":{"coverage":"/api/v1/crypto/coverage","sample":"/api/v1/crypto/sample","pulse":"/api/v1/crypto/pulse","spread_candles":"/api/v1/crypto/spread-candles","dislocations":"/api/v1/crypto/dislocations","arb_leaderboard":"/api/v1/crypto/arb-leaderboard","regimes":"/api/v1/crypto/regimes","impact_simulation":"/api/v1/crypto/impact-simulation","daily_rollup":"/api/v1/crypto/daily-rollup","venue_routing":"/api/v1/crypto/venue-routing"},"pricing":{"coverage":"FREE (0 USDC)","sample":"FREE (0 USDC)","pulse":"FREE (0 USDC)","spread_candles":"$0.015 USDC (15000 atomic units)","dislocations":"$0.045 USDC (45000 atomic units)","arb_leaderboard":"$0.025 USDC (25000 atomic units)","regimes":"$0.020 USDC (20000 atomic units)","impact_simulation":"$0.075 USDC (75000 atomic units)","daily_rollup":"$0.090 USDC (90000 atomic units)","venue_routing":"$0.075 USDC (75000 atomic units)"},"pre_flight_protection":"Requests outside available windows receive HTTP 404 with $0.00 charged."}},"tags":["telemetry","market-microstructure","crypto","trading","mcp","openapi","a2a"]},{"id":"crypto/sample","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.","latency_sla":"< 150ms","price_usd":0,"price_atomic_units":"0","endpoint":"https://api.0mod.com/api/v1/crypto/sample","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"example":{"request":{"pair":"ETH/USD"},"response":{"pair":"ETH/USD","slice_type":"dislocations","r2_key":"public/dislocations/ETH-USD/2026-09-15/1200.json.gz","slice_start":"2026-09-15T12:00:00Z","slice_end":"2026-09-15T12:14:59Z","sample_count":1,"total_rows_in_slice":1,"sample":[{"id":49120,"timestamp":"2026-09-15T12:03:12Z","pair":"ETH/USD","buy_venue":"coinbase","sell_venue":"aerodrome_base","raw_spread_bps":14.2,"net_spread_bps":5.1}],"coverage":{"endpoint":"/api/v1/crypto/coverage","supported_pairs":[]},"charged":"$0.00 USDC","source":"0mod-crypto-engine-r2"}},"tags":["free","sample","teaser","dislocation","spread","crypto","real-time","base","mcp","openapi","a2a"]},{"id":"crypto/pulse","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.","latency_sla":"< 120ms","price_usd":0,"price_atomic_units":"0","endpoint":"https://api.0mod.com/api/v1/crypto/pulse","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"example":{"request":{},"response":{"as_of":"2026-11-12T22:45:00Z","active_pairs":12,"dislocations_last_hour":348,"max_spread_bps":34.5,"median_spread_bps":18.2,"venues_active":3,"upgrade_to":["/api/v1/crypto/arb-leaderboard","/api/v1/crypto/dislocations"],"charged":"$0.00 USDC","source":"0mod-crypto-engine-r2"}},"tags":["free","pulse","market-microstructure","cex-dex-spread","spread","dislocation","telemetry","crypto","trading","real-time","mcp","openapi","a2a"]},{"id":"crypto/spread-candles","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.","latency_sla":"< 150ms","price_usd":0.015,"price_atomic_units":"15000","endpoint":"https://api.0mod.com/api/v1/crypto/spread-candles","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"example":{"request":{"pair":"AERO/USD","date":"2026-09-15","time":"1200","interval":"15m"},"response":{"pair":"AERO/USD","interval":"15m","slice_start":"2026-09-15T12:00:00Z","slice_end":"2026-09-15T12:00:59Z","open_raw_spread_bps":14.8,"high_raw_spread_bps":28.5,"low_raw_spread_bps":9.2,"close_raw_spread_bps":16.4,"avg_net_spread_bps":8.2,"max_net_spread_bps":19.1,"volume_depth_usd":48500,"dislocation_count":54,"source":"0mod-crypto-engine-r2"}},"tags":["market-microstructure","cex-dex-spread","spread","telemetry","crypto","trading","real-time","order-flow","mcp","openapi","a2a"]},{"id":"crypto/dislocations","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.","latency_sla":"< 150ms","price_usd":0.045,"price_atomic_units":"45000","endpoint":"https://api.0mod.com/api/v1/crypto/dislocations","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"example":{"request":{"pair":"AERO/USD","date":"2026-09-15","time":"1200"},"response":{"pair":"AERO/USD","slice_start":"2026-09-15T12:00:00Z","slice_end":"2026-09-15T12:00:59Z","count":1,"dislocations":[{"id":49120,"timestamp":"2026-09-15T12:03:12Z","pair":"AERO/USD","buy_venue":"coinbase","sell_venue":"aerodrome_base","buy_price":0.8455,"sell_price":0.8472,"raw_spread_bps":20.1,"net_spread_bps":8.5,"est_profit_usd":0.45,"liquidity_depth_usd":2500,"status":"OPPORTUNITY","duration_ms":145}],"source":"0mod-crypto-engine-r2"}},"tags":["dislocation","arbitrage","cex-dex-spread","spread","basis","telemetry","crypto","trading","real-time","order-flow","on-chain","mcp","openapi","a2a"]},{"id":"crypto/arb-leaderboard","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.","latency_sla":"< 120ms","price_usd":0.025,"price_atomic_units":"25000","endpoint":"https://api.0mod.com/api/v1/crypto/arb-leaderboard","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"example":{"request":{"date":"2026-09-15","time":"1200"},"response":{"slice_start":"2026-09-15T12:00:00Z","slice_end":"2026-09-15T12:15:00Z","pair_count":12,"pairs":[{"pair":"VIRTUAL/USD","dislocation_count":42,"positive_net_count":18,"max_raw_spread_bps":34.5,"p90_raw_spread_bps":26.2,"avg_net_spread_bps":9.4,"avg_cex_depth_usd":18400,"avg_dex_depth_usd":145000,"optimal_clip_usd":1250,"p50_duration_ms":420,"p90_duration_ms":1850,"survival_rate_200ms_pct":76.2,"survival_rate_1000ms_pct":38.1,"survival_rate_5000ms_pct":9.5,"cex_buy_share_pct":61.9,"dominant_chosen_venue":"aerodrome_v2"}],"source":"0mod-crypto-engine-r2"}},"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"]},{"id":"crypto/regimes","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.","latency_sla":"< 120ms","price_usd":0.02,"price_atomic_units":"20000","endpoint":"https://api.0mod.com/api/v1/crypto/regimes","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"example":{"request":{"pair":"AERO/USD"},"response":{"as_of":"2026-11-12T22:55:00Z","date":"2026-11-12","updated_at":"2026-11-12T22:58:00Z","pair":"AERO/USD","pair_count":1,"pairs":[{"pair":"AERO/USD","window_hours":24,"sample_count":1420,"positive_net_rate":0.34,"latest_spread_bps":12.4,"regime":"normal","p10":-8.2,"p25":-3.1,"p50":4.5,"p75":15,"p90":24.2,"p95":31.8,"p99":48,"regime_7d":"normal","window_24h":{"window_hours":24,"sample_count":1420,"positive_net_rate":0.34,"p10":-8.2,"p25":-3.1,"p50":4.5,"p75":15,"p90":24.2,"p95":31.8,"p99":48},"window_7d":{"window_hours":168,"sample_count":9850,"positive_net_rate":0.31,"p10":-9,"p25":-3.5,"p50":3.8,"p75":14.2,"p90":22.9,"p95":30.1,"p99":45.5}}],"source":"0mod-crypto-engine-r2"}},"tags":["regimes","volatility","cex-dex-spread","spread","basis","market-microstructure","telemetry","crypto","trading","real-time","on-chain","mcp","openapi","a2a"]},{"id":"crypto/impact-simulation","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.","latency_sla":"< 600ms","price_usd":0.075,"price_atomic_units":"75000","endpoint":"https://api.0mod.com/api/v1/crypto/impact-simulation","method":"POST","categories":["Data","Finance","Trading"],"example":{"request":{"pair":"AERO-USD","side":"buy","size_base":8000},"response":{"pair":"AERO-USD","side":"BUY","requested_size_base":8000,"requested_size_usd":7984,"mid_price":0.998,"best_bid":0.997,"best_ask":0.999,"spread_bps":20.04,"expected_fill_price":1.00025,"slippage_bps":22.545,"fillable_size_base":8000,"fillable_size_usd":8002,"fill_ratio":1,"full_fill_probability":1,"partial_fill_probability":1,"executable":true,"levels_consumed":2,"opposite_depth_usd":20050,"depth_within_bps":{"bps_10":2997,"bps_25":10002,"bps_50":15022,"bps_100":20050},"slippage_curve":[{"size_usd":100,"size_base":100.2,"expected_fill_price":0.999,"slippage_bps":10.02,"fillable_size_usd":100.1,"fill_ratio":1,"executable":true,"levels_consumed":1},{"size_usd":250,"size_base":250.5,"expected_fill_price":0.999,"slippage_bps":10.02,"fillable_size_usd":250.25,"fill_ratio":1,"executable":true,"levels_consumed":1},{"size_usd":500,"size_base":501,"expected_fill_price":0.999,"slippage_bps":10.02,"fillable_size_usd":500.5,"fill_ratio":1,"executable":true,"levels_consumed":1},{"size_usd":1000,"size_base":1002,"expected_fill_price":0.999,"slippage_bps":10.02,"fillable_size_usd":1001,"fill_ratio":1,"executable":true,"levels_consumed":1},{"size_usd":2500,"size_base":2505.01,"expected_fill_price":0.999,"slippage_bps":10.02,"fillable_size_usd":2502.5,"fill_ratio":1,"executable":true,"levels_consumed":1},{"size_usd":5000,"size_base":5010.02,"expected_fill_price":0.9998,"slippage_bps":18.036,"fillable_size_usd":5009,"fill_ratio":1,"executable":true,"levels_consumed":2}],"source":"crypto-cexdex-live-book","charged":"$0.075 USDC"}},"tags":["slippage","market-impact","pre-trade-simulator","execution-quality","crypto","trading","real-time","order-flow","mcp","openapi","a2a"]},{"id":"crypto/daily-rollup","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.","latency_sla":"< 350ms","price_usd":0.09,"price_atomic_units":"90000","endpoint":"https://api.0mod.com/api/v1/crypto/daily-rollup","method":"GET","categories":["Data","Finance","Blockchain","Trading"],"example":{"request":{"pair":"ETH/USD","date":"2026-11-12"},"response":{"pair":"ETH/USD","date":"2026-11-12","updated_at":"2026-11-12T23:55:00Z","candle_count":96,"sample_count":1420,"positive_net_count":980,"p50_duration_ms":420,"p90_duration_ms":1850,"avg_cex_depth_usd":18500,"avg_dex_depth_usd":64000,"max_raw_spread_bps":42.5,"cex_buy_share_pct":58.2,"candles":[]}},"tags":["daily-rollup","spread-candles","cex-dex-spread","telemetry","crypto","trading","real-time","mcp","openapi","a2a"]},{"id":"crypto/venue-routing","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.","latency_sla":"< 600ms","price_usd":0.075,"price_atomic_units":"75000","endpoint":"https://api.0mod.com/api/v1/crypto/venue-routing","method":"POST","categories":["Data","Finance","Trading"],"example":{"request":{"pair":"AERO-USD","side":"buy","size_usd":1000},"response":{"pair":"AERO-USD","side":"BUY","size_usd":1000,"best_venue":"coinbase","coinbase":{"expected_fill_price":0.999,"slippage_bps":10.02,"all_in_cost_bps":20.02,"fillable_usd":1000},"dex":{"expected_fill_price":1.001,"slippage_bps":20,"all_in_cost_bps":50,"pool_depth_usd":100000},"net_savings_usd":2.998,"split_allocation":{"coinbase_pct":100,"dex_pct":0},"charged":"$0.075 USDC"}},"tags":["venue-routing","smart-order-routing","cex-dex","slippage","execution-quality","crypto","trading","real-time","mcp","openapi","a2a"]}],"transport":{"type":"http","base_url":"https://api.0mod.com/api/v1","payment_header":"PAYMENT-REQUIRED","network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0x1AaD39958eCfc74e2C9de70B2d1376AD749A7501"}}