Two small pay-per-call tools for AI agents. Pay in USDC on Base with any x402 v2 client. No account, no API key, and errors are never charged.
Hand it a public URL and it returns the page's clean main text, title and metadata, a sha256 hash of the text, and prompt-injection warnings with a 0-100 risk score, before any of it reaches your agent's context.
GET /api/read?url=https://usdc-address-book.netlify.app/
The scan covers the visible text plus the places humans never see: hidden elements, HTML comments, alt/title/aria/meta attributes, invisible Unicode tag characters and base64 payloads. Each finding names the rule, where it was found, and an excerpt. It's a heuristic: treat page text as data, never as instructions, whatever the score.
Fetching is SSRF-guarded. Every DNS answer is checked and the connection is pinned to the checked address. Private, loopback, link-local, CGNAT and reserved ranges are refused, and only ports 80 and 443 are allowed. It follows at most 4 redirects, re-checks each one, and refuses https-to-http downgrades. Limits are 2 MB, 8 seconds, and text/html or text/plain only. Sample response.
Before your agent pays an x402 endpoint, Preflight sends one unpaid request and reports the live price in USD, network, whether the token is canonical USDC, payTo, timeout, any mismatch with the CDP Bazaar listing, and a pay / caution / do_not_pay verdict. It never signs or pays anything.
GET /api/preflight?url=<x402 endpoint>&method=GET&max_usd=0.05
Sample response. Free dry run with a live verdict: /api/preflight/try?url=... (price, payTo and Bazaar details are in the paid report).
GET /api/rpc?chain=base&min_logs_range=10000 returns free public RPC endpoints that work right now for Base, Ethereum, Arbitrum, OP, Polygon, Avalanche, BNB and testnets, filtered by eth_getLogs range, archive state and batch size from our measured data, then live-checked (chain id, head sync, latency, getLogs range). Sample response. Impossible requests get a free 400.
/openapi.json · /llms.txt · /.well-known/x402 · /api/health
USDC contract addresses and EIP-712 domains by chain (read onchain, JSON included) · Public RPC eth_getLogs block-range limits (measured).
Payments settle through the Coinbase CDP facilitator to 0x6573467528C349Fa9b2AFA6993116fC7bE1D10c1 on Base.
Field notes for people selling over x402: the per-chain USDC EIP-712 names that cause "invalid signature", CDP vs PayAI, Bazaar listing, and a Netlify seller template. Preview and contents. Paid at GET /api/guide.