five

PDF Compression API

收藏
RapidAPI2026-01-07 更新2026-01-08 收录
下载链接:
https://rapidapi.com/nidhibusinessinfotech/api/pdf-compression-api
下载链接
链接失效反馈
官方服务:
资源简介:
Compress your PDFs with a simple API call
创建时间:
2026-01-07
原始信息汇总

PDF Compression API 数据集概述

基本信息

  • 数据集名称: PDF Compression API
  • 类别: Business Software
  • 提供商: your-utility-apis
  • 订阅者数量: 3
  • 定价模式: Freemium
  • 版本: v1 (current)

定价方案

  • BASIC: $0.00 / 月
  • PRO: $24.99 / 月
  • ULTRA: $34.99 / 月

服务概述

  • 核心功能: 通过API调用压缩PDF文件。
  • 免费使用限制: 每分钟5个请求。
  • 文件安全: 后端在处理后立即删除接收到的文件,不存储任何形式的数据,确保用户数据安全。
  • 文件大小限制: PDF上传大小限制为10MB。
  • 文件名注意事项: 请避免在文件名中使用空格,否则可能导致下载问题(将在下一版本中从后端解决)。
  • API测试说明: 由于RapidAPI在请求中发送文件和接收文件存在限制,其提到的curl命令可能无法工作。请使用下方提到的API进行测试和集成。

端点详情

1. PDF Compression API (Low)

  • 方法: POST

  • 描述: 发送PDF文件进行压缩,返回低级别压缩文件。此级别对文本PDF更有效,对包含图像的PDF效果不佳。

  • cURL示例:

    curl -OJ --location https://pdf-compression-api.p.rapidapi.com/api/compress-pdf/low --header X-RapidAPI-Host: pdf-compression-api.p.rapidapi.com --header X-RapidAPI-Key: <API-key> --form file=@"<Absolute-Filepath>"

  • 错误响应:

    { "status": "error", "status_code": 500, "message": "Internal Server Error", "data": null }

2. PDF Compression API (Medium)

  • 方法: POST

  • 描述: 发送PDF文件进行压缩,返回中等级别压缩文件。此级别对包含图像的PDF更有效。

  • cURL示例:

    curl -OJ --location https://pdf-compression-api.p.rapidapi.com/api/compress-pdf/mid --header X-RapidAPI-Host: pdf-compression-api.p.rapidapi.com --header X-RapidAPI-Key: <API-key> --form file=@"<Absolute-Filepath>"

  • 错误响应:

    { "status": "error", "status_code": 500, "message": "Internal Server Error", "data": null }

3. PDF Compression API (High)

  • 方法: POST

  • 描述: 发送PDF文件进行压缩,返回高级别压缩文件。此级别对包含图像的PDF更有效。

  • cURL示例:

    curl -OJ --location https://pdf-compression-api.p.rapidapi.com/api/compress-pdf/high --header X-RapidAPI-Host: pdf-compression-api.p.rapidapi.com --header X-RapidAPI-Key: <API-key> --form file=@"<Absolute-Filepath>"

  • 错误响应:

    { "status": "error", "status_code": 500, "message": "Internal Server Error", "data": null }

搜集汇总
数据集介绍
main_image_url
背景与挑战
背景概述
该数据集提供了一个PDF压缩API,用户可通过简单的API调用来压缩PDF文件。
以上内容由遇见数据集搜集并总结生成
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作