No headless Chrome on your servers. Send HTML or a URL, get PDF bytes back. The fastest way to add PDF generation to any app — Node.js, Python, Django, Rails, PHP. Merge, split, watermark, compress, protect, rotate, and extract text — same API key.
curl -X POST "https://simple-pdf-api.p.rapidapi.com/v1/html-to-pdf" \
-H "Content-Type: application/json" \
-H "X-RapidAPI-Key: YOUR_KEY" \
-H "X-RapidAPI-Host: simple-pdf-api.p.rapidapi.com" \
-d '{"html":"<h1>Invoice #1042</h1><p>Total: $99</p>"}' \
-o invoice.pdf
Full CSS via Chromium. A4, Letter, margins, headers/footers.
Render any public page. SSRF protection built in.
Combine PDFs or extract page ranges in one request.
Add CONFIDENTIAL or DRAFT overlays to every page.
Reduce file size by removing duplicate objects.
Password-encrypt PDFs with configurable permissions.
Rotate all or selected pages by 90, 180, or 270°.
MCP server — no code needed. Generate PDFs from natural language inside your AI tools.
{
"mcpServers": {
"pdf-api": {
"command": "uvx",
"args": ["pdf-api-mcp"],
"env": { "PDF_API_KEY": "your_rapidapi_key" }
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json and restart Claude.
Subscribe on RapidAPI. Cancel anytime.
BASIC — ~50 req/day. Test & integrate.
PRO — 5,000 req/mo. Side projects & MVPs.
ULTRA — 25,000 req/mo. Production apps.
Skip the 300MB Chrome binary, memory leaks, and crash loops. We run it, you just POST.
Lambda, Vercel, Cloudflare Workers — impossible with Puppeteer, trivial with an API call.
Node.js, Python, Django, Rails, PHP, Go — any HTTP client works. No SDK needed.
HTML→PDF, merge, split, watermark, compress, protect, rotate, extract text. Not just generation.
OpenAI Actions schema available. Add PDF generation to your Custom GPT in minutes.
1. Open ChatGPT GPT Editor → Actions → Add action
2. Import schema from: https://pdf-api-production-9570.up.railway.app/openapi.json
3. Set auth header X-RapidAPI-Key with your key
Server-render HTML templates, attach PDF to emails.
Dashboard → PDF download for your users.
Merge uploads, watermark drafts, extract text.