PDF/A Validation API
Ensure PDF/A files meet conformance levels with our PDF/A Validation API. Automatically analyze PDF structure; lexical, syntactic, and semantic levels; and metadata, fonts, color space, and other properties in your app or workflow.
Why Nutrient DWS API?
SOC 2 Compliant
Build the workflows you need without worrying about security. We don’t store any document data, and our API endpoints are served through encrypted connections.
Easy Integration
Get up and running in hours, not weeks. Access well-documented APIs and code samples that make integrating with your existing workflows a snap.
Robust and Flexible
With access to more than 30 tools, you can process one document in multiple ways by using API credits. Generate PDF from HTML, convert Word, Excel, PowerPoint and image files to PDF, and more.
Simple and Transparent Pricing
Select a package that suits your needs according to the number of credits you wish to spend. Each API tool and action has a specific credit cost.
Try It Out
This example will validate the conformance of an uploaded PDF file. It returns a report with the level of conformance of the PDF/A file and the errors encountered during validation.
Use Your Free API Calls
Sign up and receive 100 credits for free, or log in to automatically add your API key to sample code. If you are not sure how credits are consumed read more in our pricing documentation , or check out this guide on calculating credit usage.
Add a File
Add a PDF named pdfa.pdf
to your project folder. You can use our sample document.
The file name is case sensitive. Make sure the file name matches the file name in the sample code.
Run the Code
Copy the code and run it from the same folder you added the files to. For more information, see our language-specific getting started guides.
View the Results
Open
result.json
in your project folder to view the results.
curl -X POST https://api.nutrient.io/validate_pdfa \
-H "Authorization: Bearer your_api_key_here" \
-o result.json \
--fail \
-F [email protected]
curl -X POST https://api.nutrient.io/validate_pdfa ^
-H "Authorization: Bearer your_api_key_here" ^
-o result.json ^
--fail ^
-F [email protected]
POST https://api.nutrient.io/validate_pdfa HTTP/1.1
Content-Type: multipart/form-data; boundary=--customboundary
Authorization: Bearer your_api_key_here
--customboundary
Content-Disposition: form-data; name="file"; filename="pdfa.pdf"
Content-Type: application/pdf
(file data)
--customboundary--
Your API Key
Get access to your API key when you create an account. Once your account has been created, you’ll get 100 credits for free.
Your API key has automatically been inserted into the API example code. Run the sample code in your terminal to execute the API call.