ENTRY 001 · HTML → PDF · POST /API/V1/PDF

Every document, on the record.

PDFRelay renders your HTML to archival-quality PDF with one authenticated POST. Chromium-exact, quota-metered, cached for identical payloads. Filed, stamped, returned.

Get your API keyRead the docs

Render engineChromium
Median render1.8 s
Cache windowShort-TTL
First renderFree
001a

Render proof

Paste HTML, render a watermarked proof, no signup. The same Chromium engine the API uses.

SOURCE · HTML · MAX 100 KB4 KB

CTRL/⌘+ENTER TO RENDER · FREE · NO SIGNUP

RENDER A PROOF TO PREVIEW THE FRAME
A4 · 210×297 MMWATERMARKED · SIGN UP TO REMOVE
002

First render in five lines

curl -X POST https://www.pdf-relay.com/api/v1/pdf \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"html": "<h1>Invoice #1042</h1>", "options": {"format": "A4"}}' \
  --output invoice.pdf
FILING · CURLNODE.JS · PYTHON AVAILABLE

Full request schema, options, and error codes in the API docs.

003

The register

RefEntrySpecification
R-01Playwright renderingReal headless Chromium via Playwright. Your CSS, fonts and page breaks come out exactly as the browser draws them.
R-02Per-key quotasEvery API key carries its own monthly ledger and rate line. Usage is countable, auditable, and visible in the dashboard at any hour.
R-03Short-TTL render cacheIdentical payloads within a short cache window return the cached document instantly. No double billing, no redundant renders.
R-04SSRF-hardened fetchingOutbound asset fetches are resolved, filtered, and confined to public addresses. Internal networks stay off the record.

What teams render

COMMERCE

Invoices

Per-order PDFs generated on checkout, styled from the same HTML template every time.

ANALYTICS

Reports

Scheduled or on-demand exports (usage summaries, dashboards, statements) rendered straight from your app's markup.

AGREEMENTS

Contracts

Signable agreements built from a merge-field template, ready to send the moment terms are confirmed.

EVENTS

Tickets

Event or boarding passes with barcodes and dynamic seat data, rendered per attendee at purchase time.

WEB CAPTURE

Live pages

Any public URL rendered as-is, fetched through an SSRF-guarded request with no separate template to maintain.

004

Schedule of fees

P-01
Free
$0/mo
  • 150 renders / month
Start free
P-02
Starter
$12/mo
  • 1,500 renders / month
Choose Starter
P-03PREFERRED
Pro
$29/mo
  • 5,000 renders / month
Choose Pro
P-04
Scale
$79/mo
  • 20,000 renders / month
Choose Scale

See full pricing

Compare the engines

Honest, feature-by-feature comparisons: PDFRelay vs PDFShift · PDFRelay vs DocRaptor · PDFRelay vs DIY Puppeteer

One API call. A finished PDF.

Try the playgroundSee pricing

PDFRelay: HTML to PDF API for developers