Skip to main content

Setup

Put them in your environment or .env; Data APIs covers the other ways.

Notes

  • Apify is a platform of Actors: the data source is the Actor you run (store.search finds them), and each Actor defines its own JSON input. This catalog covers the platform calls; Actor inputs go through the raw call.
  • Runs are asynchronous: actors.run, then poll actor_runs.get until finished, then read actor_runs.dataset_items (or use actors.run_sync_items for runs under 300 seconds).
  • Runs cost money (compute units plus any pay-per-result or pay-per-event fees); maxTotalChargeUsd caps a run.
  • Lists page by offset and limit; results come wrapped in data with total, count and items. Actor ids are id or username~actor-name.

Endpoints

Get your account

Get your account limits

Get monthly usage

List your Actors

Get an Actor

List your Actor runs

Get an Actor run

  • Poll until status is SUCCEEDED, FAILED, ABORTED or TIMED-OUT.

Get a run’s output items

Get dataset items

List your Actor tasks