---
title: "Get Page Count"
method: POST
path: "/api/v1/pdf/page-count"
tags: ["PDF Processing"]
---

# Get Page Count

`POST /api/v1/pdf/page-count`

## Request

- Base URL: `https://api.allpdfmagic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.allpdfmagic.com/api/v1/pdf/page-count`
- Auth: HTTP bearer

Get the number of pages in a PDF.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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