{"slug":"x402-paywall-huntercarver24-workers-dev-pdf-4bec5e","title":"Web page to PDF","host":"x402-paywall.huntercarver24.workers.dev","method":"POST","resource":"https://x402-paywall.huntercarver24.workers.dev/pdf","category":"code","description":"Web page to PDF: any public URL rendered in a real headless browser (JavaScript runs, redirects followed) as an A4 or Letter PDF; raw application/pdf, or a base64 JSON envelope with the page title, final URL and status. One call, one payment, no account; a failed render is not charged.","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":4,"answered_7d":4,"latency_ms_median":53,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"encoding":"base64","pdfFormat":"A4","url":"https://x402-paywall.huntercarver24.workers.dev/radar"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"encoding":{"default":"binary","description":"Raw bytes with the page metadata in X-Render-* headers, or a JSON envelope carrying base64.","enum":["binary","base64"],"type":"string"},"height":{"default":800,"description":"Viewport height in px.","maximum":1920,"minimum":320,"type":"integer"},"pdfFormat":{"default":"A4","enum":["A4","Letter"],"type":"string"},"timeoutMs":{"default":15000,"description":"Navigation timeout.","maximum":25000,"minimum":1000,"type":"integer"},"url":{"description":"Public http(s) page. Private, local and cloud-metadata addresses are refused.","format":"uri","type":"string"},"waitForSelector":{"description":"Wait until this CSS selector exists before capturing.","maxLength":256,"type":"string"},"waitUntil":{"default":"networkidle2","enum":["load","domcontentloaded","networkidle0","networkidle2"],"type":"string"},"width":{"default":1280,"description":"Viewport width in px.","maximum":1920,"minimum":320,"type":"integer"}},"required":["url"]},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"description":"encoding=base64, as in the example: this JSON object. encoding=binary, the default: the raw PDF bytes, with url, finalUrl, title, status and fetchedAt in X-Render-* headers.","properties":{"bytes":{"description":"size of the PDF in bytes","type":"integer"},"data":{"description":"the PDF, base64","type":"string"},"elapsedMs":{"type":"integer"},"encoding":{"enum":["base64"],"type":"string"},"fetchedAt":{"format":"date-time","type":"string"},"finalUrl":{"description":"URL after redirects","type":"string"},"format":{"enum":["pdf"],"type":"string"},"mimeType":{"enum":["application/pdf"],"type":"string"},"status":{"description":"HTTP status the page answered with","type":"integer"},"title":{"type":"string"},"url":{"description":"URL requested","type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":54,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":37,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":53,"error":null},{"day":"2026-11-23","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":63,"error":null}],"description_full":"Web page to PDF: any public URL rendered in a real headless browser (JavaScript runs, redirects followed) as an A4 or Letter PDF; raw application/pdf, or a base64 JSON envelope with the page title, final URL and status. One call, one payment, no account; a failed render is not charged.","last_updated":"2026-11-23T15:46:50.672Z","schemes":["exact"]}