Home / APIs / PDF Toolkit

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

MethodPathDescription
POST/pdf/mergeCombine multiple PDFs into one
POST/pdf/splitExtract pages or page ranges
POST/pdf/infoPage count, dimensions, and metadata
POST/pdf/watermarkStamp diagonal text across every page
POST/pdf/rotateRotate pages 90 / 180 / 270 degrees

Quick start

cURL (via RapidAPI)
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" }'
JavaScript (fetch)
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();
Example response
{
  "pages": 12,
  "title": "Q3 Report",
  "author": "Acme Inc",
  "encrypted": false,
  "bytes": 284913
}

Pricing

Subscribe on RapidAPI. Start free; upgrade as you scale.

Basic
Free
1,000 requests / mo
Pro
$5 / mo
100,000 requests / mo
Ultra
$20 / mo
1,000,000 requests / mo
Mega
$50 / mo
2,000,000 requests / mo

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 ↗