- Python 3.8/Node 16 or higher installed
- A Composio account with the API key
- An OpenAI API key
- A Apify account and project
- Basic familiarity with async Python/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 Apify to LlamaIndex in 2 mins: No API key needed
You can sum up a business's Google Maps reviews, see the ads a competitor is running and see which posts work for an Instagram account from LlamaIndex. Composio runs each call on its own Apify account, so you don't need a Apify API key, and your first $2 is free.
LlamaIndex runs Apify through Composio, and the cost comes out of your free $2.
- Google Maps reviews for a place$0.00045
- Job posts from a LinkedIn search$0.001
- A company's ads from the Meta Ad Library$0.005
$2 ≈ 4400 reviews or 2000 jobs
What you can do with your free $2
| When you ask LlamaIndex for | LlamaIndex uses this tool | Cost | What $2 gets you |
|---|---|---|---|
| Google Maps reviews for a place | Scrape Google Maps Reviews | $0.00045 per review | About 4,400 reviews |
| Job posts from a LinkedIn search | Search LinkedIn Jobs | $0.001 per job | About 2,000 jobs |
| A company's ads from the Meta Ad Library | Scrape Meta/Facebook Ads | $0.005 per ad | About 400 ads |
| A YouTube video transcript | Scrape YouTube Video Transcripts | $0.005 per transcript | About 400 transcripts |
| A product offer from Google Shopping | Search Google Shopping | $0.005 per product | About 400 products |
| A G2 software review | Scrape G2 Reviews | $0.005 per review | About 400 reviews |
You pay Apify's price for each call with 0% markup, plus the regular Composio tool call charge. There's no Apify subscription, and you only pay for what you use.
39 of 184 Apify tools work without a key. For Build Actor, Abort Actor Build, Delete Actor Build, Get Actor Build, Get Actor Build Log, Get user builds list and 139 more, connect your own Apify key. Read how Instant works.
How to connect Apify to LlamaIndex
Composio adds Apify to LlamaIndex as an Instant toolkit. You connect Composio to LlamaIndex once, and then LlamaIndex can use Apify right away. There are two ways to do this:
Bring your own key
You bring your own Apify API key, set it up, and use it.
Use the Composio wallet
InstantComposio runs each call on its own Apify account, so you don't have to set anything up at Apify, and your first $2 is free.
You do the setup one time and it takes about a minute. If you build Apify into your own product, turn on Instant toolkits in your project settings so your agent can call Apify for each of your users without a Apify API key, and read Instant tools in the Composio docs for the setup steps and code examples.
Start to use Apify in LlamaIndex 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 LlamaIndex
Follow the setup below. You only do this once.
Ask LlamaIndex for something
Try a Apify prompt. The cost comes out of your $2.
Step-by-step Guide
Prerequisites
Getting API Keys for OpenAI, Composio, and Apify
OPENAI_API_KEY)
- Go to the OpenAI dashboard
- Create an API key if you don't have one
- Assign it to
OPENAI_API_KEYin.env
- Log into the Composio dashboard
- Copy your API key from Settings
- Use this as
COMPOSIO_API_KEY
- Use this as
- Pick a stable user identifier (email or ID)
- Use this as
COMPOSIO_USER_ID
- Use this as
Installing dependencies
npm install @composio/llamaindex @llamaindex/openai @llamaindex/tools @llamaindex/workflow dotenvCreate a new Typescript project and install the necessary dependencies:
@composio/llamaindex: Composio's LlamaIndex integration@llamaindex/openai: OpenAI LLM integration@llamaindex/tools: MCP client for LlamaIndex@llamaindex/workflow: Workflow framework for LlamaIndexdotenv: Environment variable management
Set environment variables
OPENAI_API_KEY=your-openai-api-key
COMPOSIO_API_KEY=your-composio-api-key
COMPOSIO_USER_ID=your-user-idCreate a .env file in your project root:
These credentials will be used to:
- Authenticate with OpenAI's GPT-5 model
- Connect to Composio's Tool Router
- Identify your Composio user session for Apify access
Import modules
import "dotenv/config";
import readline from "node:readline/promises";
import { stdin as input, stdout as output } from "node:process";
import { Composio } from "@composio/core";
import { mcp } from "@llamaindex/tools";
import { agent as createAgent } from "@llamaindex/workflow";
import { openai } from "@llamaindex/openai";
dotenv.config();Create a new file called apify_llamaindex_agent.ts and import the required modules:
Key imports:
dotenv.configloads.envat runtimereadlinegives us a simple CLI chat loopComposiois the main Composio SDK clientmcpconnects to an MCP endpointcreateAgentbuilds a LlamaIndex agentopenaiconfigures the LLM backend
Load environment variables and initialize Composio
const OPENAI_API_KEY = process.env.OPENAI_API_KEY;
const COMPOSIO_API_KEY = process.env.COMPOSIO_API_KEY;
const COMPOSIO_USER_ID = process.env.COMPOSIO_USER_ID;
if (!OPENAI_API_KEY) throw new Error("OPENAI_API_KEY is not set");
if (!COMPOSIO_API_KEY) throw new Error("COMPOSIO_API_KEY is not set");
if (!COMPOSIO_USER_ID) throw new Error("COMPOSIO_USER_ID is not set");What's happening:
This ensures missing credentials cause early, clear errors before the agent attempts to initialise.
Create a Tool Router session and build the agent function
async function buildAgent() {
console.log(`Initializing Composio client...${COMPOSIO_USER_ID!}...`);
console.log(`COMPOSIO_USER_ID: ${COMPOSIO_USER_ID!}...`);
const composio = new Composio({
apiKey: COMPOSIO_API_KEY,
provider: new LlamaindexProvider(),
});
const session = await composio.create(
COMPOSIO_USER_ID!,
{
toolkits: ["apify"],
},
);
const mcpUrl = session.mcp.url;
console.log(`Composio Tool Router MCP URL: ${mcpUrl}`);
const server = mcp({
url: mcpUrl,
clientName: "composio_tool_router_with_llamaindex",
requestInit: {
headers: {
"x-api-key": COMPOSIO_API_KEY!,
},
},
// verbose: true,
});
const tools = await server.tools();
const llm = openai({ apiKey: OPENAI_API_KEY, model: "gpt-5" });
const agent = createAgent({
name: "composio_tool_router_with_llamaindex",
description : "An agent that uses Composio Tool Router MCP tools to perform actions.",
systemPrompt:
"You are a helpful assistant connected to Composio Tool Router."+
"Use the available tools to answer user queries and perform Apify actions." ,
llm,
tools,
});
return agent;
}What's happening here:
- We create a Composio client using your API key and configure it with the LlamaIndex provider
- We then create a tool router MCP session for your user, specifying the toolkits we want to use (in this case,
apify) - The session returns an MCP HTTP endpoint URL that acts as a gateway to all your configured tools
- LlamaIndex will connect to this endpoint to dynamically discover and use the available Apify tools.
- The MCP tools are mapped to LlamaIndex-compatible tools and plug them into the Agent.
Create an interactive chat loop
async function chatLoop(agent: ReturnType<typeof createAgent>) {
const rl = readline.createInterface({ input, output });
console.log("Type 'quit' or 'exit' to stop.");
while (true) {
let userInput: string;
try {
userInput = (await rl.question("\nYou: ")).trim();
} catch {
console.log("\nAgent: Bye!");
break;
}
if (!userInput) {
continue;
}
const lower = userInput.toLowerCase();
if (lower === "quit" || lower === "exit") {
console.log("Agent: Bye!");
break;
}
try {
process.stdout.write("Agent: ");
const stream = agent.runStream(userInput);
let finalResult: any = null;
for await (const event of stream) {
// The event.data contains the streamed content
const data: any = event.data;
// Check for streaming delta content
if (data?.delta) {
process.stdout.write(data.delta);
}
// Store final result for fallback
if (data?.result || data?.message) {
finalResult = data;
}
}
// If no streaming happened, show the final result
if (finalResult) {
const answer =
finalResult.result ??
finalResult.message?.content ??
finalResult.message ??
"";
if (answer && typeof answer === "string" && !answer.includes("[object")) {
process.stdout.write(answer);
}
}
console.log(); // New line after streaming completes
} catch (err: any) {
console.error("\nAgent error:", err?.message ?? err);
}
}
rl.close();
}What's happening:
- We're creating a direct terminal interface to chat with Apify
- The LLM's responses are streamed to the CLI for faster interaction.
- The agent uses context to maintain conversation history
- The agent processes the request, selects appropriate Apify tools, and returns a result
- We extract the answer from the result data structure and display it to the user
- You can type 'quit' or 'exit' to stop the chat loop gracefully
- Agent responses and any errors are streamed in a clear, readable format
Define the main entry point
async function main() {
try {
const agent = await buildAgent();
await chatLoop(agent);
} catch (err) {
console.error("Failed to start agent:", err);
process.exit(1);
}
}
main();What's happening here:
- We're orchestrating the entire application flow
- The agent gets built with proper error handling
- Then we kick off the interactive chat loop so you can start talking to Apify
Run the agent
npx ts-node llamaindex-agent.tsWhen prompted, authenticate and authorise your agent with Apify, then start asking questions.
Complete Code
Here's the complete code to get you started with Apify and LlamaIndex:
import "dotenv/config";
import readline from "node:readline/promises";
import { stdin as input, stdout as output } from "node:process";
import { Composio } from "@composio/core";
import { LlamaindexProvider } from "@composio/llamaindex";
import { mcp } from "@llamaindex/tools";
import { agent as createAgent } from "@llamaindex/workflow";
import { openai } from "@llamaindex/openai";
dotenv.config();
const OPENAI_API_KEY = process.env.OPENAI_API_KEY;
const COMPOSIO_API_KEY = process.env.COMPOSIO_API_KEY;
const COMPOSIO_USER_ID = process.env.COMPOSIO_USER_ID;
if (!OPENAI_API_KEY) {
throw new Error("OPENAI_API_KEY is not set in the environment");
}
if (!COMPOSIO_API_KEY) {
throw new Error("COMPOSIO_API_KEY is not set in the environment");
}
if (!COMPOSIO_USER_ID) {
throw new Error("COMPOSIO_USER_ID is not set in the environment");
}
async function buildAgent() {
console.log(`Initializing Composio client...${COMPOSIO_USER_ID!}...`);
console.log(`COMPOSIO_USER_ID: ${COMPOSIO_USER_ID!}...`);
const composio = new Composio({
apiKey: COMPOSIO_API_KEY,
provider: new LlamaindexProvider(),
});
const session = await composio.create(
COMPOSIO_USER_ID!,
{
toolkits: ["apify"],
},
);
const mcpUrl = session.mcp.url;
console.log(`Composio Tool Router MCP URL: ${mcpUrl}`);
const server = mcp({
url: mcpUrl,
clientName: "composio_tool_router_with_llamaindex",
requestInit: {
headers: {
"x-api-key": COMPOSIO_API_KEY!,
},
},
// verbose: true,
});
const tools = await server.tools();
const llm = openai({ apiKey: OPENAI_API_KEY, model: "gpt-5" });
const agent = createAgent({
name: "composio_tool_router_with_llamaindex",
description:
"An agent that uses Composio Tool Router MCP tools to perform actions.",
systemPrompt:
"You are a helpful assistant connected to Composio Tool Router."+
"Use the available tools to answer user queries and perform Apify actions." ,
llm,
tools,
});
return agent;
}
async function chatLoop(agent: ReturnType<typeof createAgent>) {
const rl = readline.createInterface({ input, output });
console.log("Type 'quit' or 'exit' to stop.");
while (true) {
let userInput: string;
try {
userInput = (await rl.question("\nYou: ")).trim();
} catch {
console.log("\nAgent: Bye!");
break;
}
if (!userInput) {
continue;
}
const lower = userInput.toLowerCase();
if (lower === "quit" || lower === "exit") {
console.log("Agent: Bye!");
break;
}
try {
process.stdout.write("Agent: ");
const stream = agent.runStream(userInput);
let finalResult: any = null;
for await (const event of stream) {
// The event.data contains the streamed content
const data: any = event.data;
// Check for streaming delta content
if (data?.delta) {
process.stdout.write(data.delta);
}
// Store final result for fallback
if (data?.result || data?.message) {
finalResult = data;
}
}
// If no streaming happened, show the final result
if (finalResult) {
const answer =
finalResult.result ??
finalResult.message?.content ??
finalResult.message ??
"";
if (answer && typeof answer === "string" && !answer.includes("[object")) {
process.stdout.write(answer);
}
}
console.log(); // New line after streaming completes
} catch (err: any) {
console.error("\nAgent error:", err?.message ?? err);
}
}
rl.close();
}
async function main() {
try {
const agent = await buildAgent();
await chatLoop(agent);
} catch (err: any) {
console.error("Failed to start agent:", err?.message ?? err);
process.exit(1);
}
}
main();Ask LlamaIndex for something with Apify
Start a new chat and try this prompt:
Get the 200 newest Google Maps reviews for [Google Maps link to the business]. Tell me the top 5 things people praise and the top 5 complaints, with a short quote for each, and how the average rating has moved over recent months.
LlamaIndex runs it on Instant and shows you the result. It doesn't ask you for a Apify key, and the cost comes out of your $2. You can see each call in your wallet.
Optional: connect your own Apify key
If you want Build Actor, Abort Actor Build, Delete Actor Build, Get Actor Build, Get Actor Build Log, Get user builds list and 139 more, you need your own key. Ask LlamaIndex to connect your Apify account, and it gives you a Composio link:
Connect my Apify account using Composio.
Open the link, paste your Apify API key and click Connect Account. You can get a key from Apify Console integrations page. After that, Composio uses your key first and doesn't charge Instant for those calls.
Use your first $2: copy a prompt into LlamaIndex
Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.
Sum up a business's Google Maps reviews
About $0.09Pulls recent Google Maps reviews for a business and sums up the top praise and complaints, with example quotes.
Get the 200 newest Google Maps reviews for [Google Maps link to the business]. Tell me the top 5 things people praise and the top 5 complaints, with a short quote for each, and how the average rating has moved over recent months.
See the ads a competitor is running
About $0.13Pulls a company's active ads from the Meta Ad Library and sums up their offers, hooks and calls to action.
Get the 25 most recent active ads from this Facebook page: [competitor's Facebook page URL]. For each ad, give me the start date, ad text, call to action and landing page, then sum up the main offers and hooks they're testing.
See which posts work for an Instagram account
About $0.06Pulls an account's recent Instagram posts with likes and comments, and shows which topics and formats get the most engagement.
Get the last 30 posts from the Instagram account [username]. Rank them by likes plus comments, show the top 10 with the date, post type, first line of the caption and the counts, and tell me which topics, formats and caption styles do best.
Build a list of fresh job openings
About $0.05Searches LinkedIn for jobs posted in the past week and puts them in a table you can sort.
Find 50 remote [job title] jobs in [country] posted on LinkedIn in the past week. Give me a table with the job title, company, location, salary if listed, posted date and link.
Compare prices for a product across stores
About $0.10Searches Google Shopping and lists the lowest prices for a product with the store and shipping details.
Search Google Shopping in the US for "[product name and model]", sorted by lowest price. Show the top 20 offers with store, price, shipping and condition, and tell me the cheapest new one.
Turn a YouTube channel into notes
About $0.03Pulls transcripts of a channel's latest videos and turns each one into a short summary with key points.
Get the transcripts of the 5 latest videos on this YouTube channel: [channel URL]. For each video, give me a 3-sentence summary and the 5 key points, then list the topics the channel covers most.
Summarize recent hotel guest reviews
About $0.10Read recent Booking.com reviews for a property.
Get up to 50 recent reviews from [public Booking.com property link]. Show the rating spread and the most common comments about cleanliness, staff and location. Include the review dates and short source snippets for each theme.
Find upcoming events on Facebook
About $0.10List public events that match a local interest.
Find up to 10 public Facebook events for [topic] in [location]. Show the event name, date, venue, ticket or entry details when shown, and the event link. Sort by date.
See what people ask under a post
About $0.10Group questions and complaints in public post comments.
Get up to 50 comments from [public Facebook post link]. Group the real questions, complaints and suggestions, count each theme, and show a short example for the top themes.
Catch the latest news on a topic
About $0.04Summarize recent Google News search results with links.
Find up to 10 recent Google News articles about [topic] from the last [timeframe]. Give me the headline, publisher, date and link for each, then summarize the main developments without repeating duplicate stories.
What LlamaIndex can do with Apify
Works without a key
- Google Maps reviews for a place
- Job posts from a LinkedIn search
- A company's ads from the Meta Ad Library
- A YouTube video transcript
- A product offer from Google Shopping
- A G2 software review
Needs your own Apify key
- Build Actor
- Abort Actor Build
- Delete Actor Build
- Get Actor Build
- Get Actor Build Log
- Get user builds list
- Abort Actor Run
- Delete Actor Run
- and 137 more
Supported tools (184)
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Discover G2 Products | Discover G2 software products with the fixed Actor in product-search mode, requesting up to 1,000 products and preserving separate rating fields. | Yes | $0.003 per product |
| Scrape Booking Reviews | Scrape public Booking.com property reviews with voyager/booking-reviews-scraper. | Yes | $0.002 per review |
| Scrape Meta/Facebook Ads | Scrape public Meta ads with apify/facebook-ads-scraper, with per-URL result limits and an optional run charge limit. | Yes | $0.005 per ad |
| Scrape Facebook Comments | Scrape public Facebook post comments with apify/facebook-comments-scraper. | Yes | $0.002 per comment |
| Scrape Facebook Events | Search and scrape public Facebook events with apify/facebook-events-scraper, with a per-query event limit and an optional run charge limit. | Yes | $0.01 per event |
| Scrape Facebook Photos | Scrape public Facebook photo metadata and OCR text with apify/facebook-photos-scraper. | Yes | $0.002 per photo |
| Scrape Facebook Posts | Scrape public Facebook page and profile posts with apify/facebook-posts-scraper. | Yes | $0.004 per post |
| Scrape Facebook Reels | Scrape public Facebook reel metadata with apify/facebook-reels-scraper. | Yes | $0.005 per reel |
| Scrape Facebook Reviews | Scrape public Facebook page reviews with apify/facebook-reviews-scraper, using an optional result limit and run charge limit. | Yes | $0.002 per review |
| Scrape G2 Reviews | Scrape G2 software reviews with fixed Actor BkxudbF8MgHuC8WfI, with a limit of 50,000 reviews per product. | Yes | $0.005 per review |
| Scrape Google Maps Reviews | Scrape Google Maps reviews with compass/google-maps-reviews-scraper. | Yes | $0.045 per 100 reviews |
| Scrape Indeed Jobs | Scrape Indeed jobs with valig/indeed-jobs-scraper without Indeed credentials. | Yes | $0.009 per 100 jobs |
| Scrape Instagram Comments | Scrape public Instagram post and Reel comments with apify/instagram-comment-scraper, excluding nested-comment expansion. | Yes | $0.002 per comment |
| Scrape Instagram Hashtag Content | Scrape public Instagram posts or reels by hashtag or keyword with Apify's fixed Actor; the results limit applies per target. | Yes | $0.002 per post |
| Scrape Instagram Mentions | Find public Instagram posts that tag or mention known accounts with apify/instagram-tagged-scraper. | Yes | $0.002 per post |
| Scrape Instagram Posts | Scrape public Instagram posts with Apify's fixed Actor; the results limit applies per profile. | Yes | $0.002 per post |
| Scrape LinkedIn Company Employees | Enumerate and filter employees of specified LinkedIn companies, with short or full profiles and company batching on direct calls. | Yes | $0.003 per profile |
| Scrape LinkedIn Profile Posts | Fetch posts from specified LinkedIn profiles, companies, posts, or activities, with optional comments and reactions on direct calls. | Yes | $0.002 per post |
| Scrape TikTok Posts | Scrape public TikTok posts with apidojo/tiktok-scraper. | Yes | $0.003 per 10 posts |
| Scrape TikTok Video | Scrape specified public TikTok videos with clockworks/tiktok-video-scraper. | Yes | $0.002 per video |
Show all 184 toolsShow fewer tools
| Tool | What it does | Works without a key | Cost on Instant |
|---|---|---|---|
| Scrape Tripadvisor Reviews | Scrape public Tripadvisor reviews with maxcopell/tripadvisor-reviews. | Yes | $0.002 per review |
| Scrape Trustpilot Reviews | Scrape public Trustpilot reviews with fixed Actor 6q70QEFc2Zk0ObldU without exposing reviewer-enrichment or contact controls. | Yes | $0.005 per 10 reviews |
| Scrape X/Twitter Posts | Search bulk public X posts from one to five advanced-search queries; this Actor does not support a specified single post or conversation. | Yes | $0.004 per 10 tweets |
| Scrape Yelp Reviews | Scrape public Yelp reviews with web_wanderer/yelp-reviews-scraper. | Yes | $0.003 per 10 reviews |
| Scrape YouTube Video Transcripts | Extract timestamped YouTube transcripts with starvibe/youtube-video-transcript for a video or channel; channel runs accept at most 200 videos. | Yes | $0.005 per transcript |
| Search Facebook Marketplace | Search public Facebook Marketplace listings with apify/facebook-marketplace-scraper. | Yes | $0.005 per listing |
| Search Google | Search ordinary Google results with Apify's Google Search Results Scraper, requesting up to ten queries and ten pages per query. | Yes | $0.003 per search page |
| Search Google Images | Search Google Images with hooli/google-images-scraper, requesting up to 20 queries and 100 images per query, with image and source-page information when available. | Yes | $0.003 per image |
| Search Google News | Search Google News by keyword, predefined topic, or custom topic URL with data_xplorer/google-news-scraper-fast. | Yes | $0.004 per article |
| Search Google Shopping | Search localized Google Shopping products and offers with burbn/google-shopping-scraper. | Yes | $0.005 per product |
| Search Instagram | Discover Instagram places, profiles, hashtags, or popular reels by keyword. | Yes | $0.002 per result |
| Search LinkedIn Companies | Search public LinkedIn companies in short mode with harvestapi/linkedin-company-search, without LinkedIn cookies. | Yes | $0.002 per company |
| Search LinkedIn Jobs | Search LinkedIn jobs and return job, application, salary, and company details without LinkedIn credentials. | Yes | $0.001 per job |
| Search LinkedIn Posts | Search public LinkedIn posts with harvestapi/linkedin-post-search, optionally requesting comments and reactions as separately charged records and nested post fields. | Yes | $0.002 per post |
| Search LinkedIn Profiles by Name | Find LinkedIn profiles by first name, last name, or both, using short or full profile mode. | Yes | $0.004 per search page |
| Search LinkedIn Profiles by Services | Find LinkedIn profiles by services, keywords, or location, using short or full profile mode. | Yes | $0.002 per profile |
| Search TikTok Users | Search public TikTok creator profiles by keyword using clockworks/tiktok-user-search-scraper. | Yes | $0.005 per profile |
| Search Yandex Market Products | Search public Yandex Market listings using zen-studio/yandex-market-scraper-parser, with reviews and product enrichment disabled. | Yes | $0.005 per product |
| Search Zillow Properties | Discover Zillow listings from search URLs using fixed Actor X46xKaa20oUA1fRiP and a selected extraction method. | Yes | $0.002 per listing |
| Build Actor | Tool to build an Actor with specified configuration. | Needs your own key | Billed to your own Apify key |
| Abort Actor Build | Tool to abort an Actor build that is starting or running. | Needs your own key | Billed to your own Apify key |
| Delete Actor Build | Tool to delete an Actor build permanently. | Needs your own key | Billed to your own Apify key |
| Get Actor Build | Get details of a specific Actor build by build ID. | Needs your own key | Billed to your own Apify key |
| Get Actor Build Log | Tool to retrieve the log file for a specific Actor build. | Needs your own key | Billed to your own Apify key |
| Get user builds list | Tool to get a paginated list of all builds for a user. | Needs your own key | Billed to your own Apify key |
| Abort Actor Run | Tool to abort a running or starting Actor run. | Needs your own key | Billed to your own Apify key |
| Delete Actor Run | Tool to delete a finished Actor run. | Needs your own key | Billed to your own Apify key |
| Get Actor Run | Tool to get details about a specific Actor run. | Needs your own key | Billed to your own Apify key |
| Update Actor Run Status Message | Tool to update the status message of an Actor run. | Needs your own key | Billed to your own Apify key |
| Delete Actor Task | Tool to delete an Actor task permanently. | Needs your own key | Billed to your own Apify key |
| Get Actor Task | Tool to get complete details about an Actor task. | Needs your own key | Billed to your own Apify key |
| Update Actor Task | Tool to update Actor task settings using JSON payload. | Needs your own key | Billed to your own Apify key |
| Get last actor task run | Tool to get the most recent run of a specific Actor task. | Needs your own key | Billed to your own Apify key |
| Run Task Sync (GET) | Tool to run a specific task synchronously and return its output. | Needs your own key | Billed to your own Apify key |
| Run Task Sync & Get Dataset Items | Run an Actor task synchronously and retrieve its dataset items. | Needs your own key | Billed to your own Apify key |
| Run Task Sync with Input Override & Get Dataset Items | Tool to run an actor task synchronously with input overrides and retrieve its dataset items. | Needs your own key | Billed to your own Apify key |
| Run Task Sync (POST) | Tool to run an Actor task synchronously with input override and return its output. | Needs your own key | Billed to your own Apify key |
| Update Actor | Tool to update Actor settings using JSON payload. | Needs your own key | Billed to your own Apify key |
| Get last actor run | Tool to get the most recent run of a specific Actor. | Needs your own key | Billed to your own Apify key |
| Run Actor Sync without Input (GET) | Run an Apify Actor synchronously using GET and return its JSON output, optionally supplying input overrides or selecting an output record. | Needs your own key | Billed to your own Apify key |
| Run Actor Sync & Get Dataset Items | Tool to run Actor synchronously and get dataset items. | Needs your own key | Billed to your own Apify key |
| Get list of Actors | Tool to get the list of all Actors that the user created or used. | Needs your own key | Billed to your own Apify key |
| Delete Actor Version | Tool to delete a specific version of an Actor's source code. | Needs your own key | Billed to your own Apify key |
| Delete Actor Version Environment Variable | Tool to delete an environment variable from a specific Actor version. | Needs your own key | Billed to your own Apify key |
| Get Actor Version Environment Variable | Tool to get environment variable details for a specific Actor version. | Needs your own key | Billed to your own Apify key |
| Update Actor Version Environment Variable | Tool to update environment variable for a specific Actor version using JSON payload. | Needs your own key | Billed to your own Apify key |
| Get list of Actor version environment variables | Tool to get the list of environment variables for a specific Actor version. | Needs your own key | Billed to your own Apify key |
| Create Actor Version Environment Variable | Tool to create an environment variable for a specific Actor version. | Needs your own key | Billed to your own Apify key |
| Get Actor version | Tool to get details about a specific version of an Actor. | Needs your own key | Billed to your own Apify key |
| Update Actor Version | Tool to update an Actor version's configuration and source code. | Needs your own key | Billed to your own Apify key |
| Get list of Actor versions | Tool to get the list of versions of a specific Actor. | Needs your own key | Billed to your own Apify key |
| Create Actor Version | Tool to create a new version of an Actor. | Needs your own key | Billed to your own Apify key |
| Get list of Actor webhooks | Tool to get a list of webhooks for a specific Actor. | Needs your own key | Billed to your own Apify key |
| Create Actor | Tool to create a new Actor with specified configuration. | Needs your own key | Billed to your own Apify key |
| Create Dataset | Tool to create a new dataset. | Needs your own key | Billed to your own Apify key |
| Create Actor Task | Create an Actor task with specified input and execution settings for later runs. | Needs your own key | Billed to your own Apify key |
| Create Task Webhook | Tool to create a webhook for an Actor task. | Needs your own key | Billed to your own Apify key |
| Delete Dataset | Tool to delete a dataset permanently. | Needs your own key | Billed to your own Apify key |
| Get Dataset | Tool to retrieve dataset metadata by dataset ID. | Needs your own key | Billed to your own Apify key |
| Update Dataset | Tool to update a dataset's name via JSON payload. | Needs your own key | Billed to your own Apify key |
| Get list of datasets | Tool to get list of datasets for a user. | Needs your own key | Billed to your own Apify key |
| Get Dataset Statistics | Tool to get dataset field statistics by dataset ID. | Needs your own key | Billed to your own Apify key |
| Delete Actor | Tool to delete an Actor permanently. | Needs your own key | Billed to your own Apify key |
| Delete Webhook | Tool to delete a webhook by its ID. | Needs your own key | Billed to your own Apify key |
| Get Actor Details | Get details of a specific Actor by ID or username/actorName. | Needs your own key | Billed to your own Apify key |
| Get Actor Last Run Dataset Items | Get dataset output from an Actor's last run, optionally filtered by run status. | Needs your own key | Billed to your own Apify key |
| Get all webhooks | Tool to get a list of all webhooks created by the user. | Needs your own key | Billed to your own Apify key |
| Get CARFAX Report by VIN | Check CARFAX report availability or purchase PDFs by VIN with easytools/carfax-report-by-vin; checks and AUTO_PURCHASE purchases are paid. | Needs your own key | Billed to your own Apify key |
| Get dataset items | Tool to retrieve items from a dataset. | Needs your own key | Billed to your own Apify key |
| Get Default Build | Tool to get the default build for an Actor. | Needs your own key | Billed to your own Apify key |
| Get Key-Value Record | Retrieve a record by key from an Apify key-value store. | Needs your own key | Billed to your own Apify key |
| Get list of builds | Tool to get a list of builds for a specific Actor. | Needs your own key | Billed to your own Apify key |
| Get list of runs | Tool to get a list of runs for a specific Actor. | Needs your own key | Billed to your own Apify key |
| Get list of task runs | Tool to get a list of runs for a specific Actor task. | Needs your own key | Billed to your own Apify key |
| Get list of tasks | Tool to fetch a paginated list of tasks belonging to the authenticated user. | Needs your own key | Billed to your own Apify key |
| Get list of task webhooks | Tool to get a list of webhooks for a specific Actor task. | Needs your own key | Billed to your own Apify key |
| Get log | Tool to retrieve logs for a specific Actor run or build. | Needs your own key | Billed to your own Apify key |
| Get OpenAPI Definition | Tool to get the OpenAPI definition for a specific Actor build. | Needs your own key | Billed to your own Apify key |
| Get Run Dataset Items | Tool to get dataset items from a specific Actor run. | Needs your own key | Billed to your own Apify key |
| Get Run Default Dataset | Get metadata for an Actor run's default dataset, not its items. | Needs your own key | Billed to your own Apify key |
| Get Run Default Key-Value Store | Get metadata for an Actor run's default key-value store, not record values. | Needs your own key | Billed to your own Apify key |
| Get Run Default Request Queue | Get metadata for an Actor run's default request queue, not queued requests. | Needs your own key | Billed to your own Apify key |
| Get Run Input | Retrieve the exact JSON input supplied to an Actor run. | Needs your own key | Billed to your own Apify key |
| Get Task Input | Tool to retrieve the input configuration of a specific task. | Needs your own key | Billed to your own Apify key |
| Get Task Last Run Dataset Items | Get dataset items from the last run of an Actor task, optionally filtering runs by status. | Needs your own key | Billed to your own Apify key |
| Get US Fuel Price Averages | Get a national US fuel-price average using the third-party crawlerbros/fuel-prices-scraper. | Needs your own key | Billed to your own Apify key |
| Delete Key-Value Store | Tool to delete a key-value store permanently. | Needs your own key | Billed to your own Apify key |
| Get Key-Value Store | Tool to retrieve key-value store metadata by store ID. | Needs your own key | Billed to your own Apify key |
| Get Key-Value Store Keys | Tool to retrieve a list of keys from a key-value store. | Needs your own key | Billed to your own Apify key |
| Delete Key-Value Store Record | Tool to delete a record from a key-value store. | Needs your own key | Billed to your own Apify key |
| Check Key-Value Store Record Exists | Tool to check if a record exists in a key-value store. | Needs your own key | Billed to your own Apify key |
| Get list of key-value stores | Tool to get the list of key-value stores owned by the user. | Needs your own key | Billed to your own Apify key |
| Create Key-Value Store | Tool to create a new key-value store or retrieve an existing one by name. | Needs your own key | Billed to your own Apify key |
| List User Actor Runs | Tool to get a paginated list of all Actor runs for the authenticated user. | Needs your own key | Billed to your own Apify key |
| Delete Request Queue | Tool to delete a request queue permanently. | Needs your own key | Billed to your own Apify key |
| Get Request Queue | Tool to retrieve request queue metadata by queue ID. | Needs your own key | Billed to your own Apify key |
| Get Request Queue Head | Tool to retrieve first requests from the queue for inspection. | Needs your own key | Billed to your own Apify key |
| Get Head and Lock Queue Requests | Tool to get and lock head requests from the queue. | Needs your own key | Billed to your own Apify key |
| Update Request Queue | Tool to update request queue name using JSON payload. | Needs your own key | Billed to your own Apify key |
| Delete Request from Queue | Tool to delete a specific request from a request queue. | Needs your own key | Billed to your own Apify key |
| Get Request from Queue | Tool to retrieve a specific request from a request queue by its ID. | Needs your own key | Billed to your own Apify key |
| Delete Request Lock | Tool to delete a request lock from a request queue. | Needs your own key | Billed to your own Apify key |
| Prolong Request Lock | Tool to prolong request lock in a request queue. | Needs your own key | Billed to your own Apify key |
| Update Request in Queue | Tool to update a request in a request queue. | Needs your own key | Billed to your own Apify key |
| Batch Delete Requests from Queue | Tool to batch-delete up to 25 requests from a queue. | Needs your own key | Billed to your own Apify key |
| Batch Add Requests to Queue | Tool to batch-add up to 25 requests to a request queue. | Needs your own key | Billed to your own Apify key |
| List Request Queue Requests | Tool to list requests in a request queue with pagination support. | Needs your own key | Billed to your own Apify key |
| Add Request to Queue | Tool to add a request to the queue. | Needs your own key | Billed to your own Apify key |
| Unlock Queue Requests | Tool to unlock requests in a request queue that are currently locked by the client. | Needs your own key | Billed to your own Apify key |
| Get list of request queues | Tool to get list of request queues for a user. | Needs your own key | Billed to your own Apify key |
| Create Request Queue | Tool to create a new request queue or retrieve an existing one by name. | Needs your own key | Billed to your own Apify key |
| Run Actor Asynchronously | Start an Actor run and return its run details. | Needs your own key | Billed to your own Apify key |
| Run Actor Sync | Tool to run a specific Actor synchronously with input and return its output record. | Needs your own key | Billed to your own Apify key |
| Run Actor Sync & Get Dataset Items | Tool to run an Actor synchronously and retrieve its dataset items. | Needs your own key | Billed to your own Apify key |
| Run Task Asynchronously | Start an Actor task run and return its run details. | Needs your own key | Billed to your own Apify key |
| Delete Schedule | Tool to delete a schedule by its ID. | Needs your own key | Billed to your own Apify key |
| Get Schedule | Tool to get schedule details by ID. | Needs your own key | Billed to your own Apify key |
| Get Schedule Log | Tool to get schedule log by ID. | Needs your own key | Billed to your own Apify key |
| Update Schedule | Tool to update an existing schedule with new settings. | Needs your own key | Billed to your own Apify key |
| Get list of schedules | Tool to get list of schedules created by the user. | Needs your own key | Billed to your own Apify key |
| Create Schedule | Tool to create a new schedule with specified settings. | Needs your own key | Billed to your own Apify key |
| Scrape Amazon Product Details | Scrape detailed Amazon product pages by ASIN or URL with delicious_zebu/amazon-product-details-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape Amazon Reviews | Scrape Amazon customer reviews with axesso_data/amazon-reviews-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape Facebook Group Posts | Scrape posts from public Facebook groups with apify/facebook-groups-scraper; resultsLimit applies to chronological sorting, and non-chronological modes require maxTotalChargeUsd. | Needs your own key | Billed to your own Apify key |
| Scrape Facebook Pages | Scrape public Facebook page/profile metadata with apify/facebook-pages-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape Google Maps Places | Scrape Google Maps place listings with damilo/google-maps-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape Instagram Profiles | Scrape public Instagram profile details with Apify's fixed Profile Scraper Actor. | Needs your own key | Billed to your own Apify key |
| Scrape Instagram Reels | Scrape public Instagram Reels with apify/instagram-reel-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape LinkedIn Companies | Scrape public LinkedIn company details with harvestapi/linkedin-company, without LinkedIn cookies or caller credentials. | Needs your own key | Billed to your own Apify key |
| Scrape LinkedIn Profiles | Scrape known LinkedIn profiles in bulk with harvestapi/linkedin-profile-scraper; unlike people search, this action requires profile URLs or identifiers and needs no LinkedIn credentials or cookies. | Needs your own key | Billed to your own Apify key |
| Scrape Snapchat Profiles | Scrape Snapchat profiles with automation-lab/snapchat-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape Snapchat Spotlight | Scrape public Snapchat Spotlight items with tri_angle/snapchat-spotlight-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape TikTok Ads | Search public TikTok Ad Library records with lexis-solutions/tiktok-ads-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape TikTok Comments | Scrape top-level comments from public TikTok videos with clockworks/tiktok-comments-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape Website Traffic Insights | Collect base website traffic estimates with radeance/similarweb-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape YouTube Comments | Scrape public YouTube comments with streamers/youtube-comments-scraper. | Needs your own key | Billed to your own Apify key |
| Scrape YouTube Videos | Search and scrape YouTube with the fixed streamers/youtube-scraper Actor. | Needs your own key | Billed to your own Apify key |
| Scrape Zillow Property Details | Fetch full Zillow property details with fixed Actor ENK9p4RZHg0iVso52. | Needs your own key | Billed to your own Apify key |
| Search AliExpress Products | Search AliExpress listing cards with khadinakbar/aliexpress-all-in-one-scraper, with detailed product enrichment and reviews disabled. | Needs your own key | Billed to your own Apify key |
| Search Amazon Products | Search Amazon product listings with axesso_data/amazon-search-scraper. | Needs your own key | Billed to your own Apify key |
| Search Booking Properties | Search public Booking.com properties with voyager/booking-scraper. | Needs your own key | Billed to your own Apify key |
| Search Eventbrite Events | Search public Eventbrite events with aitorsm/eventbrite. | Needs your own key | Billed to your own Apify key |
| Search Jobs Across Sites | Search public employer-hosted jobs across Greenhouse, Lever, and Ashby with agentx/all-jobs-scraper. | Needs your own key | Billed to your own Apify key |
| Search LinkedIn Profiles | Run HarvestAPI's broad LinkedIn people search. | Needs your own key | Billed to your own Apify key |
| Search Local Fuel Prices | Search crowd-reported local US station fuel prices using the independent johnvc/fuelprices Actor. | Needs your own key | Billed to your own Apify key |
| Search Tripadvisor Places | Search public Tripadvisor hotels, restaurants, and attractions with maxcopell/tripadvisor. | Needs your own key | Billed to your own Apify key |
| Search Upwork Jobs | Search public Upwork jobs with the third-party neatrat/upwork-job-scraper, using keyword and job filters. | Needs your own key | Billed to your own Apify key |
| Store Data in Dataset | Append a batch of JSON objects to an existing Apify dataset. | Needs your own key | Billed to your own Apify key |
| Store Data in Key-Value Store | Tool to create or update a record in a key-value store. | Needs your own key | Billed to your own Apify key |
| Get list of Actors in Store | Tool to get list of public Actors from Apify Store. | Needs your own key | Billed to your own Apify key |
| Update Key-Value Store | Tool to update a key-value store's properties. | Needs your own key | Billed to your own Apify key |
| Update Task Input | Tool to update the input configuration of a specific Actor task. | Needs your own key | Billed to your own Apify key |
| Get Public User Data | Get public profile information for a specified Apify user account. | Needs your own key | Billed to your own Apify key |
| Get Current User Account Data | Tool to get private user account information. | Needs your own key | Billed to your own Apify key |
| Get Account Limits | Tool to get a complete summary of account limits and usage. | Needs your own key | Billed to your own Apify key |
| Update Account Limits | Tool to update account limits manageable on the Limits page. | Needs your own key | Billed to your own Apify key |
| Get Monthly Usage | Tool to get monthly usage summary with daily breakdown. | Needs your own key | Billed to your own Apify key |
| Validate Actor Input | Validate input against an Actor build without starting a run. | Needs your own key | Billed to your own Apify key |
| Get list of webhook dispatches | Tool to get list of webhook dispatches for the user. | Needs your own key | Billed to your own Apify key |
| Get Webhook Dispatch | Tool to get webhook dispatch object with all details. | Needs your own key | Billed to your own Apify key |
| Get webhook | Tool to get webhook object with all details. | Needs your own key | Billed to your own Apify key |
| Update Webhook | Tool to update webhook using JSON payload. | Needs your own key | Billed to your own Apify key |
| Test Webhook | Tool to test a webhook by creating a test dispatch with a dummy payload. | Needs your own key | Billed to your own Apify key |
| Get webhook dispatches | Tool to get list of webhook dispatches for a specific webhook. | Needs your own key | Billed to your own Apify key |
How you pay for Apify
- Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
- You pay for each callYou pay Apify's price with 0% markup, plus the regular Composio tool call charge.
- Your own key comes firstIf you connect your own Apify 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. LlamaIndex asks me for a Apify API key
You may have asked for something that needs your own key, like Build Actor, Abort Actor Build, Delete Actor Build, Get Actor Build, Get Actor Build Log, Get user builds list and 139 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 Apify call failed with a balance error
Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Apify key, then try again.
How to build Apify MCP Agent with another framework
Claude Code
Use Apify MCP with Claude Code
Claude Cowork
Use Apify MCP with Claude Cowork
OpenAI Agents SDK
Use Apify MCP with OpenAI Agents SDK
Claude Agent SDK
Use Apify MCP with Claude Agent SDK
Codex
Use Apify MCP with Codex

Kimi Code
Use Apify MCP with Kimi Code

OpenClaw
Use Apify MCP with OpenClaw

Hermes
Use Apify MCP with Hermes
Atomic Agent
Use Apify MCP with Atomic Agent
CLI
Use Apify MCP with CLI
Google ADK
Use Apify MCP with Google ADK
LangChain
Use Apify MCP with LangChain
Vercel AI SDK
Use Apify MCP with Vercel AI SDK
Mastra AI
Use Apify MCP with Mastra AI
CrewAI
Use Apify MCP with CrewAI
Pydantic AI
Use Apify MCP with Pydantic AI
AutoGen
Use Apify MCP with AutoGen
Explore Other Toolkits
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.
Frequently asked questions
Not for the 39 tools that run on Instant. Composio runs those calls on its own Apify account, and you only add Composio to your agent. The other 145 tools need your own Apify key.
Yes. Every Composio account gets $2 of Instant credit once you turn on Instant, and you can use it on Apify or on any other Instant toolkit.
You can get about 4,400 reviews, about 2,000 jobs or about 400 ads. 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 Apify key.
You pay Apify's price for each call with 0% markup, plus the regular Composio tool call charge.
Yes. Connect your key from the Apify toolkit in your Composio dashboard. Composio always uses your own connection first, and it doesn't charge Instant for those calls.
You can use 39 of the 184 tools without a key, including Discover G2 Products, Scrape Booking Reviews, Scrape Meta/Facebook Ads, Scrape Facebook Comments, Scrape Facebook Events, Scrape Facebook Photos and 33 more. The other 145 tools need your own Apify key.
Composio is SOC 2 Type II compliant.
Start with Apify.It takes 30 seconds.
New accounts get a one-time $2 starter credit for Instant calls.Run Apify from your agent with no Apify 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
