Document Processing API · v1

HuntPDF Developer API

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

Authentication

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.

Quick start — merge two PDFs

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.

Functions

EndpointDoesInput
POST /v1/mergeMerge PDFs into one2+ PDF files
POST /v1/splitSplit a PDF into pages/ranges1 PDF + mode=ranges & ranges=1-3,4-6
POST /v1/compressCompress PDF size1 PDF
POST /v1/word-to-pdfWord → PDF1 docx
POST /v1/pdf-to-wordPDF → Word1 PDF
POST /v1/convertGeneral document conversion1 file + target
POST /v1/ocrMake scanned PDFs searchable1 PDF
POST /v1/watermarkAdd text/image watermark1 PDF + options
POST /v1/rotateRotate pages1 PDF + angle

Errors

401 { "error": "Invalid or revoked API key" }
429 { "error": "Daily quota exceeded", "quota": 100 }
400 { "error": "...validation message..." }

Limits & plans

Quotas reset daily (UTC). Need more? Contact us for a higher daily quota.

HuntPDF — Secure Document Processing · Privacy · Terms