Full-page PDF rendering
Render entire scrolling pages — not just the visible viewport — into a single continuous PDF. Fonts, images, and layout are captured exactly as Chrome renders them.
Product
Turn any URL into a print-ready PDF with one API call. Control paper format, orientation, margins, and background graphics — rendered by a real Chrome browser, not a templating library.
API request
POST /screenshots
Authorization: X-API-KEY <key>
{
"url": "https://example.com/report",
"pdf": true,
"pdf_format": "a4",
"pdf_landscape": false,
"pdf_background": true,
"pdf_margin": "20mm",
"pdf_margin_bottom": "15mm"
} Returns a signed PDF URL in the response · Deliver directly to S3, Drive, or Dropbox
Capabilities
One consistent parameter set controls the full output pipeline — from page rendering to file delivery. No PDF library configuration, no headless browser maintenance.
Render entire scrolling pages — not just the visible viewport — into a single continuous PDF. Fonts, images, and layout are captured exactly as Chrome renders them.
Choose from A4, Letter, or Legal paper sizes and switch between portrait and landscape. Outputs match print-ready dimensions.
Set custom top, right, bottom, and left margins with any CSS unit (px, mm, in, cm). Use pdf_margin as a shorthand for all sides, or override individual sides independently.
Preserve background colours and images in the PDF output. Headless Chrome omits backgrounds by default; one flag re-enables them for brand-accurate renders.
Route your PDF job to a browser in a specific country. Geo-gated content, localised pricing, and region-aware copy are all rendered faithfully.
Inject session cookies or run multi-step login flows before the PDF is generated. Capture dashboards, reports, and portals that live behind a login.
Click, scroll, type, wait, and navigate before the PDF is captured. Dismiss cookie banners, expand collapsed sections, or fill in a date picker first.
Push each PDF directly to Amazon S3, Google Drive, Dropbox, OneDrive, Box, or FTP. No extra transfer step needed between the API and your storage layer.
Live examples
Each PDF below was generated with a single API call using different parameter combinations. Replace the placeholders with real output once samples are ready.
Full-page render scaled to fit a single Letter sheet.
Wide-format export with uniform margin and reduced bottom spacing.
API parameters
These parameters extend the standard screenshot request. All other parameters — url,
country,
steps,
cookies, etc. — work as normal.
| Parameter | Type | Default | Description |
|---|---|---|---|
| boolean | false | Set to true to request PDF output instead of an image. | |
| pdf_format | string | letter | Paper size — a4, letter, legal. |
| pdf_landscape | boolean | false | Rotate the output to landscape orientation. |
| pdf_one_page | boolean | false | Scale the rendered page to fit on a single PDF page. |
| pdf_background | boolean | false | Include CSS background colours and images in the output. |
| pdf_margin | string | 0 | Default margin for all four sides — any CSS unit: px, mm, in, cm. |
| pdf_margin_top | string | 0 | Top margin — any CSS unit: px, mm, in, cm. Overrides pdf_margin. |
| pdf_margin_right | string | 0 | Right margin — any CSS unit. Overrides pdf_margin. |
| pdf_margin_bottom | string | 0 | Bottom margin — any CSS unit. Overrides pdf_margin. |
| pdf_margin_left | string | 0 | Left margin — any CSS unit. Overrides pdf_margin. |
Full parameter reference in the API docs.
Use cases
Render HTML dashboards into PDF every night and push them to S3 or Google Drive. Replace brittle PDF libraries with browser-accurate output and a predictable API.
Turn an HTML invoice template into a PDF in a single API call. Fonts, logos, and table layouts stay pixel-perfect regardless of user locale or server environment.
Snapshot live web pages as legally defensible PDFs with a precise timestamp. Useful for terms-of-service versions, regulatory filings, and content audits.
Convert marketing landing pages, data sheets, and brochures into downloadable PDFs on demand — always reflecting the current live version of the page.
Attach a PDF render alongside each CI deployment to record exactly how the UI looked at the moment of the release. Diffs between PDF versions are easy to review.
Generate polished PDF exports for clients — analytics summaries, SEO reports, or brand audits — straight from a live web view without an intermediate design tool.
How it works
POST your URL with pdf=true and any paper, margin, or automation options. The job is queued immediately.
A real Chrome instance loads the URL, runs any automation steps, and exports the page to PDF using the Puppeteer print pipeline.
Poll for completion, then download from the signed URL — or configure an app integration to push the PDF directly to your storage platform.
Integrations
Connect ScreenshotCenter to your cloud storage once and every PDF job lands there automatically — no extra upload code needed.
Example: S3 delivery
{
"url": "https://example.com/invoice/42",
"pdf": true,
"pdf_format": "Letter",
"pdf_print_background": true,
"app": "s3",
"app_options": {
"bucket": "my-invoices",
"key": "invoices/2026/042.pdf"
}
} FAQ
Add pdf=true to any screenshot request. The response will include a PDF artifact URL alongside the standard fields.
a4, letter, and legal. Set the format with the pdf_format parameter.
Yes. Pass pdf_landscape=true to flip the output. Combine with any paper format.
By default Chrome omits background graphics in print mode. Set pdf_background=true to preserve background colours and images.
Yes. Use pdf_margin to set all four sides at once, or pdf_margin_top, pdf_margin_right, pdf_margin_bottom, and pdf_margin_left to override individual sides. Values accept any CSS unit (e.g. 20px, 1.5mm, 0.5in).
Yes. Inject session cookies or use automation steps (click, type, navigate) to authenticate before the PDF capture runs.
Yes. Add a country parameter to render geo-gated content or localised pages from a specific geographic location.
The API returns a signed URL where the PDF is hosted. You can also configure an app integration (S3, Google Drive, Dropbox, etc.) for direct cloud delivery.
Free trial includes 500 captures — no credit card required. Add PDF output to any capture request with a single parameter.