One API for PDFs,
screenshots, and
social cards

Send HTML or a URL, get back a pixel-perfect document or image. Flat-rate plans with generous limits.

curl
curl -X POST https://pixdoc.dev/api/v1/pdf \
  -H "Authorization: Bearer pd_live_a3b2c4d5..." \
  -H "Content-Type: application/json" \
  -d '{"html": "<h1>Hello World</h1>"}' \
  -o document.pdf

Three endpoints. Infinite possibilities.

Everything you need to generate documents and images programmatically.

PDF Generation

Convert HTML or any URL into pixel-perfect PDFs with full CSS3 support.

  • HTML & URL input
  • Full CSS3 & web fonts
  • Template engine
  • Custom page sizes
  • Custom fonts & logos
  • Revocable share links
  • Async rendering & webhooks
  • Idempotency keys for safe retries
  • Attach metadata to renders
  • Template version pinning
  • Free resume builder

Screenshots

Capture any webpage or HTML as a high-quality PNG, JPEG, or WebP image.

  • Full page capture
  • Element selection
  • Retina (2x, 3x)
  • Dark mode emulation
  • Email template preview
  • Async rendering & webhooks

OG Images

Generate social cards on the fly with templates and dynamic data.

  • Template-based
  • CDN cached
  • URL parameters
  • 1200x630 optimized

Three steps. That's it.

Step 1

Send HTML or a URL

POST your content to any endpoint. Pass raw HTML, a URL, or use a template with variables.

POST /api/v1/pdf
{
  "html": "<h1>Invoice #1042</h1>"
}
Step 2

Pixel-perfect rendering

Your content is rendered in a real browser engine. Full CSS3, JavaScript, web fonts. What you see is what you get.

POST /api/v1/screenshot
{
  "url": "https://example.com",
  "options": { "fullPage": true }
}
Step 3

Get your file back

Receive the rendered PDF, image, or social card as a binary response. Store it, serve it, or stream it.

GET /api/v1/og/blog-post
  ?title=Hello+World
  &author=Jane+Doe

→ 200 OK (image/png)

Flat-rate pricing

Generous monthly limits. No surprises. Pick a plan that fits your volume.

Free
$0 forever
  • 50 renders/month
  • 3 templates
  • Watermarked output
  • 10 MB asset storage
  • Idempotency keys
  • 7-day render log
  • Community support
Starter
$29/mo
  • 5,000 renders/month included
  • Then $0.01 per additional render
  • 10 templates
  • 50 MB asset storage
  • No watermark
  • Webhooks & async rendering
  • Idempotency keys
  • 30-day render log
  • Email support
Pro
Most Popular
$79/mo
  • 25,000 renders/month included
  • Then $0.01 per additional render
  • Unlimited templates
  • 200 MB asset storage
  • No watermark
  • Webhooks & async rendering
  • Idempotency keys
  • 90-day render log
  • Priority support
Business
$199/mo
  • 100,000 renders/month included
  • Then $0.01 per additional render
  • Unlimited templates
  • 1 GB asset storage
  • No watermark
  • Webhooks & async rendering
  • Idempotency keys
  • 365-day render log
  • Priority support
Enterprise
$499/mo
  • 500,000 renders/month included
  • Then $0.01 per additional render
  • Unlimited templates
  • 5 GB asset storage
  • No watermark
  • Webhooks & async rendering
  • Idempotency keys
  • 365-day render log
  • Batch API
  • Custom domain
  • SSO (SAML)
  • SLA guarantee
  • Dedicated support

Why pay per document?

Most rendering APIs charge per document. At 5,000 renders a month, the difference is significant.

DocRaptor

$0.12 per document

$600

for 5,000 renders

ScreenshotOne

$0.008 per screenshot

$40

for 5,000 renders

PixDoc

Flat rate, all features

$29

per month, 5,000 included