PDF Blocks API
PDF Blocks is a secure, reliable, and fast API to work with PDF documents. Actions include: Merge PDF documents, add or remove passwords, add watermarks,…
AI & machine learning#openapi#text
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
PDF Blocks is a secure, reliable, and fast API to work with PDF documents. Actions include: Merge PDF documents, add or remove passwords, add watermarks, remove, extract, reverse, and rotate pages, and more.
Endpoints 12
- POSTAdd a password to a PDF
/v1/add_passwordProtect a PDF document with a password. Encrypt the PDF document to prevent unauthorized access. - POSTAdd restrictions to a PDF
/v1/add_restrictionsAdd restrictions to prevent copying, printing, and modifying a PDF document. - POSTAdd an image watermark to a PDF
/v1/add_watermark/imageAdd an image watermark to each page of a PDF document. - POSTAdd a text watermark to a PDF
/v1/add_watermark/textAdd a text watermark to each page of a PDF document. Choose from several watermark templates. - POSTExtract pages from a PDF
/v1/extract_pagesExtract one or more pages from a PDF document. - POSTMerge PDF documents
/v1/merge_documentsCombine multiple PDF documents into a single PDF document. - POSTRemove pages from a PDF
/v1/remove_pagesRemove one or more pages from a PDF document. - POSTRemove the password from a PDF
/v1/remove_passwordRemove the password from an encrypted PDF document. The PDF document will no longer require a password to open. - POSTRemove the restrictions from a PDF
/v1/remove_restrictionsRemove all the restrictions from a PDF document. - POSTRemove the signatures from a PDF
/v1/remove_signaturesRemove the cryptographic signatures and timestamps from a PDF document. - POSTReverse the pages of a PDF
/v1/reverse_pagesReverse the order of the pages of a PDF document. - POSTRotate pages in a PDF
/v1/rotate_pagesRotate one or more pages in a PDF document.
API details
- Base URL
https://api.pdfblocks.comhttps://eu.api.pdfblocks.com- Authentication
- An API key in the X-Api-Key header
- Operations
- 12 operations on 12 pathsPOST 12
- Description format
- OpenAPI 3.0.0, API version
1.5.0 - Links
- Documentation · OpenAPI document · Terms of service · Support
- Listed from
- APIs.guru OpenAPI Directory (CC0-1.0)
Source updated
How to test the PDF Blocks API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the PDF Blocks API collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the X-Api-Key header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Add a password to a PDF” (POST /v1/add_password), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the PDF Blocks API?
PDF Blocks is a secure, reliable, and fast API to work with PDF documents. Actions include: Merge PDF documents, add or remove passwords, add watermarks,… It is listed under AI & machine learning and has 12 endpoints.
Who publishes the PDF Blocks API?
It is listed from PDF Blocks's public API description (an OpenAPI document), not published by PDF Blocks on Swastik Codes. Anyone who controls pdfblocks.com can claim the profile by adding a DNS TXT record.
What is the base URL of the PDF Blocks API?
Its description lists 2 base URLs: https://api.pdfblocks.com, https://eu.api.pdfblocks.com. The first is the usual one; the others are typically sandbox or regional servers.
How do I authenticate with the PDF Blocks API?
With an API key in the X-Api-Key header.
How many endpoints does the PDF Blocks API have?
12 operations on 12 paths (12 POST).
Is forking the PDF Blocks API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.