For Agents
Convert PDFs to CSV, JSON, XML, and images, parse invoices with AI, merge and split documents, and generate or read barcodes from uploaded files.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the PDF.co API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with PDF.co API.
Parse invoices and receipts with AI to extract structured line-item data
Convert PDF documents to CSV, JSON, XML, HTML, and PNG formats
Generate PDF files from HTML content with custom styling
Merge multiple PDF files into a single consolidated document
GET STARTED
Use for: I need to convert a PDF to CSV for data extraction, I want to parse an invoice and extract line items, Merge multiple PDF files into one document, Split a PDF into individual pages
Not supported: Does not handle document signing, form filling, or OCR on handwritten text — use for format conversion, structured extraction, and barcode operations only.
PDF.co API provides document processing capabilities including AI-powered invoice parsing, PDF conversion to and from multiple formats (CSV, JSON, XML, HTML, PNG), PDF merge and split operations, barcode generation and reading, and file upload management. The API handles both synchronous processing for small files and asynchronous job-based processing for large documents, with results delivered via URL download links.
Split PDF documents into individual pages or page ranges
Generate barcodes in multiple formats (QR, Code128, EAN, UPC)
Read and decode barcodes from images and PDF documents
Patterns agents use PDF.co API for, with concrete tasks.
★ AI Invoice Parsing
Extract structured data from invoices and receipts using AI-powered document understanding. The POST /ai-invoice-parser endpoint accepts a PDF or image URL and returns parsed fields including vendor name, invoice number, date, line items with quantities and amounts, tax totals, and payment terms. This eliminates manual data entry for accounts payable automation and expense management workflows.
Upload an invoice PDF via POST /file/upload, then parse it via POST /ai-invoice-parser with the uploaded file URL to extract vendor name, invoice number, and line items
PDF Format Conversion
Convert PDF documents to machine-readable formats for downstream processing. The API supports conversion to CSV (for tabular data), JSON (for structured extraction), XML (for system integration), HTML (for web display), and PNG (for image rendering). Each conversion endpoint accepts a source URL and returns a download link for the converted output.
Convert a PDF containing a data table to CSV format via POST /pdf/convert/to/csv with the source URL and return the download link for the resulting CSV file
Document Assembly and Splitting
Merge multiple PDF files into a single document or split large PDFs into smaller files. The POST /pdf/merge2 endpoint accepts an array of source URLs and produces a combined PDF. POST /pdf/split separates a document by page ranges. These operations enable document workflow automation for contracts, reports, and multi-part submissions.
Merge three PDF files by providing their URLs to POST /pdf/merge2 and return the download URL for the combined document
AI Agent Document Processing via Jentic
AI agents use the PDF.co API through Jentic to parse invoices, convert documents, and extract data without managing API keys directly. Agents search by intent, receive typed schemas for document operations, and execute calls with Jentic handling the x-api-key header injection. This enables automated document workflows in accounting, legal, and data pipeline contexts.
Search Jentic for 'parse invoice from PDF', load the schema for POST /ai-invoice-parser, and execute with the invoice URL to extract structured payment data
13 endpoints — pdf.
METHOD
PATH
DESCRIPTION
/ai-invoice-parser
Parse invoices with AI extraction
/pdf/convert/to/csv
Convert PDF to CSV format
/pdf/convert/to/json
Convert PDF to JSON format
/pdf/convert/from/html
Generate PDF from HTML
/pdf/merge2
Merge multiple PDFs into one
/pdf/split
Split PDF into pages
/barcode/generate
Generate a barcode image
/barcode/read/from/url
Read barcodes from an image URL
/ai-invoice-parser
Parse invoices with AI extraction
/pdf/convert/to/csv
Convert PDF to CSV format
/pdf/convert/to/json
Convert PDF to JSON format
/pdf/convert/from/html
Generate PDF from HTML
/pdf/merge2
Merge multiple PDFs into one
Three things that make agents converge on Jentic-routed access.
Credential isolation
PDF.co API keys are stored encrypted in the Jentic vault. Agents receive authenticated API access via the x-api-key header injection without the raw key appearing in agent context or logs.
Intent-based discovery
Agents search by intent (e.g., 'convert PDF to spreadsheet') and Jentic returns matching PDF.co operations with typed schemas specifying required parameters like source URL and output format.
Time to first call
Direct PDF.co integration: 1-2 days for auth setup, file upload flows, and async job polling. Through Jentic: under 30 minutes — search, load schema, execute.
Alternatives and complements available in the Jentic catalogue.
iLovePDF API
PDF manipulation focused on merge, split, compress, and watermark operations
Choose iLovePDF when the primary need is PDF manipulation (merge, split, compress) without invoice parsing or barcode features.
Specific to using PDF.co API through Jentic.
What authentication does the PDF.co API use?
The PDF.co API uses an API key passed in the x-api-key header. You obtain your key from the PDF.co dashboard after registration. Through Jentic, this API key is stored encrypted and injected into every request automatically so agents never handle the raw key.
Can I extract table data from PDFs with the PDF.co API?
Yes. POST /pdf/convert/to/csv extracts tabular data from PDF documents and returns it as a downloadable CSV file. For structured extraction with row and column awareness, POST /pdf/convert/to/json provides JSON output with positional data for each text element.
What are the rate limits for the PDF.co API?
PDF.co rate limits depend on your subscription plan. Free plans allow 100 API credits per month with a limit of 1 concurrent request. Paid plans provide higher credit allocations and up to 10 concurrent requests. Each endpoint call consumes 1 credit regardless of file size.
How do I parse an invoice through Jentic?
Search Jentic for 'parse invoice PDF', load the schema for POST /ai-invoice-parser, and execute with the invoice file URL. Jentic handles the x-api-key injection and returns the extracted fields including vendor, invoice number, line items, and totals in a structured response.
Does PDF.co support asynchronous processing for large files?
Yes. For large documents, you can include an async parameter in your request. The API returns a job ID immediately, and you poll POST /job/check with that ID to monitor progress. When complete, the response includes the download URL for the processed output.
/pdf/split
Split PDF into pages
/barcode/generate
Generate a barcode image
/barcode/read/from/url
Read barcodes from an image URL