apify-client
Apify API client for Python
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, requires only common dependencies, and is the official client for a widely-used platform. Install it if you need to orchestrate Apify Actors or manage Apify storage from Python; skip it if you only build Actors (use the Apify SDK instead) or don't use the Apify platform.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or higher.
- You must obtain an Apify API token from the Apify Console Integrations section.
- Low friction install with a pure-Python wheel.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
last release 2026-08-10 (4 days) · last repo commit 2026-08-12 · 97 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,726,378 downloads/mo, #2,918 on PyPI
Alternatives
Verify before relying
pip install apify-client
from apify_client import ApifyClient
client = ApifyClient('YOUR-APIFY-TOKEN')
run = client.actor('apify/hello-world').call(run_input={'message': 'Hello'})
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)- Whether the optional brotli extra dependency improves performance enough to justify installation for typical workloads.
- Performance characteristics when streaming large datasets or handling high-volume pagination.
- Specific retry and timeout defaults and how they compare to typical API client conventions.
What it is and what it does
apify-client is the official Python wrapper for the Apify platform's REST API. It provides both synchronous and asynchronous clients to orchestrate web scraping Actors, manage cloud storage (datasets, key-value stores, request queues), schedule recurring tasks, and configure webhooks—all from Python code. The library ships with Pydantic-validated typed responses, automatic exponential backoff retries, tiered timeout strategies, pagination and streaming helpers, and a pluggable HTTP layer (defaulting to impit but supporting httpx, requests, aiohttp, or custom implementations).
It's designed for developers who want to consume the Apify platform programmatically rather than build Actors themselves (for that, use the Apify SDK for Python instead). The client handles authentication via API token, compresses requests with gzip by default, offers structured error handling with ApifyApiError subclasses, and includes opt-in debug logging. Runtime dependencies are minimal: colorama, impit, more-itertools, and pydantic.
Use it for
- Trigger and monitor web scraping Actors from a Python application, then retrieve and process the results.
- Build a data pipeline that orchestrates multiple Apify Actors in sequence, passing data between them via datasets.
- Manage and query key-value stores and request queues programmatically to coordinate distributed scraping jobs.
- Stream live logs from running Actor jobs in real time to monitor progress or debug failures.
- Schedule recurring Apify tasks and manage webhooks to integrate Apify scraping into a larger automation workflow.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, requires only common dependencies, and is the official client for a widely-used platform. Install it if you need to orchestrate Apify Actors or manage Apify storage from Python; skip it if you only build Actors (use the Apify SDK instead) or don't use the Apify platform.
Install
apify-client on PyPI
Before you install
Low friction install with a pure-Python wheel. Actively maintained with a release 4 days old and recent commits. Requires Python 3.11 or higher.
Requires Python 3.11 or higher. You must obtain an Apify API token from the Apify Console Integrations section.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
Quickstart
pip install apify-client
from apify_client import ApifyClient
client = ApifyClient('YOUR-APIFY-TOKEN')
run = client.actor('apify/hello-world').call(run_input={'message': 'Hello'})
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)
Verify before relying
- Whether the optional brotli extra dependency improves performance enough to justify installation for typical workloads.
- Performance characteristics when streaming large datasets or handling high-volume pagination.
- Specific retry and timeout defaults and how they compare to typical API client conventions.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagescoloramaimpitmore-itertoolspydantic |
| Maintenance | Actively maintained 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,726,378 / month, #2,918 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries |
Evidence: apify_client-3.1.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “apify api client python”
- apify-clientA Python client library for the Apify REST API that lets you run…
- apify-sharedApify Shared Python is a deprecated package that formerly provided…
- apifyApify SDK for Python is the official framework for building and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also apify · apify-shared · dapr · pipedream · python-intercom · apimatic-core · Spark · arcadepy · letta-client · cloudflare