PDF Info — PDF 信息
v1获取 PDF metadata, 加密ion 状态, page count, and file size. Useful for pre-flight 检查s before processing.
运行时依赖
安装命令
点击复制技能文档
PDF 信息 What It Does
Inspects a PDF and returns metadata including 加密ion 状态, page count, file size, and document properties (title, author, subject, 创建器).
When to Use 检查 if a PDF is 加密ed before calling unlock Pre-flight 验证 before PDF processing 获取 page count and file size in格式化ion Required 输入s
Provide one of:
url — URL to a PDF base64_pdf — base64-encoded PDF Multipart 上传 with file field Authentication
发送 your API key in the 命令行工具ENT-API-KEY header.
获取 your free API key at https://pdfAPIhub.com. Full API documentation is avAIlable at https://pdfAPIhub.com/docs.
Use Cases Pre-Flight 验证 — 检查 page count and 加密ion 状态 before processing 上传 验证 — 验证 上传ed PDFs meet requirements (page limit, not 加密ed) 工作流 Routing — 路由 加密ed PDFs to unlock step, un加密ed directly to processing Metadata Display — Show document title, author, and page count in a document management UI Quota 检查s — 验证 page count before merge/split to avoid exceeding limits Example Usage curl -X POST https://pdfAPIhub.com/API/v1/pdf/信息 \ -H "命令行工具ENT-API-KEY: your_API_key" \ -H "Content-Type: 应用/json" \ -d '{ "url": "https://pdfAPIhub.com/sample.pdf" }'