API Documentation
Comprehensive REST API for PDF processing, AI analysis, and automation
Get API Access
Register for an account and obtain your JWT token for authentication.
Make API Calls
Use your token to authenticate requests to any endpoint.
Process Files
Upload files, track processing status, and download results.
Rate Limiting
All API endpoints are rate-limited per account tier. Limits reset on a rolling window.
| Tier | API calls / hour | Operations / day | Max file size |
|---|---|---|---|
| Free | 50 | 10 | 10 MB |
| Paid | 1,000 | 500 | 50 MB |
When a limit is exceeded the API responds with HTTP 429. The following headers are included on all /api/* responses:
| Header | Description |
|---|---|
| X-RateLimit-Limit | Maximum requests allowed in the current window |
| X-RateLimit-Remaining | Requests remaining in the current window |
| Retry-After | Seconds to wait before retrying (only on 429 responses) |
Authentication
All API endpoints require JWT authentication. Include your token in the Authorization header:
PDF Operations
All PDF operations accept multipart/form-data with a file field unless otherwise noted. Operations that complete synchronously return the result directly; long-running operations return an operation_id for polling.
Format Conversions
Document Manipulation
Security & Redaction
Metadata & Inspection
OCR & AI-Powered Operations
These endpoints use AI and consume additional credits. Credit costs are listed per operation at base file size; larger files may cost more.
Status & Download
Chat with PDF
Upload a PDF to start a conversation. Each session costs 5 credits to start. Follow-up messages within the same session are free.
User Management
MCP — Model Context Protocol
The MCP server lets AI agents (Claude, Windsurf, Cursor, etc.) call PDF Platform tools directly via the MCP SSE transport. Authenticate with an MCP API key as a Bearer token.
Credit Costs Reference
Base costs for a file under 5 MB. Larger files scale proportionally.
| Operation | Endpoint | Base Credits |
|---|---|---|
| PDF → Word | /api/pdf/convert/pdf-to-word | 2 |
| PDF → Excel | /api/pdf/convert/pdf-to-excel | 3 |
| PDF → PowerPoint | /api/pdf/convert/pdf-to-powerpoint | 3 |
| PDF → Images | /api/pdf/convert/pdf-to-images | 2 |
| Images → PDF | /api/pdf/convert/images-to-pdf | 1 |
| PDF → Text | /api/pdf/convert/pdf-to-text | 1 |
| PDF → CSV | /api/pdf/convert/pdf-to-csv | 2 |
| PDF → JSON | /api/pdf/extract/pdf-to-json | 3 |
| PDF → HTML | /api/pdf/convert/pdf-to-html | 2 |
| PDF → PDF/A | /api/pdf/convert/pdf-to-pdfa | 3 |
| Email → PDF | /api/pdf/convert/email-to-pdf | 2 |
| HTML / URL → PDF | /api/pdf/html-to-pdf | 3 |
| Markdown → PDF | /api/pdf/markdown-to-pdf | 2 |
| Merge PDFs | /api/pdf/merge | 1 |
| Split PDF | /api/pdf/split | 1 |
| Compress PDF | /api/pdf/compress | 2 |
| OCR (image PDF → text) | /api/pdf/ocr | 3 |
| Summarize PDF (AI) | /api/pdf/summarize | 5 |
| Extract Data (AI) | /api/pdf/extract-data | 8 |
| Fill Form | /api/pdf/fill-form | 3 |
| Read Barcodes / QR | /api/pdf/read-barcodes | 2 |
| Start Chat Session (AI) | /api/chat/start | 5 |
| Watermark | /api/pdf/watermark | 2 |
| Redact | /api/pdf/redact | 2 |
| Sign / Stamp | /api/pdf/sign-stamp | 2 |
| Repair PDF | /api/pdf/repair | 2 |
| Crop PDF | /api/pdf/crop | 2 |
| Annotate PDF | /api/pdf/annotate | 2 |
| Grayscale PDF | /api/pdf/grayscale | 2 |
| Resize PDF | /api/pdf/resize | 2 |
| Add Hyperlinks | /api/pdf/hyperlinks | 2 |
| Accessibility Check | /api/pdf/accessibility-check | 2 |
| Delete Pages | /api/pdf/delete-pages | 1 |
| Add Bookmarks/TOC | /api/pdf/add-bookmarks | 2 |
| Compare PDFs | /api/pdf/compare | 3 |
| PDF to Markdown | /api/pdf/to-markdown | 2 |
| Batch Process | /api/pdf/batch | per-op |
| PDF to SVG | /api/pdf/to-svg | 2 |
| Add Headers & Footers | /api/pdf/headers-footers | 2 |
| PDF to EPUB | /api/pdf/to-epub | 3 |
| PDF from Template | /api/pdf/from-template | 3 |
| Translate PDF (AI) | /api/pdf/translate | 5 |
| Others (metadata, flatten, etc.) | various | 1 |
Example Usage
1. Register and Login
2. Convert PDF to Word
3. Convert HTML to PDF
4. AI Summarize a PDF
5. Chat with a PDF
6. Check Processing Status
7. Download Result
8. Buy Credits (Checkout)
9. MCP — Connect an AI Agent
Interactive Documentation — explore schemas, test endpoints, and see live responses.
Open Scalar Docs →