PDF EXPORT

Turn any web page into a PDF with one API call

Set format to pdf on the same screenshot endpoint you already use, and get back a document instead of an image — reports, invoices, dashboards, and archived pages, without running a separate PDF rendering service.

format: pdf
Same endpoint, one parameter
Full page
Renders the whole scrolled page
Real browser
Same rendering as your screenshots
Install:curl -X POST https://api.prod.ss.snapshot-site.com/api/v1/screenshot
Auth:x-snapshotsiteapi-key: YOUR_API_KEY
Get started for free
PDF output
Good fits
Dashboard and report exports for stakeholders
Archiving pricing, legal, or policy pages as documents
Invoice and receipt pages saved as PDFs
Long-form content exported for offline review

How the PDF export works

There's no separate PDF endpoint to learn. The same v1 and v2 screenshot requests you already use accept format: "pdf" alongside png, jpeg, and webp — the page is rendered by a real browser and exported as a document instead of an image.

1

One parameter change

Swap format to pdf on an existing screenshot request — no new integration.

2

Full-page by default makes sense here

Most PDF use cases want the entire page, not just the first viewport — pair with fullSize: true.

3

Same cleanup options apply

hideCookie and hide still work, so exported documents don't carry banners or debug UI.

4

Real rendering, not a print stylesheet hack

The page renders exactly as a browser would show it, including JavaScript-driven content.

Quick start

Get a PDF in one request

1

Get an API key from the console

2

POST a URL to /api/v1/screenshot with format set to pdf

3

Add fullSize: true for full-length documents

4

Download the returned PDF URL

Example request

PDF

Export a dashboard as a PDF

Capture a full-length dashboard page as a document instead of an image.

curl --request POST \
  --url https://api.prod.ss.snapshot-site.com/api/v1/screenshot \
  --header 'Content-Type: application/json' \
  --header 'x-snapshotsiteapi-key: YOUR_API_KEY' \
  --data '{
    "url": "https://app.example.com/reports/quarterly",
    "format": "pdf",
    "width": 1440,
    "fullSize": true,
    "hideCookie": true
  }'