# PDFCc ## API Docs - Security [Validate PDF Digital Signature](https://nm6ah2ixfc.apifox.cn/272070454e0.md): Validates the digital signatures in a PDF file against default or custom certificates. Input:PDF Output:JSON Type:SISO - Security [Sanitize a PDF file](https://nm6ah2ixfc.apifox.cn/272070455e0.md): This endpoint processes a PDF file and removes specific elements based on the provided options. Input:PDF Output:PDF Type:SISO - Security [Remove password from a PDF file](https://nm6ah2ixfc.apifox.cn/272070456e0.md): This endpoint removes the password from a protected PDF file. Users need to provide the existing password. Input:PDF Output:PDF Type:SISO - Security [Remove digital signature from PDF](https://nm6ah2ixfc.apifox.cn/272070457e0.md): This endpoint accepts a PDF file and returns the PDF file without the digital signature. Input:PDF, Output:PDF Type:SISO - Security [Redacts areas and pages in a PDF document](https://nm6ah2ixfc.apifox.cn/272070458e0.md): This operation takes an input PDF file with a list of areas, page number(s)/range(s)/function(s) to redact. Input:PDF, Output:PDF, Type:SISO - Security [Summary here](https://nm6ah2ixfc.apifox.cn/272070459e0.md): desc. Input:PDF Output:JSON Type:SISO - Security [Sign PDF with a Digital Certificate](https://nm6ah2ixfc.apifox.cn/272070460e0.md): This endpoint accepts a PDF file, a digital certificate and related information to sign the PDF. It then returns the digitally signed PDF file. Input:PDF Output:PDF Type:SISO - Security [Redacts listOfText in a PDF document](https://nm6ah2ixfc.apifox.cn/272070461e0.md): This operation takes an input PDF file and redacts the provided listOfText. Input:PDF, Output:PDF, Type:SISO - Security [Add watermark to a PDF file](https://nm6ah2ixfc.apifox.cn/272070462e0.md): This endpoint adds a watermark to a given PDF file. Users can specify the watermark type (text or image), rotation, opacity, width spacer, and height spacer. Input:PDF Output:PDF Type:SISO - Security [Add password to a PDF file](https://nm6ah2ixfc.apifox.cn/272070463e0.md): This endpoint adds password protection to a PDF file. Users can specify a set of permissions that should be applied to the file. Input:PDF Output:PDF - Pipeline [handleData](https://nm6ah2ixfc.apifox.cn/272070464e0.md): - Misc [Update metadata of a PDF file](https://nm6ah2ixfc.apifox.cn/272070465e0.md): This endpoint allows you to update the metadata of a given PDF file. You can add, modify, or delete standard and custom metadata fields. Input:PDF Output:PDF Type:SISO - Misc [Remove read-only property from form fields](https://nm6ah2ixfc.apifox.cn/311982293e0.md): Removing read-only property from form fields making them fillableInput:PDF, Output:PDF. Type:SISO - Misc [Grabs all JS from a PDF and returns a single JS file with all code](https://nm6ah2ixfc.apifox.cn/272070466e0.md): desc. Input:PDF Output:JS Type:SISO - Misc [Replace-Invert Color PDF](https://nm6ah2ixfc.apifox.cn/272070467e0.md): This endpoint accepts a PDF file and option of invert all colors or replace text and background colors. Input:PDF Output:PDF Type:SISO - Misc [Repair a PDF file](https://nm6ah2ixfc.apifox.cn/272070468e0.md): This endpoint repairs a given PDF file by running qpdf command. The PDF is first saved to a temporary location, repaired, read back, and then returned as a response. Input:PDF Output:PDF Type:SISO - Misc [Remove blank pages from a PDF file](https://nm6ah2ixfc.apifox.cn/272070469e0.md): This endpoint removes blank pages from a given PDF file. Users can specify the threshold and white percentage to tune the detection of blank pages. Input:PDF Output:PDF Type:SISO - Misc [Process PDF files with OCR using Tesseract](https://nm6ah2ixfc.apifox.cn/272070470e0.md): Takes a PDF file as input, performs OCR using specified languages and OCR type (skip-text/force-ocr), and returns the processed PDF. Input:PDF Output:PDF Type:SISO - Misc [Flatten PDF form fields or full page](https://nm6ah2ixfc.apifox.cn/272070471e0.md): Flattening just PDF form fields or converting each page to images to make text unselectable. Input:PDF, Output:PDF. Type:SISO - Misc [Extract images from a PDF file](https://nm6ah2ixfc.apifox.cn/272070472e0.md): This endpoint extracts images from a given PDF file and returns them in a zip file. Users can specify the output image format. Input:PDF Output:IMAGE/ZIP Type:SIMO - Misc [Extract image scans from an input file](https://nm6ah2ixfc.apifox.cn/272070473e0.md): This endpoint extracts image scans from a given file based on certain parameters. Users can specify angle threshold, tolerance, minimum area, minimum contour area, and border size. Input:PDF Output:IMAGE/ZIP Type:SIMO - Misc [Decompress PDF streams](https://nm6ah2ixfc.apifox.cn/311982294e0.md): Fully decompresses all PDF streams including text content - Misc [Optimize PDF file](https://nm6ah2ixfc.apifox.cn/272070474e0.md): This endpoint accepts a PDF file and optimizes it based on the provided parameters. Input:PDF Output:PDF Type:SISO - Misc [Auto split PDF pages into separate documents](https://nm6ah2ixfc.apifox.cn/272070475e0.md): This endpoint accepts a PDF file, scans each page for a specific QR code, and splits the document at the QR code boundaries. The output is a zip file containing each separate PDF document. Input:PDF Output:ZIP-PDF Type:SISO - Misc [Extract header from PDF file](https://nm6ah2ixfc.apifox.cn/272070476e0.md): This endpoint accepts a PDF file and attempts to extract its title or header based on heuristics. Input:PDF Output:PDF Type:SISO - Misc [Add stamp to a PDF file](https://nm6ah2ixfc.apifox.cn/272070477e0.md): This endpoint adds a stamp to a given PDF file. Users can specify the stamp type (text or image), rotation, opacity, width spacer, and height spacer. Input:PDF Output:PDF Type:SISO - Misc [Add page numbers to a PDF document](https://nm6ah2ixfc.apifox.cn/272070478e0.md): This operation takes an input PDF file and adds page numbers to it. Input:PDF Output:PDF Type:SISO - Misc [Overlay image onto a PDF file](https://nm6ah2ixfc.apifox.cn/272070479e0.md): This endpoint overlays an image onto a PDF file at the specified coordinates. The image can be overlaid on every page of the PDF if specified. Input:PDF/IMAGE Output:PDF Type:SISO - General [Split PDF pages into smaller sections](https://nm6ah2ixfc.apifox.cn/272070480e0.md): Split each page of a PDF into smaller sections based on the user's choice (halves, thirds, quarters, etc.), both vertically and horizontally. Input:PDF Output:ZIP-PDF Type:SISO - General [Split PDFs by Chapters](https://nm6ah2ixfc.apifox.cn/272070481e0.md): Splits a PDF into chapters and returns a ZIP file. - General [Split a PDF file into separate documents](https://nm6ah2ixfc.apifox.cn/272070482e0.md): This endpoint splits a given PDF file into separate documents based on the specified page numbers or ranges. Users can specify pages using individual numbers, ranges, or 'all' for every page. Input:PDF Output:PDF Type:SIMO - General [Auto split PDF pages into separate documents based on size or count](https://nm6ah2ixfc.apifox.cn/272070483e0.md): split PDF into multiple paged documents based on size/count, ie if 20 pages and split into 5, it does 5 documents each 4 pages - General [Change the size of a PDF page/document](https://nm6ah2ixfc.apifox.cn/272070484e0.md): This operation takes an input PDF file and the size to scale the pages to in the output PDF file. Input:PDF Output:PDF Type:SISO - General [Rotate a PDF file](https://nm6ah2ixfc.apifox.cn/272070485e0.md): This endpoint rotates a given PDF file by a specified angle. The angle must be a multiple of 90. Input:PDF Output:PDF Type:SISO - General [Remove pages from a PDF file](https://nm6ah2ixfc.apifox.cn/272070486e0.md): This endpoint removes specified pages from a given PDF file. Users can provide a comma-separated list of page numbers or ranges to delete. Input:PDF Output:PDF Type:SISO - General [Remove images from file to reduce the file size.](https://nm6ah2ixfc.apifox.cn/272070487e0.md): This endpoint remove images from file to reduce the file size.Input:PDF Output:PDF Type:MISO - General [Rearrange pages in a PDF file](https://nm6ah2ixfc.apifox.cn/272070488e0.md): This endpoint rearranges pages in a given PDF file based on the specified page order or custom mode. Users can provide a page order as a comma-separated list of page numbers or page ranges, or a custom mode. Input:PDF Output:PDF - General [Convert a multi-page PDF into a single long page PDF](https://nm6ah2ixfc.apifox.cn/272070489e0.md): This endpoint converts a multi-page PDF document into a single paged PDF document. The width of the single page will be same as the input's width, but the height will be the sum of all the pages' heights. Input:PDF Output:PDF Type:SISO - General [Overlay PDF files in various modes](https://nm6ah2ixfc.apifox.cn/272070490e0.md): Overlay PDF files onto a base PDF with different modes: Sequential, Interleaved, or Fixed Repeat. Input:PDF Output:PDF Type:MIMO - General [Merge multiple pages of a PDF document into a single page](https://nm6ah2ixfc.apifox.cn/272070491e0.md): This operation takes an input PDF file and the number of pages to merge into a single sheet in the output PDF file. Input:PDF Output:PDF Type:SISO - General [Merge multiple PDF files into one](https://nm6ah2ixfc.apifox.cn/272070492e0.md): This endpoint merges multiple PDF files into a single PDF file. The merged file will contain all pages from the input files in the order they were provided. Input:PDF Output:PDF Type:MISO - General [Crops a PDF document](https://nm6ah2ixfc.apifox.cn/272070493e0.md): This operation takes an input PDF file and crops it according to the given coordinates. Input:PDF Output:PDF Type:SISO - Filter [Checks if a PDF is of a certain size](https://nm6ah2ixfc.apifox.cn/272070494e0.md): Input:PDF Output:Boolean Type:SISO - Filter [Checks if a PDF is of a certain rotation](https://nm6ah2ixfc.apifox.cn/272070495e0.md): Input:PDF Output:Boolean Type:SISO - Filter [Checks if a PDF is greater, less or equal to a setPageCount](https://nm6ah2ixfc.apifox.cn/272070496e0.md): Input:PDF Output:Boolean Type:SISO - Filter [Checks if a PDF is a set file size](https://nm6ah2ixfc.apifox.cn/272070497e0.md): Input:PDF Output:Boolean Type:SISO - Filter [Checks if a PDF contains set text, returns true if does](https://nm6ah2ixfc.apifox.cn/272070498e0.md): Input:PDF Output:Boolean Type:SISO - Filter [Checks if a PDF contains an image](https://nm6ah2ixfc.apifox.cn/272070499e0.md): Input:PDF Output:Boolean Type:SISO - Convert [Convert a URL to a PDF](https://nm6ah2ixfc.apifox.cn/272070500e0.md): This endpoint fetches content from a URL and converts it to a PDF format. Input:N/A Output:PDF Type:SISO - Convert [Convert PDF to XML](https://nm6ah2ixfc.apifox.cn/272070501e0.md): This endpoint converts a PDF file to an XML file. Input:PDF Output:XML Type:SISO - Convert [Convert PDF to Word document](https://nm6ah2ixfc.apifox.cn/272070502e0.md): This endpoint converts a given PDF file to a Word document format. Input:PDF Output:WORD Type:SISO - Convert [Convert PDF to Text or RTF format](https://nm6ah2ixfc.apifox.cn/272070503e0.md): This endpoint converts a given PDF file to Text or RTF format. Input:PDF Output:TXT Type:SISO - Convert [Convert PDF to Presentation format](https://nm6ah2ixfc.apifox.cn/272070504e0.md): This endpoint converts a given PDF file to a Presentation format. Input:PDF Output:PPT Type:SISO - Convert [Convert a PDF to a PDF/A](https://nm6ah2ixfc.apifox.cn/272070505e0.md): This endpoint converts a PDF file to a PDF/A file using LibreOffice. PDF/A is a format designed for long-term archiving of digital documents. Input:PDF Output:PDF Type:SISO - Convert [Convert PDF to Markdown](https://nm6ah2ixfc.apifox.cn/272070506e0.md): This endpoint converts a PDF file to Markdown format. Input:PDF Output:Markdown Type:SISO - Convert [Convert PDF to image(s)](https://nm6ah2ixfc.apifox.cn/272070507e0.md): This endpoint converts a PDF file to image(s) with the specified image format, color type, and DPI. Users can choose to get a single image or multiple images. Input:PDF Output:Image Type:SI-Conditional - Convert [Convert PDF to HTML](https://nm6ah2ixfc.apifox.cn/272070508e0.md): This endpoint converts a PDF file to HTML format. Input:PDF Output:HTML Type:SISO - Convert [Extracts a CSV document from a PDF](https://nm6ah2ixfc.apifox.cn/272070509e0.md): This operation takes an input PDF file and returns CSV file of whole page. Input:PDF Output:CSV Type:SISO - Convert [Convert a Markdown file to PDF](https://nm6ah2ixfc.apifox.cn/272070510e0.md): This endpoint takes a Markdown file input, converts it to HTML, and then to PDF format. Input:MARKDOWN Output:PDF Type:SISO - Convert [Convert images to a PDF file](https://nm6ah2ixfc.apifox.cn/272070511e0.md): This endpoint converts one or more images to a PDF file. Users can specify whether to stretch the images to fit the PDF page, and whether to automatically rotate the images. Input:Image Output:PDF Type:MISO - Convert [Convert an HTML or ZIP (containing HTML and CSS) to PDF](https://nm6ah2ixfc.apifox.cn/272070512e0.md): This endpoint takes an HTML or ZIP file input and converts it to a PDF format. Input:HTML Output:PDF Type:SISO - Convert [Convert a file to a PDF using LibreOffice](https://nm6ah2ixfc.apifox.cn/272070513e0.md): This endpoint converts a given file to a PDF using LibreOffice API Input:ANY Output:PDF Type:SISO - Analysis [Get security information](https://nm6ah2ixfc.apifox.cn/272070514e0.md): Returns encryption and permission details. Input:PDF Output:JSON Type:SISO - Analysis [Get page dimensions for all pages](https://nm6ah2ixfc.apifox.cn/272070515e0.md): Returns width and height of each page. Input:PDF Output:JSON Type:SISO - Analysis [Get PDF page count](https://nm6ah2ixfc.apifox.cn/272070516e0.md): Returns total number of pages in PDF. Input:PDF Output:JSON Type:SISO - Analysis [Get form field information](https://nm6ah2ixfc.apifox.cn/272070517e0.md): Returns count and details of form fields. Input:PDF Output:JSON Type:SISO - Analysis [Get font information](https://nm6ah2ixfc.apifox.cn/272070518e0.md): Returns list of fonts used in the document. Input:PDF Output:JSON Type:SISO - Analysis [Get PDF document properties](https://nm6ah2ixfc.apifox.cn/272070519e0.md): Returns title, author, subject, etc. Input:PDF Output:JSON Type:SISO - Analysis [Get basic PDF information](https://nm6ah2ixfc.apifox.cn/272070520e0.md): Returns page count, version, file size. Input:PDF Output:JSON Type:SISO - Analysis [Get annotation information](https://nm6ah2ixfc.apifox.cn/272070521e0.md): Returns count and types of annotations. Input:PDF Output:JSON Type:SISO - Info [getUptime](https://nm6ah2ixfc.apifox.cn/272070522e0.md): - Info [Application status and version](https://nm6ah2ixfc.apifox.cn/272070523e0.md): This endpoint returns the status of the application and its version number. - Info [POST request count](https://nm6ah2ixfc.apifox.cn/272070524e0.md): This endpoint returns the total count of POST requests for a specific endpoint or all endpoints. - Info [Unique users count for POST requests](https://nm6ah2ixfc.apifox.cn/272070525e0.md): This endpoint returns the count of unique users for POST requests for a specific endpoint or all endpoints. - Info [POST requests count for all endpoints](https://nm6ah2ixfc.apifox.cn/272070526e0.md): This endpoint returns the count of POST requests for each endpoint. - Info [Unique users count for POST requests for all endpoints](https://nm6ah2ixfc.apifox.cn/272070527e0.md): This endpoint returns the count of unique users for POST requests for each endpoint. - Info [GET request count](https://nm6ah2ixfc.apifox.cn/272070528e0.md): This endpoint returns the total count of GET requests for a specific endpoint or all endpoints. - Info [Unique users count for GET requests](https://nm6ah2ixfc.apifox.cn/272070529e0.md): This endpoint returns the count of unique users for GET requests for a specific endpoint or all endpoints. - Info [GET requests count for all endpoints](https://nm6ah2ixfc.apifox.cn/272070530e0.md): This endpoint returns the count of GET requests for each endpoint. - Info [Unique users count for GET requests for all endpoints](https://nm6ah2ixfc.apifox.cn/272070531e0.md): This endpoint returns the count of unique users for GET requests for each endpoint.