# PDFRelay
> PDFRelay is an HTML-to-PDF API for developers: convert HTML or any public
> URL into pixel-perfect PDFs (invoices, contracts, reports) with a single
> API call. Chromium-exact rendering (full CSS Grid), flat per-document
> pricing with no credit math, free cached repeats, SSRF-hardened URL mode,
> and transient document processing with no stored PII.
## Plans
- Free: $0/mo, 150 documents/month
- Starter: $12/mo, 1,500 documents/month
- Pro: $29/mo, 5,000 documents/month
- Scale: $79/mo, 20,000 documents/month
## Key pages
- https://www.pdf-relay.com/docs — API reference
- https://www.pdf-relay.com/playground — free in-browser HTML-to-PDF playground (no signup)
- https://www.pdf-relay.com/pricing — pricing
- https://www.pdf-relay.com/compare/pdfshift-alternative
- https://www.pdf-relay.com/compare/docraptor-alternative
- https://www.pdf-relay.com/compare/puppeteer-alternative
## Quickstart
POST https://www.pdf-relay.com/api/v1/pdf with an Authorization: Bearer header and a
JSON body: {"html": "Invoice
", "options": {"format": "A4"}}.
The response is the PDF. Errors are JSON with {"error": {"code", "message"}}.
Quota state is exposed via X-Pdfrelay-Quota-* response headers.