PDF Metadata Reader
Reads a PDF's document information dictionary and returns its metadata along with page count and encryption status. Only the metadata is parsed - page content is never rendered - so this stays cheap regardless of how large the document is.
Parses only the PDF's header and information dictionary rather than rendering pages, but the file still has to be uploaded and read, which is why it sits above the one-credit floor.
Any HTTP client works. Replace the key with one from your dashboard.
curl -X POST https://toolkitbackend-j69m.onrender.com/api/v1/tools/pdf-metadata \
-H "Authorization: Bearer tb_live_<your_api_key>" \
-H "Content-Type: application/json" \
-d '{
"fileUrl": "https://example.com/doc.pdf"
}'Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
fileUrl | string | required | - | Publicly reachable URL of the PDF to inspect. |
Output
| Field | Type | Description |
|---|---|---|
title | string | Document title, or null when unset. |
author | string | Document author, or null when unset. |
subject | string | Document subject, or null when unset. |
producer | string | Software that produced the file. |
pageCount | integer | Number of pages. |
encrypted | boolean | True when the document is password protected. |
Try it
Sends a real POST /api/v1/tools/pdf-metadata from your browser and charges 2 credits to your account.
Sign in to run this endpoint. New accounts start with free credits.