{"name":"Agent402","description":"Paid web tools for AI agents via the x402 payment protocol.","payment":{"protocol":"x402","version":2,"network":"base","currency":"USDC"},"baseUrl":"https://agent402.tools","endpoints":[{"method":"POST","path":"/api/extract","price":"$0.005","description":"Extract the main article content from any public URL as clean markdown. Returns title, byline, excerpt, word count, and markdown."},{"method":"GET","path":"/api/meta","price":"$0.002","description":"Fetch page metadata for a URL: title, description, OpenGraph, Twitter cards, canonical URL, favicon."},{"method":"GET","path":"/api/dns","price":"$0.001","description":"DNS lookup for a domain. Supported record types: A, AAAA, MX, TXT, NS, CNAME."},{"method":"POST","path":"/api/render","price":"$0.02","description":"Render a page in a real headless Chromium browser (JavaScript executed), then extract the main content as clean markdown. Use this for SPAs and JS-heavy sites where plain fetching returns an empty shell."},{"method":"GET","path":"/api/screenshot","price":"$0.015","description":"Screenshot any public URL in headless Chromium. Returns a PNG image. Query params: ?url=https://…&fullPage=true (optional)."},{"method":"POST","path":"/api/pdf","price":"$0.01","description":"Fetch a PDF from a URL and extract its text content. Returns page count, document info, and the full text (up to 20MB PDFs)."},{"method":"POST","path":"/api/memory","price":"$0.002","description":"Persistent key-value memory for agents, scoped to the paying wallet. Your x402 payment IS your authentication: the wallet that pays owns the namespace. No signup, no API keys. Body: {\"key\": \"…\", \"value\": any JSON} to write, or {\"key\": \"…\", \"delete\": true} to remove. Values up to 64KB."},{"method":"GET","path":"/api/memory","price":"$0.001","description":"Read from your wallet-scoped memory. ?key=… returns the stored value; omit key to list your keys. Only the wallet that paid for the writes can read them."}]}