Developer-first PDFs

Generate PDFs with a single API call

Send JSON, get back styled invoices, receipts, and reports. No HTML required. Free to start.

Try it

terminal
curl -X POST "https://pdfapi-nu.vercel.app/api/v1/generate" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template":"invoice","data":{"companyName":"Acme Co.","fromAddress":"100 Market St","toAddress":"Jane Buyer","lineItems":[{"description":"Services","quantity":1,"unitPrice":500}],"taxRate":0.08}}' \
  -o invoice.pdf

How it works

Three steps from your data to a print-ready PDF.

Step 1

Send JSON data

POST your business objects—no markup, no templates to host.

Step 2

Pick a template

Choose invoice, receipt, or report. We render and typeset for you.

Step 3

Get your PDF

Receive a binary PDF response ready to attach, store, or email.

Templates

Typed JSON schemas per template—validate once, generate forever.

Invoice

template: "invoice"

Company name, from/to addresses, line items (description, quantity, unit price), and tax rate.

View schema in docs →

Receipt

template: "receipt"

Merchant, date, item lines as text, amount paid, and last four digits of the payment method.

View schema in docs →

Report

template: "report"

Title, date range, summary stats (label + value), and flexible tabular rows for KPIs or exports.

View schema in docs →

Pricing

Predictable monthly limits and rate limits per tier.

PlanPriceIncluded callsRate limit
Free$0200 calls/month5 req/minGet Started
Starter$29/mo2,000 calls/month30 req/minGet Started
Growth$99/mo10,000 calls/month60 req/minGet Started
Scale$249/mo50,000 calls/month120 req/minGet Started

Code examples

Same request across curl, Python, and Node.js—swap in your API key and base URL.

curl -X POST "https://pdfapi-nu.vercel.app/api/v1/generate" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"template":"invoice","data":{"companyName":"Acme Design Co.","fromAddress":"100 Market St\nSan Francisco, CA","toAddress":"Jane Buyer\n200 Oak Ave\nAustin, TX","lineItems":[{"description":"Brand kit","quantity":1,"unitPrice":2500}],"taxRate":0.0825}}' \
  -o invoice.pdf

Built for AI agents

The API is designed for agentic workflows: predictable REST endpoints, structured JSON input and responses, and an OpenAPI specification so tools can discover operations, parameters, and schemas automatically. Pipe model output straight into PDF generation without hand-authored HTML.