Apify Run Actor
apify_run_actorRun an Apify Actor (a cloud scraping/automation program) and get its dataset results in a single blocking call. The run is capped at 300 seconds. Pass the Actor input as an input object — its shape depends on the Actor. Example: apify_run_actor({ actorId: "apify~web-scraper", input: { startUrls: [{ url: "https://example.com" }] }, _apiKey: "your-token" }). Browse Actors at https://apify.com/store.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | The Actor input JSON. Passed as the run INPUT. Shape is Actor-specific — see the Actor page in the Apify Store. Optional; defaults to {}. | |
| _apiKey | Yes | Your Apify API token (get one at https://console.apify.com/sign-up, Settings → Integrations). | |
| actorId | Yes | Actor identifier. Use the tilde form "username~actor-name" (e.g. "apify~web-scraper"), a "username/actor-name" form (auto-normalized to tilde), or the raw Actor ID. |