AB

Actor Build Starter

Run builds for multiple actors in your account simultaneously. This can be useful when many actors in a given project have been updated. For example, the documentation might have been updated in 50 actors. This tool will help you trigger actor builds for all 50 at once.

To run the code examples, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token that you can find under Settings > Integrations. For a more detailed explanation, please read about running Actors via the API in Apify Docs.

List of most relevant API endpoints

See API reference for full details.

Run Actor synchronously and get dataset items

Runs this Actor and waits for it to finish. The POST payload including its Content-Type header is passed as INPUT to the Actor (usually application/json). The HTTP response contains the Actor's dataset items, while the format of items depends on specifying dataset items' format parameter.

POSThttps://api.apify.com/v2/acts/fjvs0283~actor-batch-builder/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>

Hint: This endpoint can be used with both POST and GET request methods, but only the POST method allows you to pass input.

Run Actor synchronously

Runs this Actor and waits for it to finish. The POST payload including its Content-Type is passed as INPUT to the Actor (usually application/json) and the OUTPUT is returned in the HTTP response. The Actor is started with the default options; you can override them using various URL query parameters. Note that long HTTP connections might break.

POSThttps://api.apify.com/v2/acts/fjvs0283~actor-batch-builder/run-sync?token=<YOUR_API_TOKEN>

Hint: This endpoint can be used with both POST and GET request methods, but only the POST method allows you to pass input.

Run Actor

Runs this Actor. The POST payload including its Content-Type header is passed as INPUT to the Actor (typically application/json). The Actor is started with the default options; you can override them using various URL query parameters.

POSThttps://api.apify.com/v2/acts/fjvs0283~actor-batch-builder/runs?token=<YOUR_API_TOKEN>

Hint: By adding the method=POST query parameter, this API endpoint can be called using a GET request and thus used in third-party webhooks.

Get Actor

Returns settings of this Actor in JSON format.

GEThttps://api.apify.com/v2/acts/fjvs0283~actor-batch-builder?token=<YOUR_API_TOKEN>

Get list of Actor versions

Returns a list of versions of this Actor in JSON format.

GEThttps://api.apify.com/v2/acts/fjvs0283~actor-batch-builder/versions?token=<YOUR_API_TOKEN>

Get list of Actor webhooks

Returns a list of webhooks of this Actor in JSON format.

GEThttps://api.apify.com/v2/acts/fjvs0283~actor-batch-builder/webhooks?token=<YOUR_API_TOKEN>