{"x402Version":2,"service":{"name":"x402 Agent Toolkit","description":"High-value pay-per-request edge intelligence for AI agents: Taiwan TWSE financial data, Polymarket+CLOB & Multi-DEX signals, deep HTML table/SPA extraction & web tools (Base USDC).","baseUrl":"https://x402-agent-toolkit.x402-edge-tools.workers.dev"},"payment":{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xe7702c3d5918eeab4c4b96ad5c821256ee1cb417","scheme":"exact"},"resources":[{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/safe-fetch","path":"/api/safe-fetch","methods":["GET","POST"],"price":"$0.015","description":"Security shield for wallet-enabled AI agents: fetches any public URL, strips hidden prompt injections (zero-width unicode, invisible CSS/HTML comments, system-override directives, data-exfiltration links), and returns sanitized Markdown + SHA-256 digest + GO/WARN/BLOCK verdict.","tags":["security","prompt-injection","firewall","agents","safety","sanitization"],"inputSchema":{"properties":{"url":{"type":"string","description":"Public http(s) URL to fetch and sanitize against prompt injections."},"max_chars":{"type":"integer","default":20000}},"required":["url"]}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/ai-supply-chain","path":"/api/ai-supply-chain","methods":["GET","POST"],"price":"$0.03","description":"Real-time leading indicator for $NVDA/$TSM/$AVGO/$AMD/$SMCI: aggregates 24 curated Tier 1-3 Taiwan TWSE AI suppliers (Foundry/CoWoS, AI Server ODMs, Liquid Cooling, ABF Substrates, CCL/PCB, 800G Networking, ASICs) with live monthly revenue YoY/MoM, US ticker read-through & composite AI Hardware Demand Index.","tags":["nvidia","tsmc","ai-supply-chain","taiwan","semiconductors","equities","quant"],"inputSchema":{"properties":{"us_ticker":{"type":"string","description":"Optional US ticker filter (NVDA, TSM, AVGO, AMD, SMCI, AAPL)."},"layer":{"type":"string","description":"Optional supply-chain layer filter (foundry, odm, cooling, pcb, networking, asic, power)."}}}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/x402-preflight","path":"/api/x402-preflight","methods":["GET","POST"],"price":"$0.005","description":"Before your AI agent pays an unknown x402 URL, audit it: checks latency, HTTP 402 compliance, decodes PAYMENT-REQUIRED, verifies official USDC contract & valid payTo address, checks Bazaar schema, and returns a 0-100 trust score.","tags":["x402","security","audit","preflight","payments","agents","verification"],"inputSchema":{"properties":{"url":{"type":"string","description":"Target x402 endpoint URL to preflight-audit."},"method":{"type":"string","enum":["GET","POST"],"default":"GET"}},"required":["url"]}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/repo-intel","path":"/api/repo-intel","methods":["GET","POST"],"price":"$0.005","description":"Single-call structured GitHub intelligence for coding & research agents: stars, forks, open issues, latest release, language mix, maintenance health score, and npm/PyPI registry metadata.","tags":["github","opensource","developer","code","npm","pypi","research"],"inputSchema":{"properties":{"repo":{"type":"string","description":"GitHub repository in owner/name format (e.g. coinbase/x402)."},"npm_package":{"type":"string","description":"Optional npm package name."},"pypi_package":{"type":"string","description":"Optional PyPI package name."}},"required":["repo"]}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/tw-stock-intel","path":"/api/tw-stock-intel","methods":["GET","POST"],"price":"$0.02","description":"Structured English-keyed Taiwan listed company intelligence from official TWSE OpenAPI: daily OHLCV, P/E, dividend yield, P/B, monthly revenue YoY/MoM growth, and material disclosures (or quantitative market screeners).","tags":["taiwan","asia","equities","twse","finance","quant","tsmc"],"inputSchema":{"properties":{"code":{"type":"string","description":"Taiwan stock ticker code (e.g. 2330 for TSMC). Omit to run a screener."},"screener":{"type":"string","enum":["top_revenue_yoy","top_dividend","top_volume","latest_disclosures"],"description":"Market-wide screener mode."},"limit":{"type":"integer","default":10}}}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/market-signals","path":"/api/market-signals","methods":["GET","POST"],"price":"$0.025","description":"Cross-source quantitative signals for trading agents: (1) Polymarket Gamma + live CLOB orderbook spread, depth imbalance, YES+NO mispricing & breakout turnover; (2) Multi-DEX cross-pool price spread & arbitrage feasibility.","tags":["polymarket","prediction-market","arbitrage","defi","trading","signals","clob"],"inputSchema":{"properties":{"mode":{"type":"string","enum":["polymarket","dex_arb"],"default":"polymarket"},"query":{"type":"string","description":"Keyword filter for Polymarket markets."},"limit":{"type":"integer","default":8},"address":{"type":"string","description":"Token address for mode=dex_arb."},"chain":{"type":"string","default":"base"}}}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/deep-extract","path":"/api/deep-extract","methods":["GET","POST"],"price":"$0.015","description":"Heavy-duty extraction for AI agents: parses all HTML tables into typed JSON objects/rows, extracts hidden SPA hydration JSON (__NEXT_DATA__, JSON-LD, embedded data islands), heading outline, OpenGraph metadata, and clean Markdown.","tags":["scraping","tables","json","nextjs","structured-data","extraction"],"inputSchema":{"properties":{"url":{"type":"string","description":"Public http(s) URL to extract structured tables, SPA JSON & Markdown from."},"max_tables":{"type":"integer","default":10},"include_markdown":{"type":"boolean","default":true}},"required":["url"]}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/web-to-markdown","path":"/api/web-to-markdown","methods":["GET","POST"],"price":"$0.002","description":"Convert any public web page into clean, LLM-ready Markdown + metadata & links.","tags":["web","markdown","scraping","llm","reader"],"inputSchema":{"properties":{"url":{"type":"string","description":"Public http(s) URL to convert to Markdown"},"max_chars":{"type":"integer","default":25000},"include_links":{"type":"boolean","default":true}},"required":["url"]}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/token-check","path":"/api/token-check","methods":["GET","POST"],"price":"$0.005","description":"Aggregate DexScreener liquidity/volume and GoPlus contract security into a 0-100 risk report.","tags":["crypto","base","solana","defi","security","token"],"inputSchema":{"properties":{"address":{"type":"string","description":"Token contract address (0x... or Solana Base58)"},"chain":{"type":"string","default":"base"}},"required":["address"]}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/tw-institutional-flows","path":"/api/tw-institutional-flows","methods":["GET","POST"],"price":"$0.02","description":"Official TWSE daily institutional money-flow intelligence in clean English JSON: market-wide Foreign, Investment Trust & Dealer net buy/sell (TWD), per-stock institutional net shares (T86), margin financing & short-selling balances (MI_MARGN), top foreign net-bought/sold leaders, and 24-company AI hardware supply chain institutional positioning.","tags":["taiwan","twse","institutional-flows","foreign-investors","margin","quant","ai-supply-chain"],"inputSchema":{"properties":{"mode":{"type":"string","enum":["overview","ai_chain","ticker"],"default":"overview","description":"overview (market totals + top foreign buys/sells + AI chain summary), ai_chain (24 AI hardware stocks), or ticker (single stock)."},"symbol":{"type":"string","description":"Optional Taiwan stock code (e.g. 2330). Forces single-stock mode when provided."},"limit":{"type":"integer","default":10,"description":"Number of top net-bought / net-sold stocks to return (1-30)."}}}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/mcp-security-scan","path":"/api/mcp-security-scan","methods":["GET","POST"],"price":"$0.01","description":"Before your AI agent connects to an unknown remote Streamable HTTP MCP server, scan it: executes initialize + tools/list, inspects every tool description & JSON schema for hidden prompt injections, zero-width/bidi unicode stealth chars, credential/wallet exfiltration instructions, and dangerous shell/execution surfaces, returning a 0-100 risk score, verdict & SHA-256 manifest digest.","tags":["mcp","security","tool-poisoning","prompt-injection","audit","agents","verification"],"inputSchema":{"properties":{"url":{"type":"string","description":"Public Streamable HTTP MCP endpoint URL to audit (e.g. https://example.com/mcp)."}},"required":["url"]}},{"resource":"https://x402-agent-toolkit.x402-edge-tools.workers.dev/api/site-intel","path":"/api/site-intel","methods":["GET","POST"],"price":"$0.003","description":"Audit HTTP security headers, metadata, OpenGraph, tech stack hints, robots.txt, and llms.txt.","tags":["security","seo","web","recon","llms-txt"],"inputSchema":{"properties":{"url":{"type":"string","description":"Public domain or URL to inspect"}},"required":["url"]}}]}