Skip to content

Get PDF Document Info

This operation collects and returns detailed information about the supplied PDF document, including metadata and physical properties.

POST /api/v1/Pdf/GetPdfDocumentInfo
NameTypeRequiredDefaultDescription
FilenamestringYes-Filename of the source PDF file
FileContentstringYes-Base64-encoded PDF content
NameTypeDescription
numberOfPagesintegerNumber of pages in the PDF
fileSizestringSize of the PDF in MB
authorstringAuthor metadata
creatorstringCreator metadata
producerstringProducer metadata
titlestringTitle metadata
subjectstringSubject metadata
keywordsstringKeywords metadata
widthnumberWidth of the PDF in points
heightnumberHeight of the PDF in points
orientationstringPDF orientation (“Portrait” or “Landscape”)
createdDateDateTimeCreation date
modifiedDateDateTimeLast modified date
pdfFormatstringPDF format version
isEncryptedbooleanWhether the PDF is encrypted
hasTextLayerbooleanWhether the PDF has a text layer

The operation examines the PDF document structure and retrieves both document metadata (like author, title) and physical properties (like dimensions, page count).

  • All metadata fields may be empty if they were not set in the original document
  • Dates are returned in ISO format
  • The hasTextLayer property is useful for determining if text extraction is possible

Credit Cost

Cost: 1 credit(s) per document

Note: Fixed cost per document regardless of size