Developer-First API

HTML to PDF & Screenshot API Integration

Integrate PDF generation and screenshot capture into your application with our RESTful API. Support for all major programming languages with comprehensive SDK libraries.

luminapdf-api.js
curl -X POST "https://api.luminapdf.xyz/api/v1/generate/pdf" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "source": "https://en.wikipedia.org/wiki/PDF",
  "format": "A4"
}'

Multi-Language SDKs

Official client libraries for JavaScript, Python, Ruby, PHP, Go, and more. Get started in minutes with your preferred language.

Complete Documentation

Comprehensive API reference with interactive examples, authentication guides, and troubleshooting for all endpoints.

Live API Playground

Test PDF generation and screenshot capture directly in our browser-based playground before implementing in production.

Interactive Demo

Try it yourself

Experiment with our API directly in your browser. Generate PDFs and screenshots instantly to see the quality and performance firsthand.

Try It Yourself

Playground

API Features

Complete PDF & Screenshot API Solution

Enterprise-grade PDF generation and screenshot capture API designed for developers. Convert HTML to PDF, capture web screenshots, and integrate document generation into any application.

Core Feature

HTML to PDF Conversion

Convert any HTML content, web pages, or documents into pixel-perfect PDFs with precise formatting, custom headers/footers, and advanced pagination control.

Popular

Web Screenshot Capture

Generate high-resolution screenshots of websites and web pages with customizable viewports, device emulation, and wait conditions for dynamic content.

High-Performance API

Process thousands of PDF generations and screenshot captures in parallel with our distributed cloud infrastructure, delivering sub-second response times.

Secure Cloud Storage

Access generated PDFs and screenshots instantly with secure cloud storage, automatic file management, and configurable retention policies.

Enterprise Security & Compliance

Bank-grade encryption, GDPR compliance, SOC 2 certification, and data privacy protection for secure document processing in enterprise environments.

Developer Experience

Intuitive REST API with comprehensive documentation, SDK libraries for all major programming languages, and responsive developer support.

API Use Cases & Applications

Discover how developers integrate LuminaPDF's API for PDF generation and screenshot capture across different applications and workflows.

Automated Report Generation

Convert HTML reports and dashboards to PDF automatically. Perfect for financial reports, analytics summaries, and business intelligence documents.

Invoice & Receipt Generation

Generate professional PDF invoices, receipts, and billing documents from HTML templates. Ideal for SaaS billing systems and e-commerce platforms.

Website Screenshot API

Capture website screenshots for social media previews, monitoring tools, and portfolio showcases. High-resolution images with custom viewports.

Contract & Proposal PDFs

Generate dynamic contracts, proposals, and legal documents from templates. Populate with client data and convert to secure PDFs.

Document Archival & Export

Archive web content and documents as PDFs for compliance, backup, and long-term storage. Ideal for legal and regulatory requirements.

Documentation & Collaboration

Generate shareable PDF documentation, user manuals, and onboarding materials from markdown or HTML content.

API Pricing

Affordable PDF & Screenshot API Pricing

Pay-as-you-go pricing for PDF generation and screenshot capture. Start free with 100 monthly generations, then scale with transparent per-use pricing. No hidden fees or monthly commitments.

Free

$0

Perfect for prototyping and small projects

  • 100 generations free every month
  • Auto-renewing quota
  • Max file size: 2MB
  • Timeout: 30 seconds
  • Community support
Start for Free
Popular

Pay As You Go

From $0.003

For production applications and businesses

  • 100 free generations included monthly
  • $0.005 per PDF generation
  • $0.003 per screenshot
  • Unlimited file size
  • Timeout: up to 15 minutes
  • No monthly commitment
  • Full API access
  • Priority community support
Choose Plan

Pricing Calculator

Estimate your monthly costs with our transparent pricing

PDF Generations

$0.005 per generation after free tier

Monthly volume:
PDFs
100 free + 400 paid $2.00

Screenshots

$0.003 per generation after free tier

Monthly volume:
Screenshots
100 free + 400 paid $1.00
Estimated Monthly Cost
$3.00 /month

Includes your first 100 generations free each month

No monthly commitment • Pay only for what you use

All prices are in USD. Need a custom plan for high volume? Contact our sales team

Developer FAQ

PDF & Screenshot API Questions

Common questions about integrating LuminaPDF's API for PDF generation and screenshot capture in your applications.

LuminaPDF offers transparent pay-as-you-go pricing. You get 100 free PDF generations and screenshots every month. After that, it's just $0.008 per PDF and $0.005 per screenshot, with no monthly commitment, setup fees, or hidden charges.

Our REST API works with any programming language that can make HTTP requests. We provide official SDK libraries for JavaScript/Node.js, Python, Ruby, PHP, Go, and Java. You can also use tools like curl, Postman, or any HTTP client library.

No credit card required to get started! Create a free account and receive 100 monthly generations (PDFs or screenshots) that automatically renew each month. We only require payment information when you exceed the free tier limits.

Our globally distributed infrastructure delivers excellent performance: PDF generation typically completes in under 2 seconds, and screenshot capture in under 1 second. Performance scales consistently even at high volume with 99.99% uptime SLA.

LuminaPDF supports modern HTML5 and CSS3, including Flexbox, Grid, custom fonts, images, SVGs, and JavaScript-rendered content. You can customize page size, orientation, margins, headers, footers, watermarks, and apply print-specific CSS styles.

Free tier accounts have a rate limit of 10 requests per minute. Paid accounts have higher limits based on usage patterns. For enterprise volumes or specific rate limit requirements, contact our team for custom solutions and dedicated infrastructure.

API authentication uses API keys passed in the Authorization header or as a query parameter. Each project gets unique API keys that you can regenerate anytime from your dashboard. We also support webhook signatures for secure callback verification.

All users get access to comprehensive documentation, code examples, and community support. Paid accounts receive email support with 24-hour response times. Enterprise customers get priority support with 4-hour response guarantees and dedicated technical contacts.

Still have questions? Contact our support team

Start creating perfect documents in minutes

Join thousands of developers who trust LuminaPDF for their document generation needs. Get up and running in less than five minutes.

  • 50 free PDF generations
  • Developer-friendly API
  • No credit card required