Skip to content

tool: compare-pdf

Compare two PDFs API

Compare two PDFs and list what changed.

Example

API=https://api.pdftrusted.com
ID=$(curl -sS -X POST $API/v1/tasks -H "X-API-Key: $KEY" \
  -H "Content-Type: application/json" -d '{"tool":"compare-pdf"}' | jq -r .task_id)
curl -sS -X PUT $API/v1/tasks/$ID/upload -H "X-API-Key: $KEY" -F files=@a.pdf -F files=@b.pdf
curl -sS -X POST $API/v1/tasks/$ID/process -H "X-API-Key: $KEY"
curl -sS -L "$API/v1/tasks/$ID/download?redirect=1" -H "X-API-Key: $KEY" -o out

Send several files as repeated files fields; they're processed in the order you send them. Options for this tool: GET /v1/tools/compare-pdf.

Limits

FreePaid plans
File size25 MB200 MB
Pages1,0001,000
Files per task20100

Ship your PDF feature today

Free key in under a minute. 50 jobs a month on every tool, no card.