Credits Per Function
Endpoint | Description | Credits | 10,000 credits = | |
---|---|---|---|---|
/v1/job/check | Background Jobs: Check Status | 2 | 2 / call | 2 |
/v1/barcode/generate | Barcode: Generate Barcode Image | 7 | 7 / call | 7 |
/v1/barcode/read/from/url | Barcode: Read Barcodes From URL or file | 35 | 35 / page | 35 |
/v1/pdf/documentparser/templates/:id | Document Parser Get Template By Id | 2 | 2 / call | 2 |
/v1/pdf/documentparser/templates | Document Parser Get Templates | 2 | 2 / call | 2 |
/v1/pdf/documentparser | Document Parser: extract data using template | 42 | 42 / page | 42 |
/v1/email/decode | Email: decode email from .MSG or .EML | 35 | 35 / page | 35 |
/v1/email/extract-attachments | Email: extract attachments from .MSG or .EML | 35 | 35 / page | 35 |
/v1/email/send | Email: send with attachments | 21 | 21 / page | 21 |
/v1/file/upload/get-presigned-url | File: Generate file upload URL | 7 | 7 / call | 7 |
/v1/file/upload/base64 | File: Upload File From Base 64 | 21 | 21 / call | 21 |
/v1/file/upload/url | File: Upload File from URL | 11 | 11 / call | 11 |
/v1/file/upload | File: Upload small local file as temporary file | 11 | 11 / call | 11 |
/v1/templates/html | Get HTML Templates | 2 | 2 / call | 2 |
/v1/pdf/security/add | PDF: Add security protection to PDF | 3 | 3 / page | 3 |
/v1/pdf/edit/add | PDF: Add Text, Images, Fill Fields | 21 | 21 / page | 21 |
/v1/pdf/classifier | PDF: Classify document based on rules | 42 | 42 / page | 42 |
/v1/pdf/convert/from/csv | PDF: Convert CSV to PDF | 21 | 21 / page | 21 |
/v1/pdf/convert/from/doc | PDF: Convert Doc, DocX, RTF, TXT, XPS to PDF | 21 | 21 / page | 21 |
/v1/pdf/convert/from/email | PDF: Convert EML and MSG to PDF | 56 | 56 / page | 56 |
/v1/pdf/convert/from/html | PDF: Convert HTML to PDF | 9 | 9 / page | 9 |
/v1/pdf/convert/from/image | PDF: Convert Images to PDF | 9 | 9 / page | 9 |
/v1/pdf/convert/to/csv | PDF: Convert PDF to CSV (AI powered) | 28 | 28 / page | 28 |
/v1/pdf/convert/to/html | PDF: Convert PDF to HTML | 21 | 21 / page | 21 |
/v1/pdf/convert/to/json | PDF: Convert PDF to JSON (old) | 28 | 28 / page | 28 |
/v1/pdf/convert/from/url | PDF: Convert URL to PDF | 9 | 9 / page | 9 |
/v1/xls/convert/to/pdf | PDF: Convert XLS or XLSX to PDF | 21 | 21 / page | 21 |
/v1/pdf/edit/delete-text | PDF: Delete text in PDF | 21 | 21 / page | 21 |
/v1/pdf/edit/rotate/auto | PDF: Detects and fixes pages rotation | 28 | 28 / page | 28 |
/v1/pdf/attachments/extract | PDF: Extracts pdf attachments | 8 | 8 / page | 8 |
/v1/pdf/find | PDF: Find text inside PDF and Images | 35 | 35 / page | 35 |
/v1/pdf/merge2 | PDF: Merge Images, Documents, PDF to new PDF | 35 | 35 / page | 35 |
/v1/pdf/merge | PDF: Merge PDF | 2 | 2 / page | 2 |
/v1/pdf/optimize | PDF: Optimize PDF File Size | 21 | 21 / page | 21 |
/v1/pdf/makesearchable | PDF: PDF Scan to Text Searchable PDF | 35 | 35 / page | 35 |
/v1/pdf/convert/to/json2 | PDF: PDF to JSON (AI powered) | 28 | 28 / page | 28 |
/v1/pdf/convert/to/json-meta | PDF: PDF to JSON w/ meta info (AI powered) | 42 | 42 / page | 42 |
/v1/pdf/makeunsearchable | PDF: PDF to Scanned PDF | 35 | 35 / page | 35 |
/v1/pdf/convert/to/text | PDF: PDF to Text (AI powered) | 21 | 21 / page | 21 |
/v1/pdf/convert/to/text-simple | PDF: PDF to Text Simple (fast, no AI) | 4 | 4 / page | 4 |
/v1/pdf/convert/to/xls | PDF: PDF to XLS (AI powered) | 35 | 35 / page | 35 |
/v1/pdf/convert/to/xlsx | PDF: PDF to XLSX (AI powered) | 28 | 28 / page | 28 |
/v1/pdf/convert/to/xml | PDF: PDF to XML (AI powered) | 35 | 35 / page | 35 |
/v1/pdf/info | PDF: Read PDF File Information | 7 | 7 / page | 7 |
/v1/pdf/info/fields | PDF: Read PDF Form fields | 8 | 8 / call | 8 |
/v1/pdf/edit/delete-pages | PDF: Remove pages from PDF | 5 | 5 / page | 5 |
/v1/pdf/security/remove | PDF: Remove protection from PDF | 3 | 3 / page | 3 |
/v1/pdf/convert/to/jpg | PDF: Render PDF to JPG | 12 | 12 / page | 12 |
/v1/pdf/convert/to/png | PDF: Render PDF to PNG | 15 | 15 / page | 15 |
/v1/pdf/convert/to/tiff | PDF: Render PDF to TIFF | 28 | 28 / page | 28 |
/v1/pdf/convert/to/webp | PDF: Render PDF to WebP | 18 | 18 / page | 18 |
/v1/pdf/edit/replace-text | PDF: Replace text in PDF | 21 | 21 / page | 21 |
/v1/pdf/edit/replace-text-with-image | PDF: Replace text with image in a PDF | 77 | 77 / page | 77 |
/v1/pdf/find/table | PDF: return JSON with info about tables | 21 | 21 / page | 21 |
/v1/pdf/edit/rotate | PDF: Rotates pages | 7 | 7 / page | 7 |
/v1/pdf/split | PDF: Split PDF (by page numbers) | 2 | 2 / page | 2 |
/v1/pdf/split2 | PDF: Split PDF (by text search) | 35 | 35 / page | 35 |
/v1/xls/convert/to/csv | XLS: Convert XLS/XLSX to CSV | 9 | 9 / page | 9 |
/v1/xls/convert/to/html | XLS: Convert XLS/XLSX to HMTL | 9 | 9 / page | 9 |
/v1/xls/convert/to/json | XLS: Convert XLS/XLSX to JSON | 15 | 15 / page | 15 |
/v1/xls/convert/to/txt | XLS: Convert XLS/XLSX to TXT | 9 | 9 / page | 9 |
/v1/xls/convert/to/xml | XLS: Convert XLS/XLSX to XML | 15 | 15 / page | 15 |
Estimated costs per page are calculated based on the selected subscription plan or credits.
Additional Optional Charges
Permanent object storage (templates, files):
- HTML Templates -
1
credit per template per day; - Document Parser Templates -
1
credit per template per day; - PDF.co Files (stored files) -
2
credits per file per day; - Output Files - free but they are permanently auto-removed in 1 hour by default (can be extended up to 1,440 minutes (24 hours) on Business+ plans).
Note: Credits for permanent storage objects are charged via the account/charge/objects endpoint in the API Logs.
User-Controlled Data Encryption
You can add an extra layer of security to any of your calls by encrypting or decrypting input or output files with a strong AES-256 or another encryption or decryption algorithm. This will make your data unreadable without the password. See this article for details.
- User-Controlled Data ENcryption - adds 2 credits per page processed;
- User-Controlled Data DEcryption - adds 2 credits per page processed.
Async mode (async: true): first call consumes credits for 1 page + credits for the remaining pages consumed along with job/check + credits for job check calls. Click here to show the detailed examples on credits calculations for both modes.
Check API logs for the details on API calls you've made.
Async mode (async: true in API calls)
This mode is used in Zapier and other plugins (with additional auto calls to job/check). This is the recommended mode, especially for large files that require up to 15 minutes of processing.Total credits for async job = credits for the very first page + small amount of credits for job/check + credits for the remaining pages (if 2 or more pages were processed).
Example:
- The input PDF has 10 pages;
- The first call to API consumes credits for 1 single page and returns jobid param. JobId is the unique id of async job created;
- Call /job/checkto check the status of this job;
- If /job/check returns status equal success then it also consumed credits for the remaining 9 pages + small amount of credits for this job/check call;
- If /job/check returned failed then this call will return credits consumed for 1 page on the very first step (you'll see negative credits in API logs);
Sync mode (async=false):
Should be used only for small files (under 100 kb) where it takes just a few seconds to process. Every request is limited to 27 seconds. If it takes more then you need to use async mode.Total credits for sync job = credits for total processed pages
Example:
- The input PDF has 10 pages;
- The call to API endpoint is processing file right away and consumes credits required for 10 pages;
- If call failed then no credits will be consumed;