API Documentation

Integrate PDF processing into your applications with our powerful REST API

REST API
Secure
Unlimited Requests

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

Base URL
https://api.pdfpro.com/v1

Quick Example

JavaScript
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

Header Format
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.

POST
/v1/merge

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
    }
}
POST
/v1/split

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"]
POST
/v1/compress

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

API Features

Fast Processing

Process large PDFs in seconds with optimized infrastructure

Secure & Private

End-to-end encryption and automatic file deletion

No Limits

Unlimited API requests with generous rate limits

SDK Support

Official SDKs for JavaScript, Python, PHP, and more

Ready to Integrate?

Start using our API to add PDF processing capabilities to your applications.