Connect Apollo with OpenCode
Option 1: Using Composio CLI
1. Install Composio CLI
Install the Composio CLI, authenticate, and initialize your project:
## 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.
## 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
You can enrich a CSV of company domains, find a contact with a work email at each account and check which accounts are hiring for a role from OpenCode. Composio runs each call on its own Apollo account, so you don't need a Apollo API key, and your first $2 is free.
OpenCode runs Apollo through Composio, and the cost comes out of your free $2.
$2 ≈ 100 persons or 100 companies
| When you ask OpenCode for | OpenCode uses this tool | Cost | What $2 gets you |
|---|---|---|---|
| A work email and profile for a person | Enrich person with Apollo | $0.020 per person | About 100 persons |
| A company profile from its domain | Enrich organization data | $0.020 per company | About 100 companies |
| A page of companies that match your filters | Search organizations in Apollo | $0.020 per search | About 100 searches |
| Open job posts at a company | Get Organization Job Postings | $0.020 per page | About 100 pages |
| News articles about a company | Search news articles | $0.020 per page | About 100 pages |
You pay Apollo's price for each call with 0% markup, plus the regular Composio tool call charge. There's no Apollo subscription, and you only pay for what you use.
9 of 72 Apollo tools work without a key. For Activate Sequence, Add Contacts to Sequence, Add People to Prospects, Archive Sequence, Bulk update account stage, Complete Apollo Task and 57 more, connect your own Apollo key. Read how Instant works.
Composio adds Apollo to OpenCode as an Instant toolkit. You connect Composio to OpenCode once, and then OpenCode can use Apollo right away. There are two ways to do this:
You bring your own Apollo API key, set it up, and use it.
Composio runs each call on its own Apollo account, so you don't have to set anything up at Apollo, and your first $2 is free.
You do the setup one time and it takes about a minute. If you build Apollo into your own product, turn on Instant toolkits in your project settings so your agent can call Apollo for each of your users without a Apollo API key, and read Instant tools in the Composio docs for the setup steps and code examples.
Open your Composio wallet and turn on Instant. Your free $2 shows up there.
## 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.Open my wallet
Follow the setup below. You only do this once.
Try a Apollo prompt. The cost comes out of your $2.
Install the Composio CLI, authenticate, and initialize your project:
# Install the Composio CLI
curl -fsSL https://composio.dev/install | bash
# Authenticate with Composio
composio loginDuring login, you will be redirected to the sign-in page. Finish the flow and you are all set.
Once the CLI is installed, it is essentially done. Give OpenCode access to your apps with these steps:
You can also connect Apollo to OpenCode by adding Composio as an MCP server through the OpenCode CLI.
opencode mcp addThis launches an interactive prompt.
| Field | Value |
|---|---|
| Name | composio |
| Type | remote |
| URL | https://connect.composio.dev/mcp |
| Require OAuth | Yes |
| Have client ID | No |
Alternatively, you can skip the interactive prompt and paste the configuration directly into your OpenCode config file.
Open your global OpenCode config:
open ~/.config/opencode/opencode.jsonAdd this under the mcp key and save the file.
{
"mcp": {
"composio": {
"type": "remote",
"url": "https://connect.composio.dev/mcp",
"enabled": true
}
}
}Authenticate the Composio MCP server you just added:
opencode mcp auth composioThis opens a browser session. Authorize Composio and you are done.
opencode mcp listNow, in the chat, ask the agent to connect to Apollo or give it any Apollo-related task.
For example, ask it to:
It will prompt you to authenticate and authorize access to Apollo.
That is it. Composio tools are now available in OpenCode, and your Apollo account is ready to use.
Start a new chat and try this prompt:
accounts.csv has a domain column (up to 20 rows). Enrich the domains with Apollo in batches of 10 and write accounts-enriched.csv with industry, employee count, headquarters, founding year and annual revenue added. List the domains Apollo couldn't match.
OpenCode runs it on Instant and shows you the result. It doesn't ask you for a Apollo key, and the cost comes out of your $2. You can see each call in your wallet.
If you want Activate Sequence, Add Contacts to Sequence, Add People to Prospects, Archive Sequence, Bulk update account stage, Complete Apollo Task and 57 more, you need your own key. Ask OpenCode to connect your Apollo account, and it gives you a Composio link:
Connect my Apollo account using Composio.
Open the link, paste your Apollo API key and click Connect Account. You can get a key from Apollo API keys page. After that, Composio uses your key first and doesn't charge Instant for those calls.
Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.
Reads company domains from a CSV and writes a new file with industry, headcount, location and revenue added.
accounts.csv has a domain column (up to 20 rows). Enrich the domains with Apollo in batches of 10 and write accounts-enriched.csv with industry, employee count, headquarters, founding year and annual revenue added. List the domains Apollo couldn't match.
Finds the most senior person in a role at each company in a file and gets their work email.
For each domain in accounts.txt (up to 5), find the most senior [job title or department] person on Apollo, then get their work email. Write contacts.csv with company, name, title and email, and note any account where you found no one.
Pulls open job postings for each company in a file and shows which ones are hiring for the role you sell to.
For each domain in accounts.txt (up to 10), get the company's open job postings from Apollo. Write hiring.csv with company, number of open roles, and the titles that mention [keyword, like data engineer]. Sort by the number of matching roles.
Runs a free people search for every job title in a file and writes one list without duplicates.
For each job title in titles.txt (up to 5), find 25 people in [location] at companies with [min] to [max] employees on Apollo. Write prospects.csv with the title searched, the person's title, company and location, and remove duplicates.
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Bulk organization enrichment | Enriches data for up to 10 organizations simultaneously by providing a list of their base company domains (e.g., 'apollo.io', not 'www.apollo.io'). | Yes | Estimated $0.02 per organization enriched in the batch |
| Bulk people enrichment | Enriches up to 10 person profiles from Apollo's database; charges may apply per person enriched, and unmatched entries may be null. | Yes | $0.02–$0.18 per person enriched |
| Get Organization by ID | Retrieves organization information by Apollo ID, including available funding, technology, and employee data. | Yes | Estimated $0.02 per organization retrieved |
| Get Organization Job Postings | Retrieves paginated job postings for a specified organization by its ID, optionally filtering by domain; ensure `organization_id` is a valid identifier. | Yes | Estimated $0.02 per job-posting result page |
| Enrich organization data | Fetches comprehensive organization enrichment data from Apollo.io for a given company domain; results are most meaningful if the company exists in Apollo's database. | Yes | Estimated $0.02 per organization enriched |
| Search organizations in Apollo | Search Apollo's organization database using filters and paginated results. | Yes | Estimated $0.02 per organization search page |
| Enrich person with Apollo | Enriches a person using an Apollo ID, email, hashed email, LinkedIn URL, or first and last name with organization name or domain. | Yes | $0.02–$0.18 per person enriched |
| Apollo people search | Searches Apollo's database for net-new prospects using filters, returning preview records with a display limit of 50,000. | Yes | $0 per request |
| Search news articles | Tool to search for news articles about companies in Apollo's database. | Yes | Estimated $0.02 per news-result page |
| Activate Sequence | Activate an inactive Apollo sequence and begin its scheduled outreach. | Needs your own key | Billed to your own Apollo key |
| Add Contacts to Sequence | Adds contacts to a specified Apollo email sequence and returns the contact details. | Needs your own key | Billed to your own Apollo key |
| Add People to Prospects | Save Apollo person IDs returned by APOLLO_PEOPLE_SEARCH as persistent prospect contacts. | Needs your own key | Billed to your own Apollo key |
| Archive Sequence | Archive an Apollo sequence, making it inactive and finishing all enrolled contacts. | Needs your own key | Billed to your own Apollo key |
| Bulk update account stage | Bulk updates the stage for specified existing Apollo.io accounts, moving them to a valid new account stage. | Needs your own key | Billed to your own Apollo key |
| Complete Apollo Task | Requests completion of an Apollo task and returns the resulting task state. | Needs your own key | Billed to your own Apollo key |
| Create an Apollo account | Creates a new account in Apollo.io; a new record is created even if a similar account exists, and provided `owner_id` or `account_stage_id` must be valid existing IDs. | Needs your own key | Billed to your own Apollo key |
| Bulk create Apollo accounts | Creates multiple accounts in Apollo.io with a single API call (maximum 100 accounts per request). | Needs your own key | Billed to your own Apollo key |
| Bulk create Apollo contacts | Tool to bulk create multiple contacts in Apollo with a single API call. | Needs your own key | Billed to your own Apollo key |
| Create call record in Apollo | Tool to log call records in Apollo from external systems. | Needs your own key | Billed to your own Apollo key |
| Create Apollo contact | Creates a new contact in Apollo.io; use `account_id` to link to an organization and `contact_stage_id` for sales stage. | Needs your own key | Billed to your own Apollo key |
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Create custom field | Creates a new custom field in Apollo.io for contacts, accounts, or opportunities. | Needs your own key | Billed to your own Apollo key |
| Create Apollo deal | Creates a new sales opportunity (deal) in Apollo.io; all provided IDs (`owner_id`, `account_id`, `opportunity_stage_id`) must be valid existing Apollo identifiers. | Needs your own key | Billed to your own Apollo key |
| Create Email Draft | Create an unsent Apollo outreach draft, or return the existing draft already linked to outreach_task_id. | Needs your own key | Billed to your own Apollo key |
| Create Apollo Sequence | Create an Apollo outreach sequence, optionally including steps and email variants. | Needs your own key | Billed to your own Apollo key |
| Create Apollo Sequence Step | Create one step at a specified position in an existing Apollo outreach sequence. | Needs your own key | Billed to your own Apollo key |
| Create Apollo Task | Tool to create a single task in Apollo.io. | Needs your own key | Billed to your own Apollo key |
| Deactivate Sequence | Deactivate an active Apollo sequence. | Needs your own key | Billed to your own Apollo key |
| Export Conversations | Start an asynchronous gzipped JSON conversation export and email a team member when it is ready. | Needs your own key | Billed to your own Apollo key |
| Get Account by ID | Tool to retrieve detailed information about a specific account by its Apollo ID. | Needs your own key | Billed to your own Apollo key |
| Check Apollo API key status | Tool to check whether the provided Apollo API key is valid and accepted by Apollo (health/auth check). | Needs your own key | Billed to your own Apollo key |
| Get Apollo Contact | Retrieves detailed information about a specific contact by its ID. | Needs your own key | Billed to your own Apollo key |
| Get Conversation | Retrieve full Apollo conversation details, including transcript, participants, recordings, and opportunities. | Needs your own key | Billed to your own Apollo key |
| Get Conversation Export | Retrieve the download redirect URL for a previously started Apollo conversation export. | Needs your own key | Billed to your own Apollo key |
| Get Current User Profile | Return the authenticated Apollo user's identity and optional credit balances. | Needs your own key | Billed to your own Apollo key |
| Get Apollo deal | Retrieves information about a specific deal by its ID. | Needs your own key | Billed to your own Apollo key |
| Get Email Activities | Retrieves content, open and click activity, and recipient details for one Apollo sequence email. | Needs your own key | Billed to your own Apollo key |
| Get Email Content | Retrieve content for up to 10 sent team outreach emails. | Needs your own key | Billed to your own Apollo key |
| Get Labels | Retrieves all labels from Apollo.io, used for organizing contacts and accounts. | Needs your own key | Billed to your own Apollo key |
| Get opportunity stages | Retrieves all configured opportunity (deal) stages from the Apollo.io account. | Needs your own key | Billed to your own Apollo key |
| Get Apollo Task | Retrieves the full details of one Apollo task by ID, including associated records and type-specific data when present. | Needs your own key | Billed to your own Apollo key |
| Get typed custom fields | Retrieves all typed custom field definitions available in the Apollo.io instance, detailing their types and configurations. | Needs your own key | Billed to your own Apollo key |
| Get Apollo User | Retrieve one teammate in the connected Apollo workspace by Apollo user ID. | Needs your own key | Billed to your own Apollo key |
| List Apollo account stages | Retrieves the IDs for all available account stages in your team's Apollo account. | Needs your own key | Billed to your own Apollo key |
| List apollo contact stages | Retrieves all available contact stages from an Apollo account, including their unique IDs and names. | Needs your own key | Billed to your own Apollo key |
| List Apollo deals | Retrieves a list of deals from Apollo, using Apollo's default sort order if 'sort_by_field' is omitted. | Needs your own key | Billed to your own Apollo key |
| List email accounts | Retrieves all email accounts and their details for the authenticated user; takes no parameters. | Needs your own key | Billed to your own Apollo key |
| List Fields | Retrieves all field definitions from Apollo.io, including system fields and custom fields. | Needs your own key | Billed to your own Apollo key |
| List Apollo Notes | List notes associated with Apollo records. | Needs your own key | Billed to your own Apollo key |
| List Apollo Users | Retrieves a list of all users (teammates) associated with the Apollo account, supporting pagination via `page` and `per_page` parameters. | Needs your own key | Billed to your own Apollo key |
| Query Analytics Report | Query Apollo analytics metrics, dimensions, filters, and date ranges. | Needs your own key | Billed to your own Apollo key |
| Search Apollo Accounts | Searches for accounts within your existing Apollo.io database using various criteria; requires a paid plan and is limited to 50,000 records. | Needs your own key | Billed to your own Apollo key |
| Search for Calls | Searches for call records in Apollo.io using filters like date range, duration, direction (inbound/outgoing), users, contacts, purposes, outcomes, and keywords. | Needs your own key | Billed to your own Apollo key |
| Search Apollo contacts | Searches Apollo contacts using keywords, stage IDs (from 'List Contact Stages' action), or sorting (max 50,000 records; `sort_ascending` requires `sort_by_field`). | Needs your own key | Billed to your own Apollo key |
| Search Apollo Conversations | Search Apollo video meetings and dialer calls using record, participant, date, scorecard, sorting, and visibility filters. | Needs your own key | Billed to your own Apollo key |
| Search outreach emails | Tool to search for outreach emails sent through Apollo sequences. | Needs your own key | Billed to your own Apollo key |
| Search sequences | Search Apollo sequences, such as automated email campaigns, optionally filtering by full or partial name. | Needs your own key | Billed to your own Apollo key |
| Search tasks | Searches for tasks in Apollo.io using filters like keywords, date ranges (due, created, updated), priorities, types, assigned users, associated contacts/accounts, supporting sorting and pagination. | Needs your own key | Billed to your own Apollo key |
| Send Email Now | Queue an Apollo email for external sending; success means queued, not delivered. | Needs your own key | Billed to your own Apollo key |
| Update an Apollo account | Updates specified attributes of an existing account in Apollo.io. | Needs your own key | Billed to your own Apollo key |
| Update account ownership | Updates the ownership of multiple Apollo accounts to a specified user. | Needs your own key | Billed to your own Apollo key |
| Update Apollo call record | Tool to update an existing call record in Apollo.io. | Needs your own key | Billed to your own Apollo key |
| Update Apollo contact details | Tool to update an existing contact's information in Apollo. | Needs your own key | Billed to your own Apollo key |
| Update contact ownership | Updates the ownership of specified Apollo contacts to a given Apollo user, who must be part of the same team. | Needs your own key | Billed to your own Apollo key |
| Bulk update Apollo contacts | Tool to bulk update multiple Apollo contacts with a single API call. | Needs your own key | Billed to your own Apollo key |
| Update contact stage | Updates the stage for one or more existing contacts in Apollo.io to a new valid contact stage, useful for managing sales funnel progression. | Needs your own key | Billed to your own Apollo key |
| Update contact status in sequence | Pauses or marks a contact as finished in a designated Apollo sequence. | Needs your own key | Billed to your own Apollo key |
| Update Apollo deal | Updates specified fields of an existing Apollo.io deal (opportunity), requiring a valid `opportunity_id`. | Needs your own key | Billed to your own Apollo key |
| Update Apollo List | Rename an Apollo list and optionally change its Book of Business status. | Needs your own key | Billed to your own Apollo key |
| Update Sequence | Update an Apollo sequence's settings, ownership, sharing, steps, and touches. | Needs your own key | Billed to your own Apollo key |
| Update Apollo Task | Update editable details of an existing Apollo task. | Needs your own key | Billed to your own Apollo key |
| View API Usage Stats | Fetches Apollo API usage statistics and rate limits for the connected team. | Needs your own key | Billed to your own Apollo key |
| View Credit Usage Stats | Read team balances by credit type for Apollo's current billing cycle. | Needs your own key | Billed to your own Apollo key |
## 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.Open my Composio wallet
You may have asked for something that needs your own key, like Activate Sequence, Add Contacts to Sequence, Add People to Prospects, Archive Sequence, Bulk update account stage, Complete Apollo Task and 57 more. Those tools don't run on Instant. For everything else, check that Instant is turned on in your Composio wallet, then ask again.
Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.
Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Apollo key, then try again.
Use Apollo MCP with Claude Code
Use Apollo MCP with Cursor
Use Apollo MCP with ChatGPT
Use Apollo MCP with Claude Cowork

Use Apollo MCP with Antigravity
Use Apollo MCP with OpenAI Agents SDK
Use Apollo MCP with Claude Agent SDK

Use Apollo MCP with Grok Bot

Use Apollo MCP with Muse
Use Apollo MCP with Codex

Use Apollo MCP with Grok Build

Use Apollo MCP with VS Code

Use Apollo MCP with OpenClaw

Use Apollo MCP with Hermes
Use Apollo MCP with Atomic Agent
Use Apollo MCP with Google ADK
Use Apollo MCP with LangChain
Use Apollo MCP with Vercel AI SDK
Use Apollo MCP with Mastra AI
Use Apollo MCP with LlamaIndex
Use Apollo MCP with CrewAI
Use Apollo MCP with Pydantic AI
Use Apollo MCP with AutoGen
HubSpot is an all-in-one marketing, sales, and customer service platform. It lets teams nurture leads, automate outreach, and track every customer interaction in one place.
Pipedrive is a sales management platform offering pipeline visualization, lead tracking, and workflow automation. It helps sales teams keep deals moving forward efficiently and never miss a follow-up.
Salesforce is a leading CRM platform that helps businesses manage sales, service, and marketing. It centralizes customer data, enabling teams to drive growth and build strong relationships.
Attio is a customizable CRM and workspace for managing your team's relationships and workflows. It helps teams organize contacts, automate tasks, and collaborate more efficiently.
Not for the 9 tools that run on Instant. Composio runs those calls on its own Apollo account, and you only add Composio to your agent. The other 63 tools need your own Apollo key.
Yes. Every Composio account gets $2 of Instant credit once you turn on Instant, and you can use it on Apollo or on any other Instant toolkit.
You can get about 100 persons, about 100 companies or about 100 searches. The price list on this page shows the cost of each tool.
Instant calls stop. You can add funds to your wallet on a Pro plan, or connect your own Apollo key.
You pay Apollo's price for each call with 0% markup, plus the regular Composio tool call charge.
Yes. Connect your key from the Apollo toolkit in your Composio dashboard. Composio always uses your own connection first, and it doesn't charge Instant for those calls.
You can use 9 of the 72 tools without a key, including Bulk organization enrichment, Bulk people enrichment, Get Organization by ID, Get Organization Job Postings, Enrich organization data, Search organizations in Apollo and 3 more. The other 63 tools need your own Apollo key.
Composio is SOC 2 Type II compliant.
New accounts get a one-time $2 starter credit for Instant calls.Run Apollo from your agent with no Apollo key.
## 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.Get $2 starter credit