⚡ JSON + Template → PDF in one API call

Generate Professional PDFs from JSON

Turn structured data into beautiful invoices, receipts, certificates, reports, and contracts. A simple REST API — no HTML, no Chrome, no hassle.

5Templates
100Free PDFs/mo
<2sGeneration time
99.9%Uptime

As simple as it gets

Send a POST request with your template type and JSON data. Get back a polished PDF. That's it.

  • ✓ No HTML or CSS knowledge required
  • ✓ No headless browser or Puppeteer
  • ✓ Pure Node.js — lightweight and fast
  • ✓ Works in any language: Python, Go, PHP, Ruby…
curl -X POST https://getdocforge.net/api/generate-pdf \
  -H "Authorization: Bearer dk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "invoice",
    "data": {
      "company": { "name": "Acme Inc" },
      "client":  { "name": "John Doe" },
      "invoice": { "number": "INV-001",
        "date": "2026-06-01" },
      "items": [
        { "description": "Web Design",
          "quantity": 10, "unit_price": 75 }
      ],
      "tax_rate": 10
    }
  }' --output invoice.pdf
const res = await fetch(
  "https://getdocforge.net/api/generate-pdf",
  {
    method: "POST",
    headers: {
      "Authorization": "Bearer dk_your_api_key",
      "Content-Type": "application/json"
    },
    body: JSON.stringify({
      template: "invoice",
      data: {
        company: { name: "Acme Inc" },
        client:  { name: "John Doe" },
        invoice: { number: "INV-001", date: "2026-06-01" },
        items: [{ description: "Web Design",
          quantity: 10, unit_price: 75 }],
        tax_rate: 10
      }
    })
  }
);
const blob = await res.blob();
// Save or display the PDF
import requests

res = requests.post(
    "https://getdocforge.net/api/generate-pdf",
    headers={
        "Authorization": "Bearer dk_your_api_key",
        "Content-Type": "application/json"
    },
    json={
        "template": "invoice",
        "data": {
            "company": {"name": "Acme Inc"},
            "client":  {"name": "John Doe"},
            "invoice": {"number": "INV-001",
                "date": "2026-06-01"},
            "items": [{"description": "Web Design",
                "quantity": 10, "unit_price": 75}],
            "tax_rate": 10
        }
    }
)

with open("invoice.pdf", "wb") as f:
    f.write(res.content)

Why DocForge?

Built for developers who need reliable PDF generation without the overhead.

🚀

Fast & Lightweight

Powered by PDFKit — no Chrome, no Puppeteer, no heavy dependencies. PDFs generate in under 2 seconds.

🎨

Professional Templates

Each template is designed by hand for a polished, branded look. Invoices, receipts, certificates and more.

🔌

Simple REST API

One endpoint. Send JSON, get PDF. Works with any programming language that can make HTTP requests.

📊

Usage Tracking

Built-in monthly quota management. Check your usage anytime via the API dashboard.

🔒

Secure & Reliable

API key authentication, Vercel edge infrastructure, and 99.9% uptime SLA on paid plans.

🧩

Easy to Extend

Adding a new template is just one file. The template registry makes it trivial to ship new document types.

Template Library

Five professional templates available now. More coming soon.

Invoice

Itemized table with quantities, tax calculation, and payment terms.

PAID

Receipt

Clean payment confirmation with PAID stamp and transaction details.

🏅

Certificate

Elegant certificate with decorative border, seal, and signature lines.

Report

Multi-page business report with cover header, metrics, and data table.

Contract

Professional legal contract with party info, clauses, and signatures.

+ More Soon

Coming Soon

Letterhead, packing slip, purchase order, and more templates on the way.

Simple, Transparent Pricing

Start free. Upgrade when you need more. Cancel anytime.

Free
$0/month
For testing and small projects
  • ✓ 100 PDFs / month
  • ✓ All 5 templates
  • ✓ API key access
  • ✓ Community support
  • — No watermark removal
Start Free
Business
$29/month
For high-volume production
  • ✓ Unlimited PDFs
  • ✓ All templates + early access
  • ✓ Dedicated support
  • ✓ Webhook notifications
  • ✓ Custom template requests

Ready to generate your first PDF?

No signup required. Try it right now in the playground.

Open Playground →