Chromium rendering engine with full CSS3/Flexbox/Grid support. Enterprise-grade security for production-ready PDF generation.
$ curl -X POST /api/pdf/generate-from-html \
-H "Authorization: Bearer sk-xxxxx" \
-d '{"html":"<h1>Hello</h1>"}'
{
"success": true,
"data": {
"download_url": "https://...pdf",
"file_size": 45321
}
}Building a PDF conversion API from scratch means handling authentication, rate limiting, storage, and cleanup. FUNBREW PDF provides it all in one package.
POST your HTML and get a download URL back as JSON.
curl -X POST https://pdf.funbrew.tech/api/pdf/generate-from-html \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{"html": "<h1>Hello</h1>", "options": {"page-size": "A4", "engine": "quality"}}'{
"success": true,
"data": {
"filename": "a1b2c3d4-e5f6-...-7890.pdf",
"download_url": "https://api.example.com/api/pdf/download/a1b2c3d4-...",
"file_size": 45321,
"expires_at": "2026-03-20T12:00:00.000000Z",
"max_downloads": 10,
"remaining_downloads": 10
}
}Instead of building PDF generation yourself, let the API handle it. Just add a few lines to your existing system.
Feed order data from your accounting system into a template and send it to the API. Generation, storage, and expiry management are all handled API-side.
// 請求テンプレートにデータを埋めてPDF化
const html = renderInvoice(order);
const res = await fetch("/api/pdf/generate-from-html", {
method: "POST",
headers: {
"Authorization": `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
html,
options: { "page-size": "A4" },
expiration_hours: 168, // 7日間有効
email: { // PDF添付メール送信
to: order.email,
subject: "請求書をお送りします",
},
}),
});Pass a dashboard URL to the API to capture it as a PDF. Combine with cron to deliver daily reports to Slack automatically.
# 毎朝9時にダッシュボードをPDF化してSlack通知
res = requests.post(
f"{API_BASE}/api/pdf/generate-from-url",
headers={"Authorization": f"Bearer {API_KEY}"},
json={
"url": "https://bi.internal/dashboard/daily",
"options": {"page-size": "A3"},
},
)
pdf_url = res.json()["data"]["download_url"]
slack.post(channel, f"日次レポート: {pdf_url}")Contracts, certificates, insurance policies — generate unique PDFs per user. Download limits prevent link sharing, and expired files are auto-deleted.
// ユーザーごとの証明書PDFを生成して返す
$html = view('certificate', [
'user' => $user,
'course' => $course,
'issued_at' => now(),
])->render();
$res = Http::withToken($apiKey)
->post("{$apiBase}/api/pdf/generate-from-html", [
'html' => $html,
'max_downloads' => 3, // 3回まで
'expiration_hours' => 72,
]);
return $res->json('data.download_url');Save point-in-time snapshots of web pages as PDFs. Just send the URL — no scraping or headless browser management needed.
// URLのリストをまとめてPDF化
const urls = [
"https://example.com/product/123",
"https://example.com/product/456",
];
const results = await Promise.all(
urls.map((url) =>
fetch("/api/pdf/generate-from-url", {
method: "POST",
headers: {
"Authorization": `Bearer ${API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({ url }),
}).then((r) => r.json())
)
);
results.forEach((r) => console.log(r.data.download_url));5 plans based on monthly generation volume. All prices exclude tax.
| Free | Starter | Basic | Standard | Enterprise | Enterprise Pro | |
|---|---|---|---|---|---|---|
| Monthly | $0 | $15 | $39 | $79 | $399 | $1,499〜 |
| PDFs / month | 30 | 200 | 500 | 1,000 | 10,000 | Unlimited |
| Chromium Engine (CSS3) | — | — | ✓ | ✓ | ✓ | ✓ |
| Templates | 1 | 3 | 5 | 10 | Unlimited | Unlimited |
| Webhook / Slack | — | ✓ | ✓ | ✓ | ✓ | ✓ |
| Batch / Merge | — | — | — | ✓ | ✓ | ✓ |
| S3 Storage | — | — | — | — | ✓ | ✓ |
| Infrastructure | Shared | Shared | Shared | Shared | Shared | Dedicated |
| Support | Priority email | Priority email | Dedicated + SLA | |||
| Start free | Get started | Get started | Get started | Get started | Contact us |
Free plan requires no credit card. You can change plans anytime from the dashboard.
FUNBREW Inc., the company behind FUNBREW PDF, is a systems development company. From API integration to workflow automation, we provide end-to-end support.
View use casesFree plan includes 30 PDFs/month. Integration support available.