Guides / Extract

PDF info

POST /v1/pdf/info  · 

Reads a PDF's metadata without processing its content — page count, title, author, creator/producer, PDF version, page size, and whether the file is encrypted or contains a form. Useful as a cheap first check before running a more expensive operation on a file you haven't seen yet.

Parameters

NameTypeDescription
filefilePDF to inspect. Required.

Example request

curl -X POST https://api.bigapi.dev/v1/pdf/info \
  -H "Authorization: Bearer $KEY" \
  -F "file=@in.pdf"

Example response

{
  "pages": 12,
  "pdf_version": "1.7",
  "title": "Annual Report 2026",
  "author": null,
  "encrypted": false,
  "page_size": "595.32 x 841.92 pts (A4)",
  "file_size_bytes": 244019,
  "_meta": { "op": "pdf.info", "durationMs": 19.1 }
}

Related guides