PDF Toolkit API
Merge, split, watermark, rotate, and inspect PDFs from base64 or a URL — no bloat.
Get it on RapidAPI ↗PDF Toolkit is a fast, stateless API for everyday PDF operations. Send a document as base64 or a URL and merge, split, watermark, rotate, or inspect it — every response comes back as JSON with the resulting PDF as base64.
It's built for developers who find DocRaptor or PDFShift too heavy or expensive. No SDK, no accounts, no file storage: documents are processed in memory and never retained.
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /pdf/merge | Combine multiple PDFs into one |
| POST | /pdf/split | Extract pages or page ranges |
| POST | /pdf/info | Page count, dimensions, and metadata |
| POST | /pdf/watermark | Stamp diagonal text across every page |
| POST | /pdf/rotate | Rotate pages 90 / 180 / 270 degrees |
Quick start
curl --request POST \
--url 'https://pdf-toolkit2.p.rapidapi.com/info' \
--header 'X-RapidAPI-Key: YOUR_KEY' \
--header 'X-RapidAPI-Host: pdf-toolkit2.p.rapidapi.com' \
--header 'content-type: application/json' \
--data '{ "url": "https://example.com/file.pdf" }'const res = await fetch('https://pdf-toolkit2.p.rapidapi.com/info', {
method: 'POST',
headers: {
'X-RapidAPI-Key': 'YOUR_KEY',
'X-RapidAPI-Host': 'pdf-toolkit2.p.rapidapi.com',
'content-type': 'application/json'
},
body: JSON.stringify({ "url": "https://example.com/file.pdf" })
});
const data = await res.json();{
"pages": 12,
"title": "Q3 Report",
"author": "Acme Inc",
"encrypted": false,
"bytes": 284913
}Pricing
Subscribe on RapidAPI. Start free; upgrade as you scale.
Frequently asked questions
How do I send a PDF to the API?
Provide it as either a base64 string or a public URL. The API loads it, validates the %PDF header, and processes it in memory.
Are my documents stored?
No. PDF Toolkit is stateless — files are processed in memory for the duration of the request and never written to disk or retained.
What's the maximum file size?
Inputs are capped (10 MB by default) to keep responses fast and predictable.
Ready to build with PDF Toolkit?
Grab your key on RapidAPI and start on the free tier.
Get it on RapidAPI ↗