Integrate secure document processing into your product with simple REST calls. To get a free API key, email [email protected] or contact us. Base URL: https://api.huntpdf.com/v1
Send your key in the X-Api-Key header. Each key has a daily quota (free keys: 100 requests/day). Every response includes X-RateLimit-Remaining-Day. Files up to 260 MB. Files are processed securely and deleted automatically after download.
curl -X POST https://api.huntpdf.com/v1/merge \ -H "X-Api-Key: hp_live_..." \ -F "[email protected]" -F "[email protected]" # → { "url": "https://huntpdf.com/download/....-merged.pdf", "name": "merged.pdf" }
Download the file from url. Links are temporary: they expire after about an hour, or a few minutes after the first download.
| Endpoint | Does | Input |
|---|---|---|
POST /v1/merge | Merge PDFs into one | 2+ PDF files |
POST /v1/split | Split a PDF into pages/ranges | 1 PDF + mode=ranges & ranges=1-3,4-6 |
POST /v1/compress | Compress PDF size | 1 PDF |
POST /v1/word-to-pdf | Word → PDF | 1 docx |
POST /v1/pdf-to-word | PDF → Word | 1 PDF |
POST /v1/convert | General document conversion | 1 file + target |
POST /v1/ocr | Make scanned PDFs searchable | 1 PDF |
POST /v1/watermark | Add text/image watermark | 1 PDF + options |
POST /v1/rotate | Rotate pages | 1 PDF + angle |
401 { "error": "Invalid or revoked API key" }
429 { "error": "Daily quota exceeded", "quota": 100 }
400 { "error": "...validation message..." }
Quotas reset daily (UTC). Need more? Contact us for a higher daily quota.