Get PDF Metadata
PDF → Get PDF Metadata
The Get PDF Metadata API extracts metadata from a PDF. You send the PDF as Base64 (docContent), docName, and optionally async. The API returns JSON with document properties (title, author, subject, keywords, creation/modification dates, PDF version, page count, and more). Use the tester below to try it; more details are in the sections that follow.
Try the Get PDF Metadata API
Endpoint: POST /api/v2/GetPdfMetadata · Required: api-key, docContent, docName
Use the form below to send your API key and PDF (Base64). The response is JSON with metadata (title, author, dates, page count, etc.). No code required—fill the fields and click Send request.
Overview, parameters, and use cases
- Overview
- Parameters
- Use cases
What is Get PDF Metadata?
This endpoint extracts metadata from a PDF. You provide the PDF (Base64) and output name; the API returns JSON with document properties: title, author, subject, keywords, creation and modification dates, PDF version, page count, and other document properties. Use it for indexing, search, or compliance.
Key features
- Comprehensive metadata – Title, author, subject, keywords, creation/modification dates, PDF version, page count.
- JSON response – Structured metadata ready for search or workflows.
- Async – Use async for large PDFs.
Use when you need document properties for search, indexing, or compliance. For repairing damaged PDFs use Repair PDF Document.
When to use Get PDF Metadata
- Search and indexing – Extract title, author, keywords for search or catalog.
- Compliance – Read creation/modification dates and document properties.
- Workflows – Use metadata to route or classify documents.
For request/response schemas and code samples, see Get PDF Metadata in the PDF4me API docs.
Prerequisites
Before using this endpoint, make sure you have:
- A valid PDF4me API key (Get your API Key)
- A PDF file in Base64 format
Response Format
The API returns JSON with metadata: document title, author, subject, keywords, creation and modification dates, PDF version, page count, and other document properties.