Overview
Add Apify to any ModuleX agent or workflow. Web scraping, automation, and data extraction platform via the Apify REST API (api.apify.com/v2).
Categories: Web Search & Scraping · Developer Tools & Infrastructure · Automation · Auth: API Token · Actions: 7
Authentication
API Token
Authenticate using your Apify API token1
Step 1
2
Step 2
Copy your Personal API token
Required Credentials
Available Actions
run_actor — Run an Apify Actor and return the run metadata
run_actor — Run an Apify Actor and return the run metadata
Parameters
string
required
The Actor ID or tilde-separated owner/name identifier (e.g. ‘apify~web-scraper’)
object
JSON object with the input for the Actor run
string
Specifies the Actor build to run. If not provided, the default build is used.
boolean
If true, returns immediately with run metadata. If false, waits for completion. (Default:
true)integer
Optional timeout for the run, in seconds
integer
Memory limit for the run, in megabytes (power of 2, min 128)
integer
The maximum number of items that the Actor run should return
Response
run_task — Start an Apify task and return its run metadata
run_task — Start an Apify task and return its run metadata
Parameters
string
required
The ID of the task to run
string
Optional JSON string to override the default input for the task run
integer
Optional timeout for the run, in seconds
integer
Memory limit for the run, in megabytes (power of 2, min 128)
string
Specifies the Actor build to run (build tag or number)
Response
run_task_synchronously — Run an Apify task synchronously and return its dataset items
run_task_synchronously — Run an Apify task synchronously and return its dataset items
Parameters
string
required
The ID of the task to run
integer
Optional timeout for the run, in seconds
integer
Memory limit for the run, in megabytes (power of 2, min 128)
string
Specifies the Actor build to run (build tag or number)
integer
The maximum number of dataset items to return (Default:
100)Response
get_dataset_items — Retrieve items from an Apify dataset
get_dataset_items — Retrieve items from an Apify dataset
Parameters
string
required
The ID of the dataset to retrieve items from
integer
The number of records to skip before returning results (Default:
0)integer
The maximum number of items to return (Default:
100)boolean
Return only non-empty items and skip hidden fields (fields starting with #)
string
Comma-separated list of field names to include in results
Response
get_kvs_record — Get a record from an Apify key-value store
get_kvs_record — Get a record from an Apify key-value store
scrape_single_url — Scrape a single URL using Apify's Web Content Crawler and return its content
scrape_single_url — Scrape a single URL using Apify's Web Content Crawler and return its content
set_key_value_store_record — Create or update a record in an Apify key-value store
set_key_value_store_record — Create or update a record in an Apify key-value store
Limits & Quotas
- Rate limits depend on Apify plan: Free tier has limited concurrent runs; paid plans scale to hundreds.
- Actor runs are billed by compute units (CU) based on memory and duration.
- Synchronous run endpoints have a default server timeout of 300 seconds.
- Error model: non-2xx responses and timeouts are caught and returned as
success=False+errorrather than raising.