Any URL to PDF. Configurable format, margins, headers, footers. Print-quality output from any web page.
Real output
One API call converts any web page into a print-quality PDF document. This is Notion's homepage captured as a multi-page A4 PDF.



Capabilities
A4, Letter, Legal, Tabloid, or custom dimensions. Portrait and landscape orientation.
Configurable top, right, bottom, left margins in pixels or CSS units. Precise layout control.
Custom HTML headers and footers with template variables — page number, total pages, date, title, URL.
API
The /v1/pdf endpoint accepts all standard PDF options — format, orientation, margins, and custom header/footer templates with page number variables.
{
"url": "https://example.com/report",
"format": "A4",
"landscape": false,
"margin": {
"top": "20mm",
"bottom": "20mm",
"left": "15mm",
"right": "15mm"
},
"display_header_footer": true,
"footer_template": "<div style='font-size:8px;text-align:center;width:100%'><span class='pageNumber'></span> / <span class='totalPages'></span></div>"
}Advanced
Include or exclude background colors and images. Control exactly what appears in the PDF.
Generate specific pages only. Useful for extracting sections from long documents.
Scale content from 0.1 to 2.0. Fit more content per page or zoom in for readability.
Wait for dynamic content to load before generating. Custom wait strategies and JS injection.
Use cases
Generate PDFs from your invoice templates. Pixel-perfect, every time.
Convert data dashboards to shareable PDF reports. Schedule with webhooks.
Archive web pages as PDF documents. Timestamped, complete, print-ready.
One API call. Full control over format, margins, and headers.