Apify Documentation organizes Apify content, including Apify API, Apify API client for JavaScript, Apify API client for Python, Experimental API clients and 15 additional sections.
Showing the first 18000 characters. Load the complete file to read the remainder.
# Apify Documentation
> Apify is the largest marketplace of tools for AI. Thousands of ready-made Actors to automate your business. Get real-time web data, track competitors, generate leads, analyze sentiment, and orchestrate your apps. Actors are created by a global community of builders earning over $1M every month. Apify takes care of infrastructure, billing, and distribution.
The entire content of Apify documentation is available in a single Markdown file at https://docs.apify.com/llms-full.txt
For pricing details, see https://apify.com/pricing.md
For autonomous AI agents, the Apify Agent General Interface (AGI) at https://agi.apify.com is the entry point to use and pay for the Apify platform and Actors through agentic payment protocols like x402 or MPP, without account setup or ongoing billing.
## Apify API
- [Apify API documentation](https://docs.apify.com/api.md)
- [Apify API](https://docs.apify.com/api/v2.md): The Apify API (version 2) provides programmatic access to the [Apify
- [Manage Actor builds](https://docs.apify.com/api/v2/actor-builds.md): Manage Actor builds
- [Manage Actor runs](https://docs.apify.com/api/v2/actor-runs.md): Manage Actor runs
- [Manage Actor tasks](https://docs.apify.com/api/v2/actor-tasks.md): Manage Actor tasks
- [Actors](https://docs.apify.com/api/v2/actors.md): Actors
- [Actor builds](https://docs.apify.com/api/v2/actors-actor-builds.md): Actor builds
- [Actor runs](https://docs.apify.com/api/v2/actors-actor-runs.md): Actor runs
- [Actor versions](https://docs.apify.com/api/v2/actors-actor-versions.md): Actor versions
- [Webhook collections](https://docs.apify.com/api/v2/actors-webhook-collection.md): Webhook collections
- [Default dataset](https://docs.apify.com/api/v2/default-dataset.md): Default dataset
- [Default key-value store](https://docs.apify.com/api/v2/default-key-value-store.md): Default key-value store
- [Default request queue](https://docs.apify.com/api/v2/default-request-queue.md): Default request queue
- [Get started with Apify API](https://docs.apify.com/api/v2/getting-started.md): The Apify API provides programmatic access to the [Apify platform](https://docs.apify.com).
- [Last Actor run's abort](https://docs.apify.com/api/v2/last-actor-runs-abort.md): Last Actor run's abort
- [Last Actor run's default dataset](https://docs.apify.com/api/v2/last-actor-runs-default-dataset.md): Last Actor run's default dataset
- [Last Actor run's default key-value store](https://docs.apify.com/api/v2/last-actor-runs-default-key-value-store.md): Last Actor run's default key-value store
- [Last Actor run's default request queue](https://docs.apify.com/api/v2/last-actor-runs-default-request-queue.md): Last Actor run's default request queue
- [Last Actor run's log](https://docs.apify.com/api/v2/last-actor-runs-log.md): Last Actor run's log
- [Last Actor run's metamorph](https://docs.apify.com/api/v2/last-actor-runs-metamorph.md): Last Actor run's metamorph
- [Last Actor run's reboot](https://docs.apify.com/api/v2/last-actor-runs-reboot.md): Last Actor run's reboot
- [Last Actor task run's abort](https://docs.apify.com/api/v2/last-actor-task-runs-abort.md): Last Actor task run's abort
- [Last Actor task run's default dataset](https://docs.apify.com/api/v2/last-actor-task-runs-default-dataset.md): Last Actor task run's default dataset
- [Last Actor task run's default key-value store](https://docs.apify.com/api/v2/last-actor-task-runs-default-key-value-store.md): Last Actor task run's default key-value store
- [Last Actor task run's default request queue](https://docs.apify.com/api/v2/last-actor-task-runs-default-request-queue.md): Last Actor task run's default request queue
- [Last Actor task run's log](https://docs.apify.com/api/v2/last-actor-task-runs-log.md): Last Actor task run's log
- [Last Actor task run's metamorph](https://docs.apify.com/api/v2/last-actor-task-runs-metamorph.md): Last Actor task run's metamorph
- [Last Actor task run's reboot](https://docs.apify.com/api/v2/last-actor-task-runs-reboot.md): Last Actor task run's reboot
- [Get build and run logs](https://docs.apify.com/api/v2/logs.md): Get build and run logs
- [Manage schedules](https://docs.apify.com/api/v2/schedules.md): Manage schedules
- [Datasets](https://docs.apify.com/api/v2/storage-datasets.md): Datasets
- [Key-value stores](https://docs.apify.com/api/v2/storage-key-value-stores.md): Key-value stores
- [Request queues](https://docs.apify.com/api/v2/storage-request-queues.md): Request queues
- [Requests](https://docs.apify.com/api/v2/storage-request-queues-requests.md): Requests
- [Requests locks](https://docs.apify.com/api/v2/storage-request-queues-requests-locks.md): Requests locks
- [Get data from Apify Store](https://docs.apify.com/api/v2/store.md): Get data from Apify Store
- [Test proxy](https://docs.apify.com/api/v2/tools.md): Test proxy
- [Get user data](https://docs.apify.com/api/v2/users.md): Get user data
- [Manage usage and limits](https://docs.apify.com/api/v2/users-usage.md): Manage usage and limits
- [Webhook dispatches](https://docs.apify.com/api/v2/webhooks-webhook-dispatches.md): Webhook dispatches
- [Webhooks](https://docs.apify.com/api/v2/webhooks-webhooks.md): Webhooks
## Apify API client for JavaScript
- [Overview](https://docs.apify.com/api/client/js/docs.md): The official JavaScript library to access the Apify API, with automatic retries, TypeScript support, and cross-platform compatibility.
- [Quick start](https://docs.apify.com/api/client/js/docs/introduction/quick-start.md): Get started with the Apify API client for JavaScript by running an Actor and retrieving results from its dataset.
- [Usage patterns](https://docs.apify.com/api/client/js/docs/concepts/usage-patterns.md): Learn the resource client and collection client patterns used by the Apify API client for JavaScript.
- [Convenience functions](https://docs.apify.com/api/client/js/docs/concepts/convenience-functions.md): Use call(), waitForFinish(), and other convenience functions in the Apify API client for JavaScript.
- [Error handling and retries](https://docs.apify.com/api/client/js/docs/concepts/error-handling.md): Handle API errors and configure automatic retries with exponential backoff in the Apify API client for JavaScript.
- [Pagination](https://docs.apify.com/api/client/js/docs/concepts/pagination.md): Paginate through large result sets and use async iteration with the Apify API client for JavaScript.
- [Use in bundled environments](https://docs.apify.com/api/client/js/docs/concepts/bundled-environments.md): Use the Apify API client for JavaScript in browsers, Cloudflare Workers, and other edge runtimes.
- [Code examples](https://docs.apify.com/api/client/js/docs/guides/examples.md): Practical code examples for common tasks with the Apify API client for JavaScript, including webhooks and datasets.
- [Changelog](https://docs.apify.com/api/client/js/docs/changelog.md)
- [apify-client reference](https://docs.apify.com/api/client/js/reference.md)
## Apify API client for Python
- [Overview](https://docs.apify.com/api/client/python/docs.md): The official Python library to access the Apify API, with automatic retries, async support, and comprehensive API coverage.
- [Quick start](https://docs.apify.com/api/client/python/docs/introduction/quick-start.md): Get started with the Apify API client for Python by running an Actor and retrieving results from its dataset.
- [Single and collection clients](https://docs.apify.com/api/client/python/docs/concepts/single-and-collection-clients.md): Understand the two main types of clients for managing API resources.
- [Convenience methods](https://docs.apify.com/api/client/python/docs/concepts/convenience-methods.md): Convenience methods to handle actions that the API alone cannot perform efficiently.
- [Error handling](https://docs.apify.com/api/client/python/docs/concepts/error-handling.md): The client automatically extracts data, converts date strings to datetime objects, and raises ApifyApiError on errors.
- [Pagination](https://docs.apify.com/api/client/python/docs/concepts/pagination.md): Work with paginated data using the ListPage object returned by list methods.
- [Asyncio support](https://docs.apify.com/api/client/python/docs/concepts/asyncio-support.md): Use the asynchronous ApifyClientAsync to interact with the Apify API using Python's async/await syntax.
- [Retries](https://docs.apify.com/api/client/python/docs/concepts/retries.md): Automatic retries for requests that fail due to network issues or rate limiting.
- [Nested clients](https://docs.apify.com/api/client/python/docs/concepts/nested-clients.md): Use nested clients to simplify working with related collections like Actor runs.
- [Streaming resources](https://docs.apify.com/api/client/python/docs/concepts/streaming-resources.md): Stream dataset items, key-value store records, and logs incrementally without downloading entirely into memory.
- [Logging](https://docs.apify.com/api/client/python/docs/concepts/logging.md): Configure the apify_client logger to print debug information about API requests.
- [Passing input to Actor](https://docs.apify.com/api/client/python/docs/guides/passing-input-to-actor.md): Run an Actor and retrieve results by passing input data directly to the call method.
- [Retrieve Actor data](https://docs.apify.com/api/client/python/docs/guides/retrieve-actor-data.md): Retrieve, paginate, merge, and export Actor output data from datasets.
- [Manage tasks for reusable input](https://docs.apify.com/api/client/python/docs/guides/manage-tasks-for-reusable-input.md): Create multiple tasks with different input configurations for the same Actor.
- [Integration with data libraries](https://docs.apify.com/api/client/python/docs/guides/integration-with-data-libraries.md): Load dataset items directly into a Pandas DataFrame for efficient manipulation and analysis.
- [Upgrading to v2](https://docs.apify.com/api/client/python/docs/upgrading/upgrading-to-v2.md): Breaking changes between Apify Python API Client v1.x and v2.0.
- [Changelog](https://docs.apify.com/api/client/python/docs/changelog.md)
- [apify-client reference](https://docs.apify.com/api/client/python/reference.md)
## Experimental API clients
- [Apify API client for Rust](https://raw.githubusercontent.com/apify/apify-client-rust/refs/heads/master/README.md). Install by adding `apify-client` to `Cargo.toml`.
- [Apify API client for Go](https://raw.githubusercontent.com/apify/apify-client-go/refs/heads/master/README.md). Install with `go get github.com/apify/apify-client-go`.
- [Apify API client for PHP](https://raw.githubusercontent.com/apify/apify-client-php/refs/heads/master/README.md). Install with `composer require apify/apify-client`.
- [Apify API client for Java](https://raw.githubusercontent.com/apify/apify-client-java/refs/heads/master/README.md). Install from Maven Central as `com.apify:apify-client`.
- [Apify API client for .NET](https://raw.githubusercontent.com/apify/apify-client-dotnet/refs/heads/master/README.md). Install with `dotnet add package Apify.Client`.
## Apify SDK for JavaScript
- [Apify SDK for JavaScript](https://docs.apify.com/sdk/js/docs/overview.md): The official library for creating Apify Actors in JavaScript, providing tools for web crawling, scraping, and automation at scale.
- [Quick start](https://docs.apify.com/sdk/js/docs/introduction/quick-start.md): Get started with the Apify SDK for JavaScript by creating your first Actor.
- [Actor lifecycle](https://docs.apify.com/sdk/js/docs/concepts/actor-lifecycle.md): Understanding Actor lifecycle, initialization, and the Apify platform.
- [Environment Variables](https://docs.apify.com/sdk/js/docs/concepts/environment-variables.md): Environment variables used by Apify SDK.
- [Proxy Management](https://docs.apify.com/sdk/js/docs/concepts/proxy-management.md): IP address rotation and proxy configuration.
- [Request Storage](https://docs.apify.com/sdk/js/docs/concepts/request-storage.md): Request storage types for managing crawl queues.
- [Result Storage](https://docs.apify.com/sdk/js/docs/concepts/result-storage.md): Result storage types for saving crawl output.
- [Session Management](https://docs.apify.com/sdk/js/docs/concepts/session-management.md): SessionPool for managing browser sessions and cookies.
- [Running in Docker](https://docs.apify.com/sdk/js/docs/concepts/docker-images.md): Example Docker images to run your crawlers.
- [Pay-per-event Monetization](https://docs.apify.com/sdk/js/docs/concepts/pay-per-event.md): Monetize your Actors using the pay-per-event pricing model.
- [Basic crawler](https://docs.apify.com/sdk/js/docs/guides/basic-crawler.md): Bare-bones example using BasicCrawler.
- [Cheerio crawler](https://docs.apify.com/sdk/js/docs/guides/cheerio-crawler.md): Crawl URLs using plain HTTP requests and parse HTML with Cheerio.
- [Playwright crawler](https://docs.apify.com/sdk/js/docs/guides/playwright-crawler.md): Use PlaywrightCrawler for browser-based crawling.
- [Puppeteer crawler](https://docs.apify.com/sdk/js/docs/guides/puppeteer-crawler.md): Use PuppeteerCrawler for browser-based crawling.
- [Crawl all links on a website](https://docs.apify.com/sdk/js/docs/guides/crawl-all-links.md): Use enqueueLinks() to crawl entire websites.
- [Crawl a sitemap](https://docs.apify.com/sdk/js/docs/guides/crawl-sitemap.md): Download and crawl URLs from a sitemap.
- [Accept user input](https://docs.apify.com/sdk/js/docs/guides/accept-user-input.md): Accept and log user input in your Actor.
- [Add data to dataset](https://docs.apify.com/sdk/js/docs/guides/add-data-to-dataset.md): Save data to the default dataset.
- [Call actor](https://docs.apify.com/sdk/js/docs/guides/call-actor.md): Start an Apify Actor programmatically.
- [Setting up a TypeScript project](https://docs.apify.com/sdk/js/docs/guides/typescript-setup.md): TypeScript support in Apify SDK.
- [Upgrading to v3](https://docs.apify.com/sdk/js/docs/upgrading/upgrading-to-v3.md): Breaking changes between Crawlee (v3) and Apify SDK (v2).
- [Changelog](https://docs.apify.com/sdk/js/docs/changelog.md)
- [apify reference](https://docs.apify.com/sdk/js/reference.md)
## Apify SDK for Python
- [Overview](https://docs.apify.com/sdk/python/docs/overview.md): The official library for creating Apify Actors in Python, providing tools for web scraping, automation, and data storage integration.
- [Quick start](https://docs.apify.com/sdk/python/docs/quick-start.md): Get started with the Apify SDK for Python by creating your first Actor.
- [Actor lifecycle](https://docs.apify.com/sdk/python/docs/concepts/actor-lifecycle.md): How an Apify Actor starts, runs, and shuts down.
- [Actor input](https://docs.apify.com/sdk/python/docs/concepts/actor-input.md): Read Actor input from the default key-value store.
- [Actor configuration](https://docs.apify.com/sdk/python/docs/concepts/actor-configuration.md): Configure the Actor class using the Configuration class and environment variables.
- [Actor events & state persistence](https://docs.apify.com/sdk/python/docs/concepts/actor-events.md): Handle Actor events sent by the Apify platform during runtime.
- [Working with storages](https://docs.apify.com/sdk/python/docs/concepts/storages.md): Work with default or named storages for datasets, key-value stores, and request queues.
- [Proxy management](https://docs.apify.com/sdk/python/docs/concepts/proxy-management.md): Work around IP blocking using proxy servers.
- [Interacting with other Actors](https://docs.apify.com/sdk/python/docs/concepts/interacting-with-other-actors.md): Methods to interact with other Actors and tasks on the platform.
- [Accessing Apify API](https://docs.apify.com/sdk/python/docs/concepts/access-apify-api.md): Access Apify API features not covered by the SDK.
- [Creating webhooks](https://docs.apify.com/sdk/python/docs/concepts/webhooks.md): Configure webhooks to trigger actions on Actor events.
- [Logging](https://docs.apify.com/sdk/python/docs/concepts/logging.md): Logging through Python's standard logging module.
- [Pay-per-event monetization](https://docs.apify.com/sdk/python/docs/concepts/pay-per-event.md): Monetize your Actors using the pay-per-event pricing model.
- [Using Crawlee](https://docs.apify.com/sdk/python/docs/guides/crawlee.md): Use the Crawlee library in your Actors.
- [Using BeautifulSoup with HTTPX](https://docs.apify.com/sdk/python/docs/guides/beautifulsoup-httpx.md): Use BeautifulSoup with HTTPX in your Actors.
- [Using Playwright](https://docs.apify.com/sdk/python/docs/guides/playwright.md): Use Playwright for web scraping in your Actors.
- [Using Scrapy](https://docs.apify.com/sdk/python/docs/guides/scrapy.md): Use the Scrapy framework in your Actors.
- [Using Selenium](https://docs.apify.com/sdk/python/docs/guides/selenium.md): Use Selenium for web scraping in your Actors.
- [Using Parsel with Impit](https://docs.apify.com/sdk/python/docs/guides/parsel-impit.md): Combine Parsel and Impit libraries for scraping.
- [Running webserver](https://docs.apify.com/sdk/python/docs/guides/running-webserver.md): Run a web server inside your Actor.
- [Upgrading to v3](https://docs.apify.com/sdk/python/docs/upgrading/upgrading-to-v3.md): Breaking changes between Apify Python SDK v2.x and v3.0.
- [Changelog](https://docs.ap
Measured from the saved file
Linked document
UTF-8 text size
95.9 KB98250 bytes
Token count
22273o200k_base encoding
Markdown links
468468 distinct URLs
Fenced code blocks
0534 lines in the file
Size measures the captured UTF-8 text, not compressed transfer size. Tokens are counted with a named tokenizer; other models can count differently. Neither measure establishes context compatibility or answer quality.
Project H1
Apify Documentation
Opening blockquote
Apify is the largest marketplace of tools for AI. Thousands of ready-made Actors to automate your business. Get real-time web data, track competitors, generate leads, analyze sentiment, and orchestrate your apps. Actors are created by a global community of builders earning over $1M every month. Apify takes care of infrastructure, billing, and distribution.
Context architecture
How the content is divided
19 H2 sections organize 468 parsed Markdown links. 467 links point to .md or .markdown paths; 5 link occurrences use another hostname. Linked destinations have not been recursively validated.
H2 section
Links
UTF-8 bytes
Tokens
Apify APILine 12
42
4533
1245
Apify API client for JavaScriptLine 56
10
1824
397
Apify API client for PythonLine 69
18
3309
703
Experimental API clientsLine 90
5
850
214
Apify SDK for JavaScriptLine 98
23
3235
767
Apify SDK for PythonLine 124
23
3395
789
Apify CLILine 150
7
1044
256
Apify AcademyLine 160
115
28159
6339
Legal documentsLine 278
15
2809
621
accountLine 296
17
3727
776
actorsLine 316
65
15070
3271
agentsLine 384
5
1137
270
consoleLine 392
1
203
47
get-startedLine 396
4
876
209
integrationsLine 403
97
22207
5108
mcpLine 503
1
196
46
Show 3 more sections
H2 section
Links
UTF-8 bytes
Tokens
proxyLine 507
6
1342
296
securityLine 516
4
916
181
storageLine 523
10
2281
494
Link counts exclude parsed fenced and inline code and resolve relative destinations against the final endpoint. Section sizes cover the text below each H2 until the next H2.
Embedded material
Code, installation and API examples
Fenced blocks
0 closed
Declared languages
No fenced blocks detected
Package-install commands
3 detected in fenced or inline code
Authentication examples
0 fenced lines match API-key, Authorization, Bearer, OAuth or access-token patterns
HTTP request examples
0 fenced lines match request-method patterns
Authentication links
0 links have authentication-related labels
Embedded example text and links to further documentation are counted separately. A code block does not establish that a sample runs or that an authentication flow succeeds.
Detected installation lines
Source line 93 · inline
go get github.com/apify/apify-client-go
Source line 94 · inline
composer require apify/apify-client
Source line 96 · inline
dotnet add package Apify.Client
Publisher prioritization
The Optional section
No H2 section named “Optional” was detected in this file.
The community proposal uses Optional by convention for secondary links that can be skipped for a shorter context. This label does not establish that everything outside it is critical, or that the material inside it is deprecated.
Machine-readable routes
MCP references and configuration text
MCP-related text was detected in the captured file. 4 links have MCP-related labels or paths. 0 fenced lines match mcpServers, mcp_servers or an mcp add command.
Bounded prefix inspected; the whole body was not downloaded
A verified text response establishes a companion at the checked URL. It does not prove the bundle contains all product documentation, that generation is automated, or that it fits an assistant’s context window.
Change evidence
What can be said about freshness
This capture establishes a baseline. Update frequency cannot be determined from one observation.
Linked release and migration material
7 links have release, changelog, deprecation or migration terms in their labels or paths. These provide places to investigate product changes separately.
File changes can reveal documentation edits or navigation changes. They do not by themselves measure product release velocity, accuracy, agent adoption or AI visibility.
Counts use a deterministic parser, not a spec-compliance grade. Unusual Markdown and indented code can fall outside its recognized patterns. See the llms.txt proposal and tokenizer implementation.