Apify API client for Python—Programmatically run Actors, manage and stream data from storages (datasets, key-value stores, request queues), schedule and monitor runs, and access the full Apify plat…
95 stars18 forksPythonUpdated 7/28/2026100% free · open source
What it does
The apify-client-python tool allows you to programmatically interact with the Apify platform, running Actors, managing data, and scheduling runs from within your Python applications.
Install / run
pip install apify-client
When to use it
•When you need to automate tasks on the Apify platform
•To integrate Apify's data extraction and processing capabilities into your Python applications
•For scheduling and monitoring Apify Actor runs from your Python code
Quick start
1Import the client library with `from apify_client import ApifyClient`
2Create an instance of the client with `client = ApifyClient('YOUR_API_TOKEN')`
3Use the client to run an Actor with `client.actor('YOUR_ACTOR_ID').call()`
4Fetch data from a dataset with `client.dataset('YOUR_DATASET_ID').get_items()`
5Schedule a run with `client.actor('YOUR_ACTOR_ID').schedule()`