Compress PDF API

Same PDF.Smaller file.

One request. The answer is the compressed PDF.

big.pdfPOST /v1/pdf/compresssmall.pdf

USD 0.01

per file

Up to 50 pages

1 request

per file

The answer is the PDF

50 pages

one price

Then the same again per block

Price

82% cheaper*

vs pdfRest · 96% cheaper vs PDF.co

1,000 compress jobs a month (10 pages)

  • PDFluentUSD 10
  • pdfRest CloudUSD 55.99
  • PDF.coUSD 270
Code

One request.

curl -sS -f -X POST "$PDFLUENT_API_URL/v1/pdf/compress" \
-H "x-api-key: $PDFLUENT_API_KEY" \
-F file=@big.pdf \
-o small.pdf
Questions

Questions

How do I compress a PDF with the API?+
Send the file in one POST request to the compress endpoint. The response is the compressed PDF.
Is the compressed file still a normal PDF?+
Yes. You get a PDF back, not an archive or a proprietary format.
Does compression change the text?+
Compression targets file size. Check the result against your own documents before you rely on it in a pipeline.

* How we counted

  • List prices from each vendor’s site, read 27 November 2026.
  • The cheapest plan that covers 1,000 jobs a month.
  • One job: compress, 10 pages.