extract_pdf_data
Extract PDF Data
Extract structured data from a PDF document. Supports extraction as JSON, Markdown, or HTML. Useful for automated content processing, indexing, and data extraction from PDF files.
extract_pdf_data
Extract structured data from a PDF document. Supports extraction as JSON, Markdown, or HTML. Useful for automated content processing, indexing, and data extraction from PDF files.
capture_screenshot
Capture a screenshot image of a website URL, raw HTML content, or Markdown using Headless Chrome. Supports full-page captures, custom viewports, mobile simulation, and delayed rendering. Returns a URL to download the generated image.
convert_to_markdown
Convert a document file to Markdown format using Markitdown. Accepts any file type URL and produces a Markdown representation. Useful for extracting readable text content from various document formats.
watermark_pdf
Add a text watermark to an existing PDF document. Configure the watermark text, font size, color, opacity, and rotation angle. Useful for marking documents as drafts, confidential, or with custom branding.
extract_pdf_pages
Extract a specific range of pages from an existing PDF document. Specify start and end page numbers (0-indexed) to create a new PDF with only those pages. Supports negative indexing (e.g., -1 for the last page).
create_zip
Compress multiple files into a single ZIP archive. Provide URLs to the files to include and optionally specify custom file names within the archive.
check_balance
Check the remaining credit balance on the API2PDF account associated with the current API key.
protect_pdf
Add password protection to an existing PDF document. Set a user password (required to open the document) and optionally an owner password (required to change permissions). Useful for compliance and customer-facing delivery.
delete_file
Delete a previously generated file from API2PDF servers. By default files are auto-deleted after 24 hours, but this tool allows immediate deletion for high-security use cases. Use the responseId returned from the original generation request.
convert_document
Convert documents between formats using LibreOffice. Supports converting Word, PowerPoint, Excel, images, and other file types to PDF. Also supports converting HTML to Word (DOCX), HTML to Excel (XLSX). Provide a publicly accessible URL to the source file.
generate_pdf
Generate a PDF document from HTML content, a publicly accessible URL, or Markdown text using Headless Chrome. Supports configurable page layout, headers/footers, margins, page size, and other Chrome PDF options. Returns a URL to download the generated PDF.
generate_thumbnail
Generate a thumbnail image preview from a PDF, Office document, or email file. Creates an image of the first page, useful for previews, galleries, and document listings.
merge_pdfs
Combine multiple PDF documents into a single PDF file. Provide URLs to the PDF files to be merged. The PDFs are merged in the order provided.
generate_barcode
Generate a barcode or QR code image. Supports multiple barcode formats including QR_CODE, CODE_39, CODE_128, EAN_13, UPC_A, and more. Returns a URL to download the generated barcode image.
check_status
Check the API2PDF service health status endpoint. Use this to distinguish account or request issues from a broader API availability problem.
Generate PDFs from HTML, URLs, and Markdown. Convert Microsoft Office documents, images, and email files to PDF. Capture screenshots of websites and HTML content. Merge multiple PDFs, extract specific page ranges, and reorder pages. Password-protect PDFs for secure delivery. Generate barcodes and QR codes. Create thumbnail previews for PDFs, Office documents, and email files. Extract structured data from PDFs. Convert HTML to Word (DOCX) and Excel (XLSX). Compress files into ZIP archives. Delete generated files on demand.
Common questions about connecting API 2 Pdf to AI agents with Metorial.