Get PDF Document Info
PDF - Get Document Info
Section titled “PDF - Get Document Info”This operation collects and returns detailed information about the supplied PDF document, including metadata and physical properties.
Endpoint
Section titled “Endpoint”POST /api/v1/Pdf/GetPdfDocumentInfoRequest Parameters
Section titled “Request Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Filename | string | Yes | - | Filename of the source PDF file |
| FileContent | string | Yes | - | Base64-encoded PDF content |
Response
Section titled “Response”| Name | Type | Description |
|---|---|---|
| numberOfPages | integer | Number of pages in the PDF |
| fileSize | string | Size of the PDF in MB |
| author | string | Author metadata |
| creator | string | Creator metadata |
| producer | string | Producer metadata |
| title | string | Title metadata |
| subject | string | Subject metadata |
| keywords | string | Keywords metadata |
| width | number | Width of the PDF in points |
| height | number | Height of the PDF in points |
| orientation | string | PDF orientation (“Portrait” or “Landscape”) |
| createdDate | DateTime | Creation date |
| modifiedDate | DateTime | Last modified date |
| pdfFormat | string | PDF format version |
| isEncrypted | boolean | Whether the PDF is encrypted |
| hasTextLayer | boolean | Whether the PDF has a text layer |
Implementation Details
Section titled “Implementation Details”The operation examines the PDF document structure and retrieves both document metadata (like author, title) and physical properties (like dimensions, page count).
Usage Notes
Section titled “Usage Notes”- 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