---
title: "Read PDF page count and metadata"
method: POST
path: "/api/v1/pdf-info"
tags: ["PDF Intelligence"]
---

# Read PDF page count and metadata

`POST /api/v1/pdf-info`

## Request

- Base URL: `https://exactpdf.com`
- URL: `https://exactpdf.com/api/v1/pdf-info`
- Auth: HTTP bearer

Upload one PDF and return page count plus common metadata fields. Free and useful before deciding whether to extract text or convert to Markdown.

## Response `200`

PDF metadata.

- object
  - `ok` true, required
  - `page_count` integer, required
  - `title` string, nullable
  - `author` string, nullable
  - `subject` string, nullable
  - `keywords` string, nullable
  - `producer` string, nullable
  - `creator` string, nullable
  - `credits_remaining` number, required

## Other responses

- `400`: Structured ExactPDF API error.
- `401`: Structured ExactPDF API error.
- `413`: Structured ExactPDF API error.

---

[API](https://skmtc.dev/exactpdf/apis/exactpdf-api.md) · [All operations](https://skmtc.dev/exactpdf/apis/exactpdf-api/llms.txt) · [OpenAPI document](https://skmtc.dev/exactpdf/apis/exactpdf-api/revisions/98874db17413?raw)
