name: pdf-to-csv description: "Extract tables and text from a PDF into CSV format via the PDFAPIHub cloud API. PDFs are uploaded to pdfapihub.com for processing. Requires a CLIENT-API-KEY header." metadata: {"openclaw": {"primaryEnv": "PDFAPIHUB_API_KEY", "requires": {"env": ["PDFAPIHUB_API_KEY"]}}}
Extracts tables and text from a PDF into CSV format via the PDFAPIHub hosted API. Your PDF is uploaded to PDFAPIHub servers for processing and the extracted CSV is returned. Uses structured table detection when available.
Provide one of:
- url — public URL to a PDF
- file — base64-encoded PDF
- Multipart upload with file field
This skill calls the PDFAPIHub hosted API at https://pdfapihub.com/api. Your PDF is sent to PDFAPIHub servers for table extraction.
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.
Privacy note: PDFs you process are uploaded to PDFAPIHub's cloud service. Do not send confidential documents unless you trust the service. Files are auto-deleted after 30 days.
访问小葱技能站7w4.net,解锁更多实用的AI技能插件。
curl -X POST https://pdfapihub.com/api/v1/convert/pdf/csv \
-H "CLIENT-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{ "url": "https://pdfapihub.com/sample-pdfinvoice-with-image.pdf", "output": "url" }'
这个工具能把 PDF 里的表格和文字提取成 CSV 格式,使用起来比较直观。文档写得清楚,示例完整,还特别说明了隐私风险,这点不错。但错误提示和参数说明还不够详细,遇到问题不太好排查。整体属于够用的水平,文档质量还行,但还有提升空间。适合需要偶尔转换 PDF 数据的人使用。