Overview
Generate PDF documents using API
Pdfblocks is a documents & productivity API from pdfblocks.com. Requests are authenticated with an API key. It is served over HTTPS and allows browser requests (CORS). Its OpenAPI description documents 12 endpoints.
At a glance
- Authentication
- API key
- HTTPS
- Yes
- CORS
- Yes
- Category
- Documents & Productivity
- Base URL
https://api.pdfblocks.com- Version
- 1.5.0
- Endpoints
- 12
- OpenAPI
- Specification ↗
- Spec updated
- 2021-06-21
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X POST "https://api.pdfblocks.com/v1/add_password" \
-H "Accept: application/json" \
-H "X-API-Key: YOUR_API_KEY"const response = await fetch("https://api.pdfblocks.com/v1/add_password", {
method: "POST",
headers: {
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"POST",
"https://api.pdfblocks.com/v1/add_password",
headers={
"Accept": "application/json",
"X-API-Key": "YOUR_API_KEY",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| POST | /v1/add_password | Add a password to a PDF |
| POST | /v1/add_restrictions | Add restrictions to a PDF |
| POST | /v1/add_watermark/image | Add an image watermark to a PDF |
| POST | /v1/add_watermark/text | Add a text watermark to a PDF |
| POST | /v1/extract_pages | Extract pages from a PDF |
| POST | /v1/merge_documents | Merge PDF documents |
| POST | /v1/remove_pages | Remove pages from a PDF |
| POST | /v1/remove_password | Remove the password from a PDF |
| POST | /v1/remove_restrictions | Remove the restrictions from a PDF |
| POST | /v1/remove_signatures | Remove the signatures from a PDF |
| POST | /v1/reverse_pages | Reverse the pages of a PDF |
| POST | /v1/rotate_pages | Rotate pages in a PDF |
Questions
Does the Pdfblocks API need an API key?
Yes. The Pdfblocks API uses API key authentication; the documentation explains how to get credentials.
Can I call the Pdfblocks API from the browser?
Yes. The Pdfblocks API sends CORS headers, so a web page can call it directly with fetch().
Does the Pdfblocks API support HTTPS?
Yes, the Pdfblocks API is served over HTTPS.
How many endpoints does the Pdfblocks API have?
Its OpenAPI description lists 12 endpoints in version 1.5.0. All of them are shown on this page.
What are alternatives to the Pdfblocks API?
Other Documents & Productivity APIs include JIRA, Notion, DocStruct, Asana, ClickUp.
Similar documents & productivity APIs
Compare alternatives →JIRA
Documents & ProductivityJIRA is a proprietary issue tracking product that allows bug tracking and agile project management
Notion
Documents & ProductivityIntegrate with Notion
DocStruct
Documents & ProductivityAI extraction of invoices, receipts, bank statements & contracts into structured JSON/CSV
Asana
Documents & ProductivityProgrammatic access to all data in your asana system
ClickUp
Documents & ProductivityClickUp is a robust, cloud-based project management tool for boosting productivity
iLovePDF
Documents & ProductivityConvert, merge, split, extract text and add page numbers for PDFs. Free for 250 documents/month
Listed from public-apis database (MIT), APIs.guru (CC0).