Batch Runner
by useful-tools
Launch multiple Apify actor runs from one input and merge the results automatically. Perfect for large-scale scraping and data collection without the manual setup.
Opens on Apify.com
About Batch Runner
Ever needed to run the same scraper or automation job multiple times with different inputs, but didn't want to babysit the queue? That's where Batch Runner comes in. It lets you launch a whole series of runs from a single starting point, saving you the manual hassle of setting up each one individually. Once all those runs are finished, the real magic happens: it can automatically pull together all the collected data from each run and merge it into one clean, unified dataset. This is perfect for when you're scraping product listings across different cities, gathering data from multiple search terms, or processing a large list of URLs in manageable chunks. Instead of juggling dozens of separate outputs, you get one consolidated file. It turns a tedious, repetitive task into a simple, fire-and-forget operation. I use it to break down big jobs to stay within platform limits and to organize my results without the post-processing headache.
What does this actor do?
Batch Runner is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Batch Runner
Overview
Batch Runner is an Apify actor that manages multiple actor runs from a single input. It handles execution sequencing, resource constraints, and can optionally merge datasets from the completed runs.
Key Features
- Sequential Batch Execution: Runs a list of actors or existing runs one after another.
- Resource Management: Starts new runs only when platform memory limits allow, preventing overconsumption errors.
- Dataset Merging: Optionally combines the default datasets from all successful runs into a single output dataset.
- Flexible Failure Handling: Configurable to either fail the entire batch on any run failure or continue with remaining tasks.
How to Use
Configure the actor with an input object specifying the tasks to run and execution options. The actor processes each item in the batch array in order, waiting for resources and completion as needed.
Input/Output
Input Schema
The input is a JSON object with the following properties:
batch(Array, Required): A list of tasks. Each task can be:- An object with a
runIdto wait for an existing run. - An object defining a new actor run (
actorId,input,timeout,build,memoryMb).
- An object with a
mergeDatasets(Boolean, Optional, Default:false): Iftrue, merges items from the default dataset of each successful run into the Batch Runner's own default dataset.failOnAnyRunFails(Boolean, Optional, Default:false): Iftrue, the entire batch fails immediately when any individual run fails. Iffalse, it continues with the remaining tasks.
Example Input:
{
"batch": [
{ "runId": "UuwtsB8GJ4JpsqTdh" },
{
"actorId": "useful-tools/wait-and-finish",
"input": { "minWaitTime": 30 },
"memoryMb": 256
}
],
"mergeDatasets": true,
"failOnAnyRunFails": false
}
Output
The actor's run output contains a summary. If mergeDatasets is enabled, the merged results are available in the actor's default dataset.
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Batch Runner now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- useful-tools
- Pricing
- Paid
- Total Runs
- 14,130
- Active Users
- 51
Related Actors
Video Transcript Scraper: Youtube, X, Facebook, Tiktok, etc.
by invideoiq
Linkedin Profile Details Scraper + EMAIL (No Cookies Required)
by apimaestro
Twitter (X.com) Scraper Unlimited: No Limits
by apidojo
Content Checker
by jakubbalada
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support