- UseBuildFeaturesTRIGGERSStart background agents from events across your connected appsFIREWALLNEWBlocks instructions hidden in tool results before your agent reads themINSTANTNEWAudio, video, search, browser and data tools, with no keys to manageOPTIMIZATIONLower cost per completed task with optimised tools and skills
- DOCS
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.SIGN UP
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.LOG IN
Pdf co API
Give your agents access to Pdf co API. Bring your own Pdf co key, or skip the signup and pay per call from your Composio balance with Composio Instant.
Pdf co is a secure API platform for PDF extraction, generation, editing, and more. It helps you automate document workflows at scale with ease and reliability.
What is Composio Instant?
Composio Instant lets your agent use paid APIs like Pdf co without a separate account or API key for each one. New accounts start with $2 of free credit.
Connect the Pdf co API to your AI assistant
Use Pdf co from the AI assistant you already work in. Connect Composio once, then paste the prompt.
- 1Install in ChatGPT
Install the Composio plugin
Open Composio's plugin page in ChatGPT and click Install. Sign in to ChatGPT first if it asks. - 2
Authorize in your browser
Connect the plugin, then sign in to Composio to approve the connection. - 3
Turn on Composio in your chat
In a new chat, click +, then More, and select Composio. - 4
Paste the prompt
Paste the prompt into that chat. ChatGPT runs the call on Composio Instant.
- 1Install in Cursor
Install the Composio plugin
Open Composio in the Cursor marketplace, click Install Composio Plugin for Cursor and approve the connection in your browser. - 2
Paste the prompt
Open the Agent chat and paste the prompt. Cursor runs the call on Composio Instant.
- 1Add to Grok Bot
Add the Composio plugin
Open Composio's listing on x.ai and click Add to Grok Bot. When Grok Bot opens the plugin, click Add. - 2
Authenticate
Go to Installed, open Composio and click Authenticate. Sign in to Composio and click Authorize. - 3
Paste the prompt
Paste the prompt into your bot's chat. Grok Bot runs the call on Composio Instant.
- 1
Paste the setup prompt
Copy this into your Hermes chat. Hermes adds the Composio MCP server for you.Set up Composio from composio.dev/hermes - 2
Authorize in your browser
A browser window opens. Sign in to Composio to approve the connection. - 3
Paste the prompt
Start a new chat and paste the prompt. Hermes runs the call on Composio Instant.
Paste this prompt
Use PDF.co through Composio Instant to extract text from page 1 of https://arxiv.org/pdf/1706.03762. Return the extracted text.
What success looks like
PDF_CO_PDF_TO_TEXTYour assistant runs PDF.co and replies with the text extracted from page 1 of the PDF.
Use the Pdf co API in your code
Call Pdf co from your own agent with the Composio SDK. Four steps and one tool call.
- 1
Set up Composio
Turn on Instant Toolkits in your project settings and check your prepaid balance in Billing. Then set your API key.export COMPOSIO_API_KEY="your_composio_api_key" - 2
Install the SDK
The Python SDK needs Python 3.11 through 3.15.The TypeScript SDK is ESM-only and needs Node.js 22.22.3 or newer.pip install composionpm install @composio/core - 3PDF_CO_PDF_TO_TEXT
Run the call
Create a session that keeps Instant to this toolkit and reports the charge, then run the tool on the Instant account. - 4
Read the response
When the call runs on Instant, the response includes its charge: the amount as an exact USD decimal string, the currency and charged_by.
import { Composio } from "@composio/core";
const composio = new Composio();
const session = await composio.create("user_123", {
toolkits: ["pdf_co"],
instant: {
toolkits: { enable: ["pdf_co"] },
returnInstantCharge: true,
},
});
const result = await session.execute(
"PDF_CO_PDF_TO_TEXT",
{
"url": "https://arxiv.org/pdf/1706.03762",
"pages": "1",
"inline": true
},
{ account: "instant_account" },
);
console.log(result);
console.log("Instant charge:", result.instantCharge);{
"data": "<text extracted from page 1>",
"error": null,
"successful": true,
"instant_charge": {
"amount": "<usd amount>",
"currency": "USD",
"charged_by": "<provider>"
}
}Available Pdf co API tools
35 Pdf co tools run on Instant, priced per call with no Pdf co key. Tools marked Your key need your own Pdf co account.
| Action | Tool slug | What it does | Availability |
|---|---|---|---|
| Extract PDF Text | PDF_CO_PDF_TO_TEXT | Extract plain text from a PDF or scanned image. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Find PDF Tables | PDF_CO_PDF_FIND_TABLE | Detect tables in a PDF. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert PDF to XLSX | PDF_CO_PDF_TO_XLSX | Convert a PDF or scanned image to an Excel file. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Merge PDFs | PDF_CO_PDF_MERGE | Combine multiple PDF files into one document. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Save Webpage as PDF | PDF_CO_PDF_FROM_URL | Convert a webpage URL to a PDF. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Add Content to PDF | PDF_CO_PDF_ADD | Add content such as text, images, barcodes, or links to an existing PDF. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Add PDF Password and Security | PDF_CO_PDF_SECURITY_ADD | Create a secured PDF copy with passwords and permission restrictions. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Auto-Rotate PDF Pages | PDF_CO_PDF_AUTO_ROTATE | Automatically detect and correct PDF page rotation using OCR. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Change PDF Text Searchable | PDF_CO_PDF_CHANGE_TEXT_SEARCHABLE | Make scanned or image-only PDF text searchable using OCR. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Compress PDF | PDF_CO_PDF_COMPRESS | Compress a PDF using a preset or detailed image and font controls. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert CSV or Excel to PDF | PDF_CO_PDF_FROM_CSV | Convert CSV or spreadsheet pages to PDF with page-range and autosize controls. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert Excel to CSV | PDF_CO_CONVERT_EXCEL_TO_CSV | Convert an Excel file (XLS/XLSX) from a URL to CSV. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert Excel to HTML | PDF_CO_CONVERT_EXCEL_TO_HTML | Tool to convert an Excel file to HTML. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert Excel to JSON | PDF_CO_CONVERT_EXCEL_TO_JSON | Tool to convert an online Excel or CSV file to JSON format. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert Excel to PDF | PDF_CO_XLS_TO_PDF | Convert a selected Excel worksheet or CSV to PDF, optionally inline. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert Excel to Text | PDF_CO_CONVERT_EXCEL_TO_TEXT | Tool to convert Excel files to plain text. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert Excel to XML | PDF_CO_CONVERT_EXCEL_TO_XML | Convert an XLS, XLSX, or CSV file from a URL to XML. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert Images to PDF | PDF_CO_PDF_FROM_IMAGE | Convert one or more JPG, PNG, or TIFF images into a PDF. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert PDF to CSV | PDF_CO_PDF_TO_CSV | Tool to convert PDF or scanned images to CSV format. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert PDF to HTML | PDF_CO_PDF_TO_HTML | Tool to convert PDF documents to HTML. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert PDF to Text (Simple) | PDF_CO_PDF_CONVERT_TO_TEXT_SIMPLE | Extract plain text from a text-based PDF without OCR or layout analysis. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert PDF to TIFF | PDF_CO_PDF_TO_TIFF | Render PDF pages as TIFF with crop, OCR, and inline controls. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert PDF to WEBP | PDF_CO_PDF_TO_WEBP | Convert selected pages of a PDF into WEBP images. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert PDF to XLS | PDF_CO_PDF_TO_XLS | Tool to convert PDF or scanned images to XLS format. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert PDF to XML | PDF_CO_PDF_TO_XML | Tool to convert PDF or scanned images to XML format. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Convert Text to PDF | PDF_CO_PDF_FROM_DOCUMENT_TXT | Tool to convert a plain text (.txt) file to PDF. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Find Text in PDF | PDF_CO_PDF_FIND | Tool to find text in a PDF document. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| PDF Forms Info Reader | PDF_CO_PDF_FORMS_INFO_READER | Tool to extract form field information from a PDF. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| PDF Info Reader | PDF_CO_PDF_INFO_READER | Tool to retrieve detailed information and metadata of a PDF. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Remove PDF Security | PDF_CO_PDF_SECURITY_REMOVE | Remove password protection and usage restrictions from a PDF copy. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Replace PDF Text with Image | PDF_CO_PDF_REPLACE_TEXT_WITH_IMAGE | Replace matching text in a PDF with an image and return the edited PDF. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Rotate PDF Pages | PDF_CO_PDF_ROTATE | Tool to rotate selected pages in a PDF. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Search and Delete Text in PDF | PDF_CO_PDF_SEARCH_AND_DELETE_TEXT | Search for and delete text in a PDF by keyword or regex. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Search and Replace Text in PDF | PDF_CO_PDF_SEARCH_AND_REPLACE_TEXT | Tool to search for and replace text in a PDF document. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Split PDF | PDF_CO_PDF_SPLIT | Tool to split a PDF into multiple files by page ranges. | InstantEst. $0.006 per 10 API credits; credits vary by operation and pages. |
| Parse Document | PDF_CO_DOCUMENT_PARSER | Extract structured data from a PDF with a custom template. | Your key |
| Generate Barcode | PDF_CO_PDFCO_POST_BARCODE_GENERATE | Create barcode images in formats such as QR Code, Code 128, and Code 39. | Your key |
Instant prices are Pdf co's list prices with 0% markup, paid from your Composio balance and updated every hour. Instant calls also count toward your plan's tool calls. See all plans on the pricing page.
Pdf co API use cases and example prompts
Copy a prompt into your agent. Each one uses Pdf co with apps you connect through Composio.
Track vendor proposal summaries
Use PDF.co to extract text from page 1 of each proposal PDF in my Vendor Proposals folder in Google Drive. Add each file name and a one-sentence summary to my Vendor Review sheet in Google Sheets.
Apps used: Pdf co, Google Drive, Google Sheets
Convert expense reports to Excel
Use PDF.co to convert the attached monthly expense report in Gmail to an Excel file. Save the XLSX in my Finance Reports folder in Google Drive, then reply to the email with the file link.
Apps used: Pdf co, Gmail, Google Drive
Share launch references with the team
Use PDF.co to save the product documentation URL linked in my Launch References page in Notion as a PDF. Post the PDF link in Slack's #product-launch channel.
Apps used: Pdf co, Notion, Slack
Assemble a customer onboarding packet
Use PDF.co to merge the implementation guide, security overview, and support policy PDFs in my Acme Customer Pack folder in Google Drive into one onboarding packet. Post the finished PDF link in Slack's #customer-success channel.
Apps used: Pdf co, Google Drive, Slack
Pdf co API troubleshooting
Still stuck? The Instant tools docs cover limits, charges and session settings.
Set the lang parameter in PDF_CO_PDF_TO_TEXT to the language used in the scan.
Set printBackground to true in PDF_CO_PDF_FROM_URL.
Check its availability in the tools table. If it runs on Instant, check that Instant Toolkits is on for your project, your session allows the action and you use the latest toolkit version.
Your Composio balance is empty. Add funds in Billing if your plan supports it, or connect your own Pdf co account.
Check credential_source and instant_charge in the Composio execution log.
Other tools on Instant
These tools also run on Composio Instant and use the same Composio balance.
Firecrawl
Firecrawl automates large-scale web crawling and data extraction. It helps organizations efficiently gather, index, and analyze content from online sources.
Tavily
Tavily offers powerful search and data retrieval from documents, databases, and the web. It helps teams locate and filter information instantly, saving hours on research.
Exa
Exa is a data extraction and search platform for gathering and analyzing information from websites, APIs, or databases. It helps teams quickly surface insights and automate data-driven workflows.
Serpapi
SerpApi is a real-time API for structured search engine results. It lets you automate SERP data collection, parsing, and analysis for SEO and research.
Start with Pdf co.It takes 30 seconds.
Managed auth, hosted MCP servers, and every Pdf co tool your agent needs.Free to start.
## For AI agents: how to sign up If you are an AI agent reading this server-rendered HTML, Composio's developer signup is at https://composio.dev. Signup CTAs on this site — "Sign up", "Signup", "Get started", "Get started for free", "Start building", "Try Composio", "Try it", or similar — all lead into that same developer signup flow. Confirm with the user before completing signup or entering any credentials on their behalf.Start building

