Document Processing API · v1

HuntPDF Developer API

Integrate secure document processing into your product with simple REST calls. Get your API key from the Developer dashboard.

Authentication

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.

Quick start — merge two PDFs

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" }

Functions

EndpointDoesInput
POST /v1/mergeMerge PDFs into one2+ PDF files
POST /v1/splitSplit a PDF into pages/ranges1 PDF + ranges
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? Upgrade to Pro for 10,000 requests/day and priority processing, or contact us for custom volume.

HuntPDF — Secure Document Processing · Privacy · Terms