Apify Actor icon

Apify Actor

Run any Apify actor and get results. By John Rippy.

Apify Actor

AI-generated

Summary

Runs the specified Apify actor for each incoming item, passing the configured JSON input. With “Wait for Finish” enabled, it returns dataset items after a successful run; otherwise, or when the waited run is not successful, it returns the run ID, status, and dataset ID.

Inputs

  • Actor ID (required) — Apify actor ID, such as localhowl~citation-checker.
  • Input — JSON object sent as the actor run input; defaults to {}.
  • Wait for Finish — Defaults to true. When enabled, the API request waits up to the configured timeout for the actor run.
  • Timeout (seconds) — Maximum wait time for the run when waiting is enabled; defaults to 300 seconds.

Output shape

One output item per incoming item, each containing a JSON object.

On a successful waited run, the object contains runId, status, and items (the default dataset contents). Otherwise it contains runId, status, and datasetId. Requires Apify API credentials. API or input parsing errors are raised as node errors.

Links

Discussion