Skip to content
Browse all functions

Get PDF Info – Page Count and Metadata

files/getpdfinfo

getpdfinfo (Get PDF Info – Page Count and Metadata) is a 1001fx API function in the group Files & PDF: POST https://api.1001fx.com/files/getpdfinfo, 1 credit per call. It works as a ready-made module in Make or as a plain HTTP call.

1 credit per callHTTP APIMake

Returns the number of pages, the size and rotation of every page and the metadata (title, author, subject, keywords, creator, producer, dates) of a PDF, and whether it is encrypted.

Endpoint

POSThttps://api.1001fx.com/files/getpdfinfo
Header
X-API-KEY: YOURSECRETAPIKEY How to
Content type
multipart/form-data

Parameters

  • filefileoptional

    The PDF. Either file or fileUrl.

  • fileUrlstringoptional

    Public URL of the PDF. Either file or fileUrl.

    Example:
    https://api.1001fx.com/testdata/3pages.pdf

Examples

Get PDF Info – Page Count and Metadata

Get PDF Info – Page Count and Metadata

Input

Expects multipart/form-data or a json body
{
  "fileUrl": "https://api.1001fx.com/testdata/3pages.pdf"
}

Output · HTTP 200

Response
{
  "statusCode": 200
}
Show curl command
curl -X POST 'https://api.1001fx.com/files/getpdfinfo' \
  -H 'X-API-KEY: YOURSECRETAPIKEY'

Try getpdfinfo now

Run it in your browser or create a free account and get 100 credits every month.

Changelog

  • 1.0.001.11.2026created