Puptra PDF Snapshot
One call renders a URL (or raw HTML) to a PDF, a full-page screenshot, or structured page data —
with the documented option semantics of Puppeteer's page.pdf() and page.screenshot().
No headless browser to run: it executes on Cloudflare Browser Run.
Endpoints
Pay per call in USDC with x402, or buy prepaid credits by card.
| Endpoint | What it does | Price | Free |
|---|
Try it
curl -X POST "$ORIGIN/v1/pdf" -H 'content-type: application/json' --data '{"url":"https://example.com/"}' --output page.pdf
Send { "url": "..." } or { "html": "..." }, plus Puppeteer-compatible options:
pdfOptions (format, landscape, printBackground, margin, scale, pageRanges, displayHeaderFooter…),
screenshotOptions (type, quality, fullPage, omitBackground, clip…), viewport,
waitForSelector, emulateMediaType and gotoOptions.
Calls are paid per request: an x402 client (or agent) pays the 402 Payment Required terms
automatically in the same round-trip; otherwise buy prepaid credits below and send
Authorization: Bearer <API key>.
Use it from an AI agent (MCP)
Every endpoint is also a tool on this product's MCP server. Add it to any MCP client (Claude, Cursor, VS Code and others) with your API key:
{ "mcpServers": { "puptra-pdf-snapshot": { "url": "$ORIGIN/mcp", "headers": { "Authorization": "Bearer " } } } }
Buy credits
Your API key (shown once; keep it):
Send it as Authorization: Bearer <key>. Credits appear after payment.