Skip to main content
This guide walks you through setting up the ZenRows® Batch Scraper API. You’ll confirm your access, locate your API key, authenticate, submit your first batch job, and download the results end to end.
The Batch Scraper API is currently in public beta, available to every ZenRows account. You just need an active ZenRows API key; your existing Universal Scraper API key works without any extra setup.

Initial Setup

Follow these steps to get ready:
1

Sign in to ZenRows

Visit the Registration Page to create an account, or log in if you already have one. The Batch Scraper API uses the same API key as the Universal Scraper API, which you’ll find in your dashboard.
2

Note the base URL

All REST requests go to https://async.api.zenrows.com/v1.

Authentication

Authenticate every request with your API key in the X-API-Key header. For security, the key travels in a header and never in the URL.
Store the key in an environment variable so your code can read it instead of hard-coding it:

Submit Your First Job

This minimal example submits a closed job (one where you know all URLs up front) with JavaScript rendering enabled. Replace YOUR_ZENROWS_API_KEY with your key.
The response includes a job_id and the initial run status. Poll GET /jobs/{id} until the run reaches a terminal state (finished and no longer changing), then collect the results.

Get Your Results

Once the run is complete, list the successful tasks and download each one’s scraped content. Every result row carries a result_url, a presigned link to the scraped page that is valid for 2 hours. Replace JOB_ID with the job_id from the submit response.
Want to see the cost before you run anything? You can estimate usage client-side with no API call. See Estimate cost.

Next Steps

Developer Guide: REST API

Every feature against the REST API: open jobs, CSV upload, scheduling, webhooks, and more.

Troubleshooting

Diagnose authentication, submission, download, and webhook issues fast.

FAQ

Quick answers on access, pricing, limits, and scraping options.