PDF API · Report generation API
Turn your data into multi-page PDF reports.
Usage reports, account statements, monthly summaries, statements of marks — send the rows as JSON and get a paginated PDF with repeating headers, ready to email or archive.
Opens a real a usage report with sample data — edit a field and download the PDF. No account or card for the example. PixlDocs is free for 1 year.
Real output

SaaS usage report

Account statement

Statement of marks
Rendered through the production pipeline from published templates with sample data.
The request
POST /v1/render/html
curl -X POST https://api.pixldocs.com/v1/render/html \
-H "Authorization: Bearer pxd_YOUR_KEY" \
-H "Content-Type: application/json" \
--output report.pdf \
-d '{
"html": "<h1>{{ account }} — {{ month }}</h1>{% for r in rows %}<p>{{ r.metric }}: {{ r.value }}</p>{% endfor %}",
"page_setup": { "size": "A4" },
"data": { "account": "Acme", "month": "Sept 2026", "rows": [ { "metric": "API calls", "value": 48210 } ] }
}'Replace pxd_YOUR_KEY with a key from your dashboard. The response body is the file.
- Long tables paginate
- Rows split across pages; headers repeat.
- HTML + CSS layouts
- Full control of typography and page setup.
- Scheduled or on demand
- Call it from a cron job, a workflow or a user click.
- Branded per customer
- Logos and colours can be data fields.
Questions
Can reports include charts?
Anything your HTML and CSS can render statically — including inline SVG charts you generate — appears in the PDF.
How long can a report be?
Multi-page documents are supported; very large runs are better sent through batch renders.
Template or raw HTML?
Either. Raw HTML is fastest to start; a saved template gives you a stable field contract.
Is it free?
Yes. PixlDocs is free for 1 year from 3 October 2026 while we work with early users. You can try a real example with no account; a free account starts with 100 credits, and you can ask us for more free credits when you run out.
Try it on sample data, then bring your own document.
Start with the free example. If your document or data source is different, send us one sample and tell us where the data lives — we set up the first template with you, free. Business and enterprise teams can contact us separately.