{"openapi":"3.1.0","info":{"title":"agent-web","version":"0.9.0","description":"URL → LLM-ready markdown (free), plus paid screenshot/PDF rendering (x402, $1+). A charter-clean web toolkit for agents and developers: robots-respecting, read-only, no anti-bot/CAPTCHA/paywall evasion.","contact":{"name":"foomworks","url":"https://agent-web.foomworks.workers.dev"}},"servers":[{"url":"https://agent-web.foomworks.workers.dev"}],"paths":{"/read":{"get":{"summary":"Fetch a URL and return LLM-ready markdown — HTML extracted, Markdown/plain-text docs passed through verbatim; ?format=markdown returns the raw text/markdown document (free)","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"absolute http(s) URL of a publicly reachable HTML page"},{"name":"format","in":"query","required":false,"schema":{"type":"string","enum":["json","markdown","md"],"default":"json"},"description":"json (default, structured) or markdown (raw text/markdown document)"}],"responses":{"200":{"description":"OK","content":{"application/json":{}}}}}},"/read/preview":{"get":{"summary":"First ~600 characters of the markdown (free)","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"absolute http(s) URL of a publicly reachable HTML page"}],"responses":{"200":{"description":"OK","content":{"application/json":{}}}}}},"/render/screenshot":{"get":{"summary":"PNG screenshot via a real, robots-respecting headless browser — PAID (x402, $1+); 503 until Cloudflare Browser Rendering is provisioned","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"absolute http(s) URL of a publicly reachable HTML page"}],"responses":{"200":{"description":"OK","content":{"application/json":{}}}}}},"/render/pdf":{"get":{"summary":"PDF render via a real, robots-respecting headless browser — PAID (x402, $1+); 503 until Cloudflare Browser Rendering is provisioned","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"absolute http(s) URL of a publicly reachable HTML page"}],"responses":{"200":{"description":"OK","content":{"application/json":{}}}}}},"/render/preview":{"get":{"summary":"Free discovery stub for the render lane (free); 503 until Cloudflare Browser Rendering is provisioned","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string"},"description":"absolute http(s) URL of a publicly reachable HTML page"}],"responses":{"200":{"description":"OK","content":{"application/json":{}}}}}},"/health":{"get":{"summary":"Service status (free)","responses":{"200":{"description":"OK","content":{"application/json":{}}}}}},"/stats":{"get":{"summary":"Daily usage counters (free)","responses":{"200":{"description":"OK","content":{"application/json":{}}}}}},"/policy":{"get":{"summary":"Acceptable-Use Policy — the polite-reader guarantees (free)","responses":{"200":{"description":"OK","content":{"application/json":{}}}}}},"/mcp":{"post":{"summary":"MCP server (Streamable HTTP, JSON-RPC 2.0) — agent-native read_url / read_url_preview / render_preview tools (free) + x402 pointers for render_screenshot / render_pdf","responses":{"200":{"description":"OK","content":{"application/json":{}}}}}},"/.well-known/agent-card.json":{"get":{"summary":"A2A agent card (free)","responses":{"200":{"description":"OK","content":{"application/json":{}}}}}},"/.well-known/mcp.json":{"get":{"summary":"MCP server descriptor (free)","responses":{"200":{"description":"OK","content":{"application/json":{}}}}}}}}