Try any of 919 endpoints — live.
Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.
Render raw HTML (+optional CSS) to PDF — invoices, reports, receipts. Same Chromium engine as the big converters; remote assets SSRF-guarded or fully blocked.
Raw HTML to render (≤2MB). Remote subresources are SSRF-guarded; set allow_remote_resources=false for fully offline rendering.
Extra CSS injected into the document <head>.
Base URL for relative asset paths in the supplied HTML (injected as <base href>); SSRF-validated.
Allow the supplied HTML to load remote images/fonts/css (SSRF-guarded). false = network fully blocked (pure offline render).
PDF paper size (Chromium print-to-PDF formats).
Landscape orientation.
PDF margin — '10mm' / '0.5in' / '12px' or bare number (mm). Sets all four sides; override per side below.
PDF margin — '10mm' / '0.5in' / '12px' or bare number (mm).
PDF margin — '10mm' / '0.5in' / '12px' or bare number (mm).
PDF margin — '10mm' / '0.5in' / '12px' or bare number (mm).
PDF margin — '10mm' / '0.5in' / '12px' or bare number (mm).
Render background colors/images in the PDF (default true).
CSS media type used for the PDF render.
Print scale 0.1-2.0. (0.1–2)
Pages to include, e.g. '1-3,5'. Empty = all.
Honor CSS @page size over paper_format when the page declares one.
Print header/footer bands on every PDF page.
PDF header HTML template; classes date/title/url/pageNumber/totalPages are auto-filled by Chromium. Styles are NOT inherited — inline font-size etc.
PDF footer HTML template; classes date/title/url/pageNumber/totalPages are auto-filled by Chromium. Styles are NOT inherited — inline font-size etc.
Viewport width in CSS pixels (200-3840). (200–3840)
Extra settle delay after load, 0-5000ms. (0–5000)
curl -X POST https://api.reefapi.com/web-capture/v1/html_to_pdf \
-H "x-api-key: $REEF_KEY" \
-H "content-type: application/json" \
-d '{"html":"<h1>Invoice #42</h1><p>Total: $19.99</p>","allow_remote_resources":"false"}'Hit Send to run this endpoint live.