Send your data, get back a pixel-perfect invoice, receipt, certificate or report. No headless browser to babysit, no HTML to fight.
Start free — 100 PDFs/month{
"template": "invoice",
"data": {
"invoice_number": "INV-0042",
"to": { "name": "Acme GmbH" },
"items": [
{ "name": "Website redesign",
"amount": "4,800.00" }
],
"total": "4,800.00"
}
}| Website redesign | $4,800.00 |
| Total due | $4,800.00 |
This is the real API. Pick a template, edit the JSON, get a PDF back in about a second. 5 free runs per day.
PDFMint slots into the workflows you already run — no PDF library, no wkhtmltopdf flags, no font debugging.
New Stripe payment or form submission → branded PDF invoice in your customer's inbox.
Course completed in your LMS → personalized certificate generated and delivered, hundreds at a time.
Cron job posts your metrics JSON every Monday → a clean KPI report lands in Slack.
Every template ships with a sample payload — copy it, swap in your data, done. Or describe your own with Magic Templates.
No HTML, no design work. Tell PDFMint what you need in plain English and it writes a reusable, print-ready template — then it's one API call per document, forever. Here's the flow:
Every PDF you generate gets a hosted, trackable link. See the moment your invoice or quote is actually opened, and fire a webhook to automate the follow-up. No other PDF API in this category offers this.
Start free. Upgrade when your volume does. Cancel anytime.
Two requests: get a key, make a PDF.
# 1. Get a free API key curl -X POST https://pdfmintapi.com/v1/keys \ -H "Content-Type: application/json" \ -d '{"email":"[email protected]"}' # 2. Generate your first PDF curl -X POST https://pdfmintapi.com/v1/generate \ -H "Authorization: Bearer pm_your_key" \ -H "Content-Type: application/json" \ -d @invoice.json --output invoice.pdf
Try the engine without writing a line of code — 5 free PDFs per day, no signup.