Getting Started
The PDF Pro API provides programmatic access to all PDF processing features. Get started in minutes with our simple REST API.
Base URL
https://api.pdfpro.com/v1
Quick Example
const response = await fetch('https://api.pdfpro.com/v1/merge', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
files: ['file1.pdf', 'file2.pdf']
})
});
Authentication
All API requests require authentication using API keys passed in the Authorization header.
Authentication Header
Authorization: Bearer YOUR_API_KEY
Note: Replace YOUR_API_KEY with your actual API key from the dashboard.
API Endpoints
Explore our comprehensive API endpoints for PDF processing.
Merge PDF Files
Combine multiple PDF files into a single document.
Request Parameters
| Parameter |
Type |
Required |
Description |
files |
Array |
Yes |
Array of PDF file URLs or base64 encoded strings |
output_name |
String |
No |
Custom output filename |
Response Example
Success Response
{
"success": true,
"data": {
"url": "https://api.pdfpro.com/download/merged.pdf",
"size": "2.5 MB",
"pages": 45
}
}
Split PDF Document
Split a PDF file into multiple documents by page ranges.
Request Parameters
| Parameter |
Type |
Required |
Description |
file |
String |
Yes |
PDF file URL or base64 string |
ranges |
Array |
Yes |
Page ranges like ["1-3", "4-5"] |
Compress PDF
Reduce PDF file size while maintaining quality.
Request Parameters
| Parameter |
Type |
Required |
Description |
file |
String |
Yes |
PDF file URL or base64 string |
quality |
String |
Yes |
Compression level: low, medium, high |
Ready to Integrate?
Start using our API to add PDF processing capabilities to your applications.