Generate PDFs from HTML content or URLs via headless Chrome
RESTful JSON API
Sub-200ms response times
Generous free tier (200 req/month)
Comprehensive documentation
Production-ready reliability
Native API key authentication
Easily integrate into your existing applications and workflows with our RESTful JSON API.
Automate repetitive tasks and streamline your development process with reliable API endpoints.
Process and transform data efficiently at scale with production-ready infrastructure.
Generate PDFs from HTML with the PDF Generator API and deliver them as email attachments via Truncus.
import VanMoose from '@vanmoose/sdk';
import { Truncus } from '@truncus/email';
const vm = new VanMoose('vm_live_...');
const truncus = new Truncus('tr_live_...');
async function sendInvoicePdf(html: string, to: string) {
// Step 1: Generate the PDF
const { pdfUrl } = await vm.pdfGenerate({ html, format: 'A4' });
// Step 2: Email the invoice
await truncus.send({
from: 'billing@yourdomain.com',
to,
subject: 'Your invoice is ready',
html: '<p>Your invoice is attached.</p>',
attachments: [{ filename: 'invoice.pdf', path: pdfUrl }],
});
}Start free with 10/month. Scale up as you grow.