Docs

PDFops API reference

Seven endpoints, running on V8 edge runtimes — Cloudflare Workers, Vercel, Deno, Bun — so you call them from inside your edge function, no headless browser required. Keyless calls get 100 requests per IP per month; a free API key raises that to 250 requests per month — POST your email to /api/signup and pass the emailed key as X-API-Key. Paid tiers (Indie 4,000, Pro 25,000 requests/month) are live at /pricing. All endpoints accept and return PDF or JSON; no SDK required. There's also a no-code path: email a blank fillable PDF + values to fill@pdfops.dev and the reply comes back filled, with the equivalent API call included.

Endpoints

Contract — applies to every endpoint

Authentication & quotas

The PDF endpoints (/api/fill-form, /api/merge, /api/inspect) resolve your quota from the X-API-Key header:

RequestResult
No X-API-Key headerAnonymous: 100 requests/IP/month.
Valid keyYour tier's quota: Free 250 / Indie 4,000 / Pro 25,000 requests per month.
Invalid or revoked key401 invalid_api_key. No fallback to the IP cap — a caller who thinks they're keyed should find out, not be quietly mis-metered.
Over quota429 with { "error": "rate_limited" } and a Retry-After header (seconds until the 1st of next month, UTC).

Quota is consumed only on 2xx responses — failed requests are free. Get a free key at /pricing (or POST /api/signup); check consumption with GET /api/usage or the dashboard.

Clients & integrations

Fillable PDFs — quick start

Don't have a fillable PDF handy? Grab the sample invoice-template.pdf — it has customer_name + total AcroForm fields ready to fill via the curl example on each docs page.

For tax forms (W-9, W-8BEN, I-9) the IRS publishes AcroForm-ready PDFs at irs.gov/forms-instructions — just rename the default IRS field names to something predictable (see the W-9 walkthrough) and your code survives the annual form refresh.