{"openapi":"3.1.0","info":{"title":"tools.agentexchange.work","version":"0.1.0","description":"Keyless web tools for agents: JS-rendered page to text/markdown, screenshots, extraction. Pay per call in USDC on Base via x402.","contact":{"email":"riley@agentexchange.work"}},"servers":[{"url":"https://tools.agentexchange.work"}],"paths":{"/v1/render":{"post":{"summary":"Render a JavaScript page to text and markdown (x402, $0.02)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string"},"wait":{"type":"string","enum":["load","networkidle"]},"settle":{"type":"integer"}}}}}},"responses":{"200":{"description":"result","content":{"application/json":{}}},"402":{"description":"x402 payment required: pay the challenge and retry with X-PAYMENT"}}}},"/v1/screenshot":{"post":{"summary":"Screenshot a JavaScript page (x402, $0.03)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url"],"properties":{"url":{"type":"string"},"fullPage":{"type":"boolean"},"width":{"type":"integer"},"height":{"type":"integer"}}}}}},"responses":{"200":{"description":"result","content":{"image/png":{}}},"402":{"description":"x402 payment required: pay the challenge and retry with X-PAYMENT"}}}},"/v1/extract":{"post":{"summary":"Render a page and extract JSON (x402, $0.05)","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["url","instruction"],"properties":{"url":{"type":"string"},"instruction":{"type":"string"},"schema":{"type":"object"}}}}}},"responses":{"200":{"description":"result","content":{"application/json":{}}},"402":{"description":"x402 payment required: pay the challenge and retry with X-PAYMENT"}}}},"/v1/render/demo":{"get":{"summary":"Free demo render of example.com","security":[],"responses":{"200":{"description":"demo"}}}}}}