Overview
ApifyTools extends ToolKit and integrates Apify Actors into your agents as callable tools. Apify is a platform with a marketplace of ready-to-use Actors for web scraping, data extraction, search engine scraping, social media scraping, and more. Each Actor you register becomes an individual tool that the model can call with the Actor’s input parameters.ToolKit: ApifyTools inherits from ToolKit. You get all base behavior (e.g.
include_tools, exclude_tools, timeout, use_async). See Creating ToolKit for the full API.Requires an API key. Sign up at Apify Console and get your token from the Integrations page.
Basic Usage
Multi-Actor Configuration
Register multiple Actors at once so the model can pick the best tool for the job:Actor Defaults
Useactor_defaults to pre-set input parameters for specific Actors. These values are always sent to the Actor but hidden from the LLM — the model won’t see or override them.
actor_defaults.
Popular Actors
You can register any Actor from the Apify Store. Here are some popular ones:| Actor ID | Description |
|---|---|
apify/rag-web-browser | Searches the web or fetches a URL, cleans and formats content for LLM/RAG use. |
apify/google-search-scraper | Scrapes Google Search results for a query, returning titles, URLs, and snippets. |
apify/website-content-crawler | Crawls an entire website and extracts clean text content from every page. |
apify/web-scraper | General-purpose web scraper with configurable page functions. |
compass/crawler-google-places | Extracts business data from Google Maps and Google Places. |
apify/instagram-scraper | Scrapes Instagram profiles, posts, hashtags, and locations. |
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| actors | str or List[str] | None | Single Actor ID or list of Actor IDs to register as tools. |
| apify_api_token | str | None | Apify API token. Falls back to APIFY_API_TOKEN environment variable. |
| actor_defaults | Dict[str, Dict[str, Any]] | None | Per-actor default input values. Keys are actor IDs, values are dicts of parameter → value. Hidden from the LLM and merged at call time. |

