360 Secure SkillHub
360 安全技能中心

PDF Parse

该 Skill 借助外部 PDF 解析服务把 PDF 转为结构化 JSON:支持 text、layout、tables、full 四种解析模式,可输出文本、带归一化边界框的版面块、表格与图片元数据。输入为公网 PDF 链接或文件上传,需在请求头提供 API 密钥。适用于发票、简历、合同、表单、论文等文档的信息抽取。

rishabhdugar
rishabhdugar
热度 56.96
最近更新 2026-05-11 17:44:07
分类:效率依赖:第三方 API应用场景:文件转换 / 数据处理 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pdf-parse
Metadata
name
pdf-parse
description
Parse a PDF into structured JSON: text, layout-aware blocks with bounding boxes, tables, and image metadata.

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" }'