Compress PDF

Reduce the PDF file size with high quality. This feature allow you to make your large PDFs smaller so they’re easier to share.

Header Parameters

Accept-EncodingString

gzip, deflate, br (OPTIONAL)

Content-TypeString

multipart/form-data; boundary= (calculated when request is sent)

(OPTIONAL)

X-RapidAPI-KeyString, Required

Provide your RapidAPI-Key

X-RapidAPI-HostString, Required

pdf4me.p.rapidapi.com

Optional Parameters

ProfileENUM
  • Maximum Compression, small size, short download, fast display.
  • For Web, small size, short download, fast display.
  • For Print, correct fonts, right color scheme, suitable resolution. Compression suitable while printing documents. minor loss in image dpi

Request Body

FileBINARY, Required

Input PDF file to compress

Response

FileBINARY

The compressed PDF file

File NameString

File name of the compressed PDF document