PDF Generator API
PDFend is a modern PDF generator API for developers and AI agents. Send HTML, get a PDF. Everything you'd expect from a Stripe-quality developer experience — typed SDKs, great docs, a generous free tier, and an MCP server so Claude and ChatGPT can create PDFs directly.
There are at least a dozen PDF generation APIs today. This page compares the well-known ones — DocRaptor, PDFMonkey, CraftMyPDF, PDFShift — with PDFend, so you can pick the right one. Spoiler: if you're building a modern product (2024+ stack, AI features, typed SDKs mandatory) PDFend is designed for you.
Comparison table
Highlights only — each cell is a link to the relevant docs page or alternative landing on either vendor's site. Prices as of April 2026.
| Feature | PDFend | DocRaptor | PDFMonkey | CraftMyPDF | PDFShift |
|---|---|---|---|---|---|
| Modern Resend-style DX | Yes | No | Partial | No | Partial |
| Rendering engine | Chromium | Prince XML | Chromium | Chromium | Chromium |
| MCP for AI agents | Yes | No | No | No | No |
| HTML + CSS input | Yes | Yes | Yes | Drag-drop | Yes |
| Template engine | Handlebars | No | Liquid | Proprietary | No |
| Typed TS + Python SDK | Yes | Ruby-first | No | No | Partial |
| Free tier | 100 PDFs/mo | Trial | 20 PDFs | 100 PDFs | 50 PDFs |
| Starting paid price | $19 / 2k | $15 / 125 | $19 / 300 | $19 / 1k | $9 / 500 |
| Async + webhooks | Yes | Async | Yes | No | Partial |
| Generations log | Yes | Partial | Yes | Partial | No |
When PDFend is the right choice
PDFend is a strong default if any of these are true for your team:
- You write TypeScript or Python and want typed SDKs by default.
- You're using or planning to use AI agents (Claude, ChatGPT, Cursor) and want them to generate PDFs natively.
- You're evaluating PDF APIs for a new product and want to ship on the free tier before paying.
- You're migrating off wkhtmltopdf and want the new stack to be modern from day one.
- You need a template engine, webhooks, and a logs viewer — not just a render endpoint.
When PDFend is not the right choice
Being honest, there are cases where another option is better:
- You need PDF/A for archival compliance today. Use DocRaptor, which has it natively. PDFend ships PDF/A in 2026.
- You want a drag-and-drop visual template editor. Use CraftMyPDF or PDFGeneratorAPI. PDFend stays HTML/CSS.
- You need Office formats (XLSX, DOCX) from the same API. Use DocRaptor or add a separate tool alongside PDFend.
The simplest working example
This is everything needed to generate a PDF with PDFend from scratch — no library, just curl:
curl -X POST https://api.pdfend.com/v1/generate \
-H "Authorization: Bearer pk_live_..." \
-H "Content-Type: application/json" \
-d '{
"html": "<h1>Hello, PDFend!</h1>",
"options": { "format": "A4", "print_background": true }
}'{
"id": "pdf_01HXABC",
"status": "completed",
"url": "https://files.pdfend.com/pdf_01HXABC.pdf",
"pages": 1,
"size": 18420,
"duration_ms": 784
}What's in the box
Chromium rendering
What you see in the browser is what you get in the PDF. Full CSS3, Flexbox, Grid, Google Fonts, SVG charts — all supported natively.
HTML + Templates
Send raw HTML or reference a stored Handlebars template. Pick the mode that fits the job, mix freely.
TypeScript & Python SDKs
Typed inputs, typed results, typed errors. Autocomplete every option and catch bugs at compile time.
MCP server for agents
Claude Desktop, Cursor, ChatGPT — drop in a config entry and your agent generates PDFs as a native tool call.
Sync + Async modes
Sync for sub-second invoices, async with webhooks for 200-page reports. Same endpoint, one flag.
Webhook delivery
Register a webhook URL and we'll POST every completion (or failure) with a signed payload. Retries with exponential backoff.
Generations log + replay
See every request, filter by status, replay a failed render with the exact inputs. Debug in production without guesswork.
Per-plan rate limits
Free: 1 req/s. Starter: 5 req/s. Pro: 20 req/s. Scale: 60 req/s. Enterprise: custom. Burst allowances on every tier.
Free tier, no watermark
100 PDFs/month at $0, production quality, no credit card. Enough to validate your idea before paying anything.
Who builds on PDFend
SaaS invoices and receipts
Per-user billing documents with company branding, multi-currency totals, tax breakdowns. Async mode for month-end batch runs.
Reports with charts and tables
Weekly KPI exports, quarterly board decks, SOC audit summaries. SVG charts render crisp at any zoom, tables page-break intelligently.
Contracts and agreements
MSA, DPA, NDA templates with Handlebars — inject client names, dates, clauses. Headers, footers, page numbers, signature blocks.
Certificates, tickets, badges
Single-page documents with custom fonts, backgrounds, QR codes (as SVG). Perfect for course completion, events, credentials.
AI agent outputs
Your agent produces a research summary or a workflow output — turn it into a PDF via MCP without writing integration code.
Migrating from wkhtmltopdf
wkhtmltopdf was archived in January 2023. PDFend is a drop-in replacement for the common shell-out pattern.
Pricing, plainly
PDFend pricing is a single monthly fee per plan, which includes a fixed number of PDFs. You don't pay different rates for different document types or formats. Plan limits are hard caps — your bill never grows on its own, and you can upgrade anytime when you need more.
| Plan | Price | PDFs / mo | Effective per-PDF |
|---|---|---|---|
| Free | $0 | 100 | — |
| Starter | $19 | 2,000 | $0.0095 |
| Pro | $49 | 10,000 | $0.0049 |
| Scale | $149 | 50,000 | $0.003 |
| Enterprise | Custom | Custom | Custom |
Frequently asked questions.
01What is a PDF generator API?+
02Why not just run Puppeteer in my own Lambda?+
03What rendering engine does PDFend use?+
04How does pricing work?+
05Can I use templates?+
06What about AI agents — does PDFend really support Claude and ChatGPT?+
07How reliable is the service?+
08Can I self-host?+
09How do I get started?+
Related pieces.
Pick the PDF API that's built for 2026
Free tier. Typed SDKs. MCP for AI agents. Simple per-plan pricing. Give PDFend an afternoon and see how it feels.