PDF Toolkit API

Tools

PDF processing: merge, split, compress, rotate, watermark, extract text, protect, page numbers. Free tier with 100 requests per day — no credit card required.

12
Endpoints
100
Free Req/Day
0
Cost to Start
<200ms
Avg Latency
Get Free API Key Interactive Docs

Code Examples

cURL

curl -s -X POST "https://api.commandsector.in/api/pdf/compress?api_key=demo-try-free-2026" -H "Content-Type: application/json"

Python

import requests
with open("input.pdf", "rb") as f:
    resp = requests.post("https://api.commandsector.in/api/pdf/compress",
        files={"file": f}, params={"api_key": "YOUR_KEY"})
with open("compressed.pdf", "wb") as f:
    f.write(resp.content)

JavaScript

const resp = await fetch("https://api.commandsector.in/api/pdf/health");
const data = await resp.json();
console.log(data);

Use Cases

Document managementreport generationfile optimizationwatermarkingarchival

Getting Started

  1. Get your free API key at /signup (instant, no credit card)
  2. Pass it as X-API-Key header or ?api_key=YOUR_KEY query parameter
  3. Make requests to /api/pdf/ endpoints
  4. Check interactive Swagger docs for all 12 endpoints

Pricing

Free100 req/day$0/mo
Pro10,000 req/day$9.99/mo
EnterpriseUnlimited$49.99/mo

Frequently Asked Questions

What PDF operations are supported?
Merge, split, compress, rotate, watermark, extract text, password protect, and add page numbers.
Is there a file size limit?
Free tier supports PDF files up to 10MB. Pro tier supports up to 100MB.
Can I merge multiple PDFs?
Yes. Upload multiple files and they will be combined into a single PDF.

OpenAPI Specification

Machine-readable spec: /api/pdf/openapi.json

Also available on: API Catalog · MCP Server · All Specs

Get Free API Key →