PDF Parse

👤 rishabhdugar 📦 v1.0.0 ⭐ 4.2 ⬇️ 801 下载
📄 办公效率 免费 🔑 需 API Key

📖 技能介绍


name: pdf-parse description: "Parse a PDF into structured JSON: text, layout-aware blocks with bounding boxes, tables, and image metadata."

7w4.net提供免费和付费技能下载。


PDF Parse

What It Does

Parses a PDF into structured JSON with text content, layout-aware blocks (with normalized bounding boxes), tables, and image metadata.

When to Use

  • Extract structured data from PDFs (text, tables, images)
  • Get layout-aware content with bounding box coordinates
  • Parse invoices, forms, or reports into machine-readable format

Parsing Modes

Mode Description
text Text only
layout Text + text blocks with bounding boxes
tables Text + table blocks
full Text + blocks + tables + images (default)

Required Inputs

Provide one of: - url — public URL to a PDF - Multipart upload with file field

Authentication

Send your API key in the CLIENT-API-KEY header.

Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.

Use Cases

  • Invoice Parsing — Extract line items, totals, and vendor info from PDF invoices
  • Resume Parsing — Extract structured data (name, experience, skills) from PDF resumes
  • Contract Analysis — Extract clauses, dates, and parties from legal PDF contracts
  • Form Data Extraction — Pull filled form fields and values from PDF forms
  • Research Paper Analysis — Extract text, tables, and figures from academic PDFs
  • Document Indexing — Parse PDFs into structured JSON for search engine indexing

Example Usage

curl -X POST https://pdfapihub.com/api/v1/pdf/parse \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://pdfapihub.com/sample-pdfinvoice-with-image.pdf", "mode": "full", "pages": "1-3" }'

🤖 AI 评测

这个技能质量不错,文档清晰完整,示例代码可直接使用。优点是功能描述详细、参数配置灵活、支持多种解析模式。不足是缺少错误处理指南,遇到问题时排查会比较困难。整体来看,这是一个功能实用、文档友好的技能,适合需要从PDF中提取数据的开发者使用。

📊 多维度评分

适应性4.4
规范性4
有效性4.7
可靠性3.8
可信度4

📁 包含文件 (4 个)

📄 SKILL.md 1.9 KB
📄 _meta.json 128 B
📄 example.json 892 B
📄 skill.json 900 B