Run an Apify actor
run_actorRun an Apify actor with explicit input, returning run and dataset handles for progress tracking and result retrieval. Use for complex scrapes beyond simple URL fetching.
Instructions
Start an allowlisted Apify actor with an explicit input object. Returns run_id and dataset_id handles for get_run_status / fetch_dataset_items / validate_dataset. Costs Apify credits. Prefer scrape_url for simple page scrapes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Actor input object, passed through as-is | |
| actor_id | Yes | Actor to run, e.g. "apify/website-content-crawler" | |
| memory_mb | No | ||
| wait_secs | No | 0 = return immediately with a run handle; >0 = wait up to this long for completion | |
| timeout_secs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | ||
| status | Yes | ||
| dataset_id | Yes | ||
| status_message | Yes |