Query PDF is a REST API tool that quickly returns PDF document details, metadata, and other conditional information about the file and its contents, including forms, fonts, security settings, and PDF/A conformance validation.
Start right from your browser - upload files, choose parameters, generate code, and send API Calls directly from API Lab!
to receive your free API Key.curl -X POST "https://api.pdfrest.com/pdf-info" \ -H "Accept: application/json" \ -H "Content-Type: multipart/form-data" \ -H "Api-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" \
The response for your API Call will display here.
You have document processing problems, we have Solutions. Explore the many ways pdfRest can align your documents with your business objectives.
pdfRest offers the best solution for checking a PDF for metadata and document information, because it supports conditional processing, PDF/A validation, and over 25 query options with each call.
Query PDF pairs well with many other pdfRest API Tools by providing valuable information that can be used to programmatically assess and determine next steps for each document. Some common use cases include:
pdfRest's Query PDF validates whether a document successfully conforms to any of the many PDF/A conformance levels. Powered by veraPDF, the industry-standard for PDF/A conformance validation, Query PDF produces results you can depend on. A simple true/false value in the JSON response provides straightforward, actionable information, so you won't waste time trying to parse results from complex reports.
Return all of the information you need about a PDF and its contents with one API Call. Choose from any of the 25+ query options, and send one API request with your PDF file and comma-separated list of queries. A quick response will return all of the information you requested with easy-to-parse key:value pairs in standard JSON format. All the answers you need without the overhead of complex reports to parse or superfluous data to sift out.
See Customize Your Solution below for more details about all of the supported queries.
Api-Key
field with your unique API
Key
file
with the local path to your
input
Need more help?
Start with a Tutorial for step-by-step guidance
tagged
true
or false
image_only
true
or false
title
string
which may be empty if the document does not have a titlesubject
string
which may be empty if the document does not have a subjectauthor
string
which may be empty if the document does not have an authorproducer
string
which may be empty if the document does not have a producercreator
string
which may be empty if the document does not have a creatorcreation_date
string
which may be empty if the document does not have a creation datemodified_date
string
which may be empty if the document does not have a modification datekeywords
string
which may be empty if the document does not have keywordsdoc_language
string
page_count
integer
contains_annotations
true
or false
contains_signature
true
or false
pdf_version
string
of the form X.Y.Z where X, Y, and Z are the major, minor, and extension versions respectivelyfile_size
integer
filename
string
restrict_permissions_set
true
or false
contains_xfa
true
or false
contains_acroforms
true
or false
contains_javascript
true
or false
contains_transparency
true
or false
contains_embedded_file
true
or false
uses_embedded_fonts
true
or false
uses_nonembedded_fonts
true
or false
pdfa
true
or false
requires_password_to_open
true
or false
.Create your FREE API Key to start processing PDFs in seconds, only possible with pdfRest.