- Node.js 18 or higher
- A Composio account with an active API key
- An OpenAI API key
- Basic familiarity with TypeScript
- 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 skillsBYOCNEWComposio deployed in your own cloud, with releases you approve
- DOCS
- PRICING
## 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
How to connect Apollo to Mastra AI in 2 mins: No API key needed
You can build a list of prospects that fit your customer, get work emails for your top prospects and research a company before a sales call from Mastra AI. Composio runs each call on its own Apollo account, so you don't need a Apollo API key, and your first $2 is free.
Mastra AI runs Apollo through Composio, and the cost comes out of your free $2.
- A work email and profile for a person$0.020
- A company profile from its domain$0.020
- A page of companies that match your filters$0.020
$2 ≈ 100 persons or 100 companies
What you can do with your free $2
| When you ask Mastra AI for | Mastra AI 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.
How to connect Apollo to Mastra AI
Composio adds Apollo to Mastra AI as an Instant toolkit. You connect Composio to Mastra AI once, and then Mastra AI can use Apollo right away. There are two ways to do this:
Bring your own key
You bring your own Apollo API key, set it up, and use it.
Use the Composio wallet
InstantComposio 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.
Start to use Apollo in Mastra AI in 3 steps
Turn on Instant
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 walletAdd Composio to Mastra AI
Follow the setup below. You only do this once.
Ask Mastra AI for something
Try a Apollo prompt. The cost comes out of your $2.
Step-by-step Guide
Prerequisites
Getting API Keys for OpenAI and Composio
- Go to the OpenAI dashboard and create an API key.
- You need credits or a connected billing setup to use the models.
- Store the key somewhere safe.
- Log in to the Composio dashboard.
- Go to Settings and copy your API key.
- This key lets your Mastra agent talk to Composio and reach Apollo through MCP.
Install dependencies
npm install @composio/core @mastra/core @mastra/mcp @ai-sdk/openai dotenvInstall the required packages.
What's happening:
@composio/coreis the Composio SDK for creating MCP sessions@mastra/coreprovides theAgentclass@mastra/mcpis Mastra's MCP client@ai-sdk/openaiis the model wrapper for OpenAIdotenvloads environment variables from.env
Set up environment variables
COMPOSIO_API_KEY=your_composio_api_key_here
COMPOSIO_USER_ID=your_user_id_here
OPENAI_API_KEY=your_openai_api_key_hereCreate a .env file in your project root.
What's happening:
COMPOSIO_API_KEYauthenticates your requests to ComposioCOMPOSIO_USER_IDtells Composio which user this session belongs toOPENAI_API_KEYlets the Mastra agent call OpenAI models
Import libraries and validate environment
import "dotenv/config";
import { openai } from "@ai-sdk/openai";
import { Agent } from "@mastra/core/agent";
import { MCPClient } from "@mastra/mcp";
import { Composio } from "@composio/core";
import * as readline from "readline";
import type { AiMessageType } from "@mastra/core/agent";
const openaiAPIKey = process.env.OPENAI_API_KEY;
const composioAPIKey = process.env.COMPOSIO_API_KEY;
const composioUserID = process.env.COMPOSIO_USER_ID;
if (!openaiAPIKey) throw new Error("OPENAI_API_KEY is not set");
if (!composioAPIKey) throw new Error("COMPOSIO_API_KEY is not set");
if (!composioUserID) throw new Error("COMPOSIO_USER_ID is not set");
const composio = new Composio({
apiKey: composioAPIKey as string,
});dotenv/configauto loads your.envsoprocess.env.*is availableopenaigives you a Mastra compatible model wrapperAgentis the Mastra agent that will call tools and produce answersMCPClientconnects Mastra to your Composio MCP serverComposiois used to create a Tool Router session
Create a Tool Router session for Apollo
async function main() {
const session = await composio.create(
composioUserID as string,
{
toolkits: ["apollo"],
},
);
const composioMCPUrl = session.mcp.url;
console.log("Apollo MCP URL:", composioMCPUrl);createspins up a short-lived MCP HTTP endpoint for this user- The
toolkitsarray contains"apollo"for Apollo access session.mcp.urlis the MCP URL that Mastra'sMCPClientwill connect to
Configure Mastra MCP client and fetch tools
const mcpClient = new MCPClient({
id: composioUserID as string,
servers: {
nasdaq: {
url: new URL(composioMCPUrl),
requestInit: {
headers: session.mcp.headers,
},
},
},
timeout: 30_000,
});
console.log("Fetching MCP tools from Composio...");
const composioTools = await mcpClient.getTools();
console.log("Number of tools:", Object.keys(composioTools).length);MCPClienttakes anidfor this client and a list of MCP servers- The
headersproperty includes thex-api-keyfor authentication getToolsfetches the tool definitions exposed by the Apollo toolkit
Create the Mastra agent
const agent = new Agent({
name: "apollo-mastra-agent",
instructions: "You are an AI agent with Apollo tools via Composio.",
model: "openai/gpt-5",
});Agentis the core Mastra agentnameis just an identifier for logging and debugginginstructionsguide the agent to use tools instead of only answering in natural languagemodelusesopenai("gpt-5")to configure the underlying LLM
Set up interactive chat interface
let messages: AiMessageType[] = [];
console.log("Chat started! Type 'exit' or 'quit' to end.\n");
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
prompt: "> ",
});
rl.prompt();
rl.on("line", async (userInput: string) => {
const trimmedInput = userInput.trim();
if (["exit", "quit", "bye"].includes(trimmedInput.toLowerCase())) {
console.log("\nGoodbye!");
rl.close();
process.exit(0);
}
if (!trimmedInput) {
rl.prompt();
return;
}
messages.push({
id: crypto.randomUUID(),
role: "user",
content: trimmedInput,
});
console.log("\nAgent is thinking...\n");
try {
const response = await agent.generate(messages, {
toolsets: {
apollo: composioTools,
},
maxSteps: 8,
});
const { text } = response;
if (text && text.trim().length > 0) {
console.log(`Agent: ${text}\n`);
messages.push({
id: crypto.randomUUID(),
role: "assistant",
content: text,
});
}
} catch (error) {
console.error("\nError:", error);
}
rl.prompt();
});
rl.on("close", async () => {
console.log("\nSession ended.");
await mcpClient.disconnect();
process.exit(0);
});
}
main().catch((err) => {
console.error("Fatal error:", err);
process.exit(1);
});messageskeeps the full conversation history in Mastra's expected formatagent.generateruns the agent with conversation history and Apollo toolsetsmaxStepslimits how many tool calls the agent can take in a single runonStepFinishis a hook that prints intermediate steps for debugging
Complete Code
Here's the complete code to get you started with Apollo and Mastra AI:
import "dotenv/config";
import { openai } from "@ai-sdk/openai";
import { Agent } from "@mastra/core/agent";
import { MCPClient } from "@mastra/mcp";
import { Composio } from "@composio/core";
import * as readline from "readline";
import type { AiMessageType } from "@mastra/core/agent";
const openaiAPIKey = process.env.OPENAI_API_KEY;
const composioAPIKey = process.env.COMPOSIO_API_KEY;
const composioUserID = process.env.COMPOSIO_USER_ID;
if (!openaiAPIKey) throw new Error("OPENAI_API_KEY is not set");
if (!composioAPIKey) throw new Error("COMPOSIO_API_KEY is not set");
if (!composioUserID) throw new Error("COMPOSIO_USER_ID is not set");
const composio = new Composio({ apiKey: composioAPIKey as string });
async function main() {
const session = await composio.create(composioUserID as string, {
toolkits: ["apollo"],
});
const composioMCPUrl = session.mcp.url;
const mcpClient = new MCPClient({
id: composioUserID as string,
servers: {
apollo: {
url: new URL(composioMCPUrl),
requestInit: {
headers: session.mcp.headers,
},
},
},
timeout: 30_000,
});
const composioTools = await mcpClient.getTools();
const agent = new Agent({
name: "apollo-mastra-agent",
instructions: "You are an AI agent with Apollo tools via Composio.",
model: "openai/gpt-5",
});
let messages: AiMessageType[] = [];
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout,
prompt: "> ",
});
rl.prompt();
rl.on("line", async (input: string) => {
const trimmed = input.trim();
if (["exit", "quit"].includes(trimmed.toLowerCase())) {
rl.close();
return;
}
messages.push({ id: crypto.randomUUID(), role: "user", content: trimmed });
const { text } = await agent.generate(messages, {
toolsets: { apollo: composioTools },
maxSteps: 8,
});
if (text) {
console.log(`Agent: ${text}\n`);
messages.push({ id: crypto.randomUUID(), role: "assistant", content: text });
}
rl.prompt();
});
rl.on("close", async () => {
await mcpClient.disconnect();
process.exit(0);
});
}
main();Ask Mastra AI for something with Apollo
Start a new chat and try this prompt:
Find 25 [job title]s in [location] at companies with [min] to [max] employees. Give me a table with each person's title, company and location.
Mastra AI 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.
Optional: connect your own Apollo key
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 Mastra AI 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.
Use your first $2: copy a prompt into Mastra AI
Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.
Build a list of prospects that fit your customer
FreeFinds people by job title, seniority, location and company size without using paid credits.
Find 25 [job title]s in [location] at companies with [min] to [max] employees. Give me a table with each person's title, company and location.
Get work emails for your top prospects
About $0.10Looks up work emails and current titles for up to 5 people you name, in one request.
Find the work email and current title for these people: [first and last name plus company domain for each, up to 5]. Show me who you found and who you couldn't match.
Research a company before a sales call
About $0.04Pulls a company's size, funding, technologies and open roles from its domain so you go in prepared.
Look up [company domain] and give me a short brief: what they do, headcount, funding, the main technologies they use and the roles they're hiring for right now.
Find companies that match your ideal customer
About $0.02Searches Apollo's company database by industry, location and headcount and returns a list to review.
Find [industry] companies headquartered in [location] with [min] to [max] employees. Give me 50 of them in a table with name, domain, headcount and location.
Fill in company details for a list of domains
About $0.20Adds industry, headcount, location and founding year to up to 10 company domains at once.
Enrich these company domains and give me a table with industry, employee count, headquarters, founding year and annual revenue where available: [paste up to 10 domains].
Catch up on news about your accounts
About $0.04Finds recent news on the companies you sell to, so you have a timely reason to reach out.
Find news from the last 30 days about these companies: [paste up to 10 domains]. List each article with the company, date, headline and link.
What Mastra AI can do with Apollo
Works without a key
- A work email and profile for a person
- A company profile from its domain
- A page of companies that match your filters
- Open job posts at a company
- News articles about a company
Needs your own Apollo key
- Activate Sequence
- Add Contacts to Sequence
- Add People to Prospects
- Archive Sequence
- Bulk update account stage
- Complete Apollo Task
- Create an Apollo account
- Bulk create Apollo accounts
- and 55 more
Supported tools (72)
| 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 |
Show all 72 toolsShow fewer tools
| 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 |
How you pay for Apollo
- Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
- You pay for each callYou pay Apollo's price with 0% markup, plus the regular Composio tool call charge.
- Your own key comes firstIf you connect your own Apollo key, Composio uses it and doesn't charge Instant for those calls.
- You control the costYou can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
- You can see each callYour wallet shows each call and what it cost.
- When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own 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
Troubleshooting
1. Mastra AI asks me for a Apollo API key
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.
2. I can't see my free $2
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.
3. A Apollo call failed with a balance error
Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Apollo key, then try again.
How to build Apollo MCP Agent with another framework
Claude Code
Use Apollo MCP with Claude Code
Cursor
Use Apollo MCP with Cursor
ChatGPT
Use Apollo MCP with ChatGPT
Claude Cowork
Use Apollo MCP with Claude Cowork

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

Grok Bot
Use Apollo MCP with Grok Bot

Muse
Use Apollo MCP with Muse
Codex
Use Apollo MCP with Codex

Grok Build
Use Apollo MCP with Grok Build

VS Code
Use Apollo MCP with VS Code

OpenCode
Use Apollo MCP with OpenCode

OpenClaw
Use Apollo MCP with OpenClaw

Hermes
Use Apollo MCP with Hermes
Atomic Agent
Use Apollo MCP with Atomic Agent
Google ADK
Use Apollo MCP with Google ADK
LangChain
Use Apollo MCP with LangChain
Vercel AI SDK
Use Apollo MCP with Vercel AI SDK
LlamaIndex
Use Apollo MCP with LlamaIndex
CrewAI
Use Apollo MCP with CrewAI
Pydantic AI
Use Apollo MCP with Pydantic AI
AutoGen
Use Apollo MCP with AutoGen
Explore Other Toolkits
HubSpot
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
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
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
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.
Frequently asked questions
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.
Start with Apollo.It takes 30 seconds.
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
