← 402arcade

GET /web/pdf $0.02/call

Render any public webpage to a PDF document (A4 or Letter, portrait or landscape, backgrounds included) for $0.02 per call. Built for agents that archive, attach, or file web content.

Parameters

namerequireddescription
urlyespublic http(s) URL
formatnoA4 (default) or Letter
landscapenotrue for landscape

Example

GET /web/pdf?url=https://example.com&format=A4

→ (binary application/pdf)

Payment (x402)

Call without payment to receive HTTP 402 with a base64 envelope in the payment-required header — price, payTo, network (USDC on Base), and I/O schemas. Pay automatically with @x402/fetch:

const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://402arcade.dev/web/pdf?…");

No API keys. No accounts. Machine-readable: openapi.json · llms.txt · catalog