Integrate secure document processing into your product with simple REST calls. Get your API key from the Developer dashboard.
Send your key in the X-Api-Key header. Free keys: 100 requests/day. Pro keys: 10,000/day. Files are processed securely and deleted automatically after download.
curl -X POST https://www.huntpdf.com/v1/merge \
-H "X-Api-Key: hp_live_..." \
-F "files=@one.pdf" -F "files=@two.pdf"
# → { "url": "/download/merged-....pdf", "name": "merged.pdf" }
| Endpoint | Does | Input |
|---|---|---|
POST /v1/merge | Merge PDFs into one | 2+ PDF files |
POST /v1/split | Split a PDF into pages/ranges | 1 PDF + ranges |
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? Upgrade to Pro for 10,000 requests/day and priority processing, or contact us for custom volume.