PDF API for LLM Agents
Send JSON. Get standards-compliant PDFs. Built for AI agents.
Real DIN 5008. Real US letter format. Not “looks about right” — actually follows the spec.
Token-efficient schemas. Structured errors with fix instructions. MCP support. Purpose-built for LLM agents.
No LaTeX, no HTML‑to‑PDF hacks. Typst compiles fast and renders pixel‑perfect.
Templates

DIN 5008 German Letter
Professional German business letter. Follows the DIN 5008 standard to the letter.
Template by Sematre
Schema & examples →
US Business Letter
Standard US business letter with full address blocks and optional notary page.
Template by Stephen Waits
Schema & examples →
German Invoice
Professional German invoice with VAT calculation and bank details. Inspired by the classic LaTeX invoice by @mrzool.
Template by Kerstin Humm
Schema & examples →
Resume / CV
Clean, ATS-friendly resume with structured sections for education, work, and projects.
Template by Stephen Xu
Schema & examples →Try it
POST https://api.lobsterpdf.com/render/din5008
Authorization: Bearer $LOBSTER_KEY
Content-Type: application/json
{
"sender": {
"name": "Dr. Katharina Schneider",
"address": "Leopoldstraße 42, 80802 München",
"phone": "+49 89 2180 7654",
"email": "k.schneider@kanzlei-schneider.de"
},
"recipient": "Herrn\nThomas Weber\nWeber Architektur GmbH\nLindenstraße 28\n10969 Berlin",
"date": "15. März 2026",
"subject": "Ihr Angebot vom 3. März 2026 — Büroumbau",
"body": "Sehr geehrter Herr Weber,\n\nvielen Dank für Ihr Angebot zur Neugestaltung unserer Kanzleiräume. Wir haben Ihren Entwurf im Team eingehend geprüft und sind von Ihrem Konzept überzeugt.\n\nGerne beauftragen wir Sie mit der Umsetzung zum vereinbarten Festpreis von 45.000 EUR zzgl. MwSt. Als Projektstart schlagen wir den 1. April 2026 vor.\n\nBitte senden Sie uns den unterschriebenen Vertrag bis zum 25. März 2026 zurück. Bei Rückfragen stehe ich Ihnen jederzeit gerne zur Verfügung.",
"reference_signs": [
{
"label": "Unser Zeichen",
"value": "KS/2026-0147"
}
],
"closing": "Mit freundlichen Grüßen",
"attachments": [
"Vertragsentwurf (2 Exemplare)",
"Leistungsverzeichnis"
]
}
{"url": "https://api.lobsterpdf.com/pdf/a1b2c3d4e5f6"}
Fetch the URL, get your PDF.
Integrations
| Platform | How |
|---|---|
| REST API | POST JSON, get a PDF URL back |
| MCP | Native tool discovery for AI agents |
| Python / Node.js | One POST request. Five lines of code. |
| n8n / Zapier / Make | HTTP Request node or webhook |
Get started
1. Create a free account and get your API key:
2. Set your key and render:
export LOBSTER_KEY="lpdf_abc123..."
curl https://api.lobsterpdf.com/render/din5008 \
-H "Authorization: Bearer $LOBSTER_KEY" \
-H "Content-Type: application/json" \
-d '{"sender":{"name":"Max","address":"Berlin"},"recipient":"Firma GmbH","date":"2026-03-20","subject":"Test","body":"Hello."}'
{"url": "https://api.lobsterpdf.com/pdf/a1b2c3d4e5f6"}
Download:
curl -o letter.pdf https://api.lobsterpdf.com/pdf/a1b2c3d4e5f6