The PDF Info Reader Web API can extract basic information about your PDF file. It returns information such as document title, author, keywords, page dimension, security information, and more.

Our PDF Info Reader Web API is secure. We do not use 3rd party API to process your documents. To learn more about PDF.co Security, please check out our Security page here.

SIGN UP FOR FREE

Benefits of Using Our PDF Info Reader Web API

Read Data

The PDF Info Reader Web API can read data information from PDF such as pages, coordinates, sizes, measurements, and many more.

Read Protected Files

The Web API can read PDF information from protected files. It supports documents that require HTTP username and password authentication.

Enterprise Solutions

For enterprise customers, there is a Dedicated API Server that runs as a dedicated private server with dedicated private cloud storage in the hosting region of your choice.

SIGN UP FOR FREE

PDF Info Reader Web API Integrations

PDF.co has over 300+ app integration. Kindly explore our following plugins:

PDF Info Reader Web API Sample and Demo

In this demonstration, we will get the PDF Information from a sample PDF document using the /v1/pdf/info endpoint. It will return data such as document author, title, creation date, and more. Below is the sample PDF document and the PDF information output in JSON format.

Sample PDF With Information Values
Sample PDF With Information Values

Let’s go over the /v1/pdf/info endpoint’s parameters and their corresponding functions.

Endpoint

URL: https://api.pdf.co/v1/pdf/info
Method: POST
Parameter Description
url required. URL to the source file. Supports links from Google DriveDropbox and from built-in PDF.co files storage. For uploading files via API please check Files Upload section. If you are randomly getting Too Many Requests or Access Denied error for your input url, please try to add cache: to enable built-in url caching.
httpusername opti0nal. http auth user name if required to access source url.
httppassword optional. http auth password if required to access source url.
profiles optional. Must be a String. You can set additional and extra options using this parameter that allows you to set custom configuration. See profiles samples for examples.

cURL Code Snippet

curl --location --request POST 'https://api.pdf.co/v1/pdf/info' \
--header 'x-api-key: your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{
    "url": "https://bytescout-com.s3-us-west-2.amazonaws.com/files/demo-files/cloud-api/pdf-info/sample.pdf"
}'

The PDF Info Reader Web API cURL sample code is available here.

Let’s see the PDF Info Reader Web API in action using our cURL sample code.

PDF Info Reader Web API Demo
PDF Info Reader Web API Demo

The PDF Info Reader Web API JavaScript sample code is available here.

The PDF Info Reader Web API Python sample code is available here.

The PDF Info Reader Web API Java sample code is available here.

The PDF Info Reader Web API C# sample code is available here.

SIGN UP FOR FREE