Web page to PDF
x402-paywall.huntercarver24.workers.dev/pdf
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.
POST
https://x402-paywall.huntercarver24.workers.dev/pdfUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-paywall.huntercarver24.workers.dev/pdf", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"encoding":"base64","pdfFormat":"A4","url":"https://x402-paywall.huntercarver24.workers.dev/radar"}),
});
console.log(await res.json());Example input
{
"encoding": "base64",
"pdfFormat": "A4",
"url": "https://x402-paywall.huntercarver24.workers.dev/radar"
}