BiGapiguides
POST /v1/pdf/attachments · 1 cent per operation

Extract PDF attachments

Pull embedded files out of a PDF: ZUGFeRD/Factur-X invoice XML, attached CSVs, images or sub-PDFs — as JSON (text inline, binary base64) or a ZIP. E-invoice attachments are flagged.

Try it

curl -X POST https://api.bigapi.dev/v1/pdf/attachments -H 'Authorization: Bearer $KEY' -F 'file=@invoice.pdf'

New keys come with 100 free operations, no signup: curl -X POST https://api.bigapi.dev/v1/keys. Failed calls cost nothing.

Parameters

NameMeaning
file requiredPDF with embedded files.
outputjson lists the embedded files and marks e-invoices (ZUGFeRD, Factur-X); zip returns the files themselves.
Allowed: json, zip
Default: "json"
nameReturn only the attachment with this file name.
Default: all attachments

Result and price

1¢ · 1 cent per operation

Returns application/json | application/zip. Response headers carry the cost (X-BigAPI-Cost) and notes about your input (X-BigAPI-Warnings).

From an agent (MCP)

Connect BiGapi as an MCP server: https://api.bigapi.dev/mcp (hosted) or npx -y @bigapi/mcp (local). Then ask in plain words; the agent finds pdf_attachments on its own.