Live API · 99.9% uptime · MCP-ready

Turn HTML, URLs & Markdown into pixel-perfect PDFs

Convert HTML, a URL, or Markdown into pixel-perfect PDFs via a simple REST API.PRO PLAN — $19/mo• 5,000 PDFs per month• Up to 20 MB per document• HTML, URL & Markdown → PDF• Custom page size, margins, landscape, headers/footers• Time-limited secure download linksBUILT FOR DEVELOPERS & AI AGENTS• One bearer token, structured JSON, predictable errors• OpenAPI 3.1 spec + machine-readable manifest• MCP server included — drop it straight into your agent• Idempotency-Key support for safe retriesOn purchase you'll receive your API key by email instantly.Docs: https://quill.rgtz.dev/v1/manifest

5,000 PDFs / month Key emailed instantly Cancel anytime
request.sh
curl -X POST "https://quill.rgtz.dev/v1/pdf" \
  -H "Authorization: Bearer pdfk_••••" \
  -H "Content-Type: application/json" \
  -d '{
    "markdown": "# Invoice\n**Total:** $4,200",
    "options": { "format": "A4", "margin": "20mm" }
  }'
# → 200 OK
{
  "url": "https://…/invoice.pdf",
  "expires_in": 3600,
  "pages": 1
}

Everything you need, in one endpoint

HTML → PDFURL → PDFMarkdown → PDFCustom page sizeMarginsLandscapeHeaders & footersSecure linksIdempotency-KeyOpenAPI 3.1MCP server

Built for production, priced for builders

Real Chromium rendering on serverless infrastructure. No browser to manage, no servers to babysit.

Three inputs, one output

Send raw HTML, a public URL, or Markdown. We render it through real Chromium for exact fidelity.

Full page control

Page size, margins, landscape, headers and footers — all configurable per request.

Time-limited secure links

Every PDF returns a signed, expiring download URL. Nothing stays public longer than it should.

Idempotency-Key support

Safe retries built in. Replay the same key and get the same result — no duplicate charges or renders.

Predictable errors

Structured JSON responses with stable error codes you can branch on programmatically.

Up to 20 MB documents

Render long invoices, reports, and books without hitting tiny payload ceilings.

AGENT-NATIVE

Drop it straight into your AI agent

Most PDF APIs were built for humans clicking buttons. This one was designed from the first line for autonomous tools.

  • MCP server included. Register one tool and your agent can generate PDFs immediately — no glue code.
  • OpenAPI 3.1 + manifest. Machine-readable spec so models discover every parameter without guessing.
  • Deterministic contracts. One bearer token, stable error codes, idempotent retries — exactly what a planner needs.
mcp.json
{
  "mcpServers": {
    "pdf": {
      "command": "npx",
      "args": ["pdf-api-mcp"],
      "env": { "PDF_API_KEY": "pdfk_••••" }
    }
  }
}
# Agent now has a "generate_pdf" tool ✔

From signup to first PDF in 60 seconds

1

Subscribe

Grab the Pro plan. Your API key lands in your inbox instantly from no-reply@rgtz.dev.

2

Call the endpoint

POST your HTML, URL, or Markdown with a bearer token. That's the whole integration.

3

Get your PDF

Receive a secure, expiring download link in the JSON response. Done.

Simple, honest pricing

One plan, everything included. Cancel anytime.

Pro

For developers & agents shipping real work

Most popular
$19 a month / month
  • 5,000 PDFs per month
  • Up to 20 MB per document
  • HTML, URL & Markdown → PDF
  • Custom size, margins, landscape, headers/footers
  • Time-limited secure download links
  • OpenAPI 3.1 spec + MCP server
  • Idempotency-Key safe retries
Subscribe to Pro

API key delivered by email instantly · Cancel anytime

Frequently asked questions

How do I get my API key?

The moment your subscription is confirmed, your key is emailed automatically from no-reply@rgtz.dev. If it's not in your inbox within a minute, check spam.

What happens if I exceed 5,000 PDFs?

Requests beyond your monthly quota return a clear, structured error so your code can handle it gracefully. Need more volume? Reach out about the Scale plan.

Does it really work with AI agents?

Yes — it ships with an MCP server and a machine-readable OpenAPI 3.1 spec. Register the tool and your agent can generate PDFs with zero custom integration.

Can I cancel anytime?

Absolutely. It's a monthly membership with no lock-in. Cancel from your Gumroad account whenever you like.

Are the download links private?

Every PDF returns a signed, time-limited URL that expires automatically. Your documents never stay publicly reachable longer than necessary.

Start generating PDFs today

Join developers and AI agents turning content into polished documents with a single API call.

Get Pro for $19 a month

Key emailed instantly · Cancel anytime