By AIVEXA LLP
HTML & URL to PDF
API for Developers
Send HTML or a URL. Receive a professionally rendered PDF. Powered by Chromium. Start free, scale as you grow.
Terminal
curl -X POST https://aivexa.com/api/v1/pdf \
-H "Authorization: Bearer avx_pdf_live_xxx" \
-H "Content-Type: application/json" \
-d '{
"html": "<h1>Invoice #1001</h1><p>Amount: ₹25,000</p>",
"format": "A4",
"orientation": "portrait",
"printBackground": true
}' --output invoice.pdfEverything you need for PDF generation
⚡
Chromium Rendering
Full JavaScript execution, CSS, web fonts, SVG, custom @media print styles — rendered exactly as Chrome would.
🔐
Secure API Keys
Test and live keys with separate prefixes. SHA-256 hashed storage. Revoke anytime from the dashboard.
📄
All PDF Options
A3–A6, Letter, Legal, custom dimensions, margins, headers/footers, encryption, page numbers, background graphics.
🌐
URL to PDF
Render any public URL to PDF. waitForSelector, networkidle, and custom delay support for SPAs and dynamic pages.
📸
Screenshot API
Capture PNG or JPEG screenshots at custom viewport sizes. Full-page or viewport-only.
📊
Usage Dashboard
Track every request. Request IDs, response times, file sizes, success/failure — all in your dashboard.
🛡️
SSRF Protected
All URL-to-PDF requests are validated. Private IPs, localhost, metadata endpoints are blocked by default.
🔢
Request IDs
Every response includes a unique req_xxx ID for logging, debugging, and support.
How it works
STEP 01
Get an API Key
Sign up free, create an API key from the dashboard. Use test keys for development.
STEP 02
Send HTML or URL
POST your HTML string or a public URL with your desired PDF options.
STEP 03
Receive your PDF
Get binary PDF in the response, or a download URL for larger files.
Simple, credit-based pricing
Need more? Contact us for enterprise pricing.
Start generating PDFs today
Free plan. No credit card required. 100 PDFs/month on us.
Get Started Free →