Batch Runner
No credit card required
Batch Runner
No credit card required
Actor for starting several Runs from single Input. It also has capability to merge the Dataset items from the created batch.
You can access the Batch Runner programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.
1echo '{
2 "batch": [
3 {
4 "actorId": "useful-tools/wait-and-finish",
5 "input": {
6 "minWaitTime": 30,
7 "dataset": {
8 "items": [
9 {
10 "key": "value1"
11 }
12 ]
13 }
14 }
15 },
16 {
17 "actorId": "useful-tools/wait-and-finish",
18 "input": {
19 "dataset": {
20 "items": [
21 {
22 "key": "value1"
23 },
24 {
25 "key": "value2"
26 }
27 ]
28 }
29 }
30 }
31 ],
32 "maxConcurrency": 25,
33 "maxMemoryMb": 32768
34}' |
35apify call useful-tools/batch-runner --silent --output-dataset
Batch Runner API through CLI
The Apify CLI is the official tool that allows you to use Batch Runner locally, providing convenience functions and automatic retries on errors.
Install the Apify CLI
1npm i -g apify-cli
2apify login
Other API clients include:
Actor Metrics
3 monthly users
-
5 stars
>99% runs succeeded
Created in Sep 2023
Modified 2 months ago