PDF Generation API
## Overview This API converts HTML markup or publicly accessible web pages into high-quality PDF files. Send raw HTML as a string or specify a URL; customize page size (e.g., A4, Letter), orientation (portrait or landscape), and margin settings. The API returns a PDF document as binary data or base64. ## Endpoints ### generatePDF (POST `/generate-pdf`) - **Body Parameters** (JSON): - `html`…
PDF Generation API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
generatePDF /generate-pdf |
1. Converts HTML or a public URL into a PDF. Accept either a raw HTML string or a URL to fetch. Supports optional parameters: pageSize (e.g., A4, Letter), orientation (portrait… |
| POST |
generatePDF /generate-pdf |
Converts HTML markup or a publicly accessible URL into a PDF document. Accepts JSON body parameters: `html` (string) or `url` (string) to specify the source. Optional parameters:… |
PDF Generation API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $8 / month | — |
|
| ULTRA | $20 / month | — |
|
| MEGA | $120 / month | — |
|