cURL
Scraper Studio API
Receive batch data
GET /dca/dataset?id=<id> serves a Bright Data Scraper Studio collection: a status object while building, a JSON array of records when ready.
GET
cURL
Download the dataset produced by a triggered Bright Data Scraper Studio collection. The same endpoint serves both the in-progress response (a status object) and the ready response (a JSON array of records). For the polling pattern in cURL, Python and Node.js, see the Quickstart.Documentation Index
Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
Use this file to discover all available pages before exploring further.
Result data is available for download for 16 days after collection. To avoid expiration, download the data within 16 days or configure a push delivery method to send it to your storage automatically.
Request
Response
While the collection is still building (HTTP 202):Polling pattern
Poll at fixed five-second intervals until you receive a non-empty JSON array. The starter templates implement this with exponential-backoff retry on transient errors and a five-minute timeout default. See the Node.js or Python starter for the full implementation.Errors
| Status | Cause | Fix |
|---|---|---|
401 Unauthorized | Token missing, malformed or revoked | Re-copy from Account Settings → API Tokens |
404 Not Found | Collection ID does not exist, was deleted or has expired (16 days) | Re-trigger the collector if the data is still needed |
[] (empty array) | Collection completed but produced no rows | Check the input URLs and the collector’s output schema |
5xx | Transient Bright Data API error | Retry with exponential backoff, for example 1s, 2s, 4s |
Related
- Trigger async batch collection: the endpoint that creates the collection
- Job data: job-level metadata (status, page counts, error counts)
- Get errors for a job: per-input error details
- Choose a delivery type: alternative to polling (webhook, S3, GCS, etc.)
Authorizations
Use your Bright Data API Key as a Bearer token in the Authorization header.
How to authenticate:
- Obtain your API Key from the Bright Data account settings at https://brightdata.com/cp/setting/users
- Include the API Key in the Authorization header of your requests
- Format:
Authorization: Bearer YOUR_API_KEY
Example:
Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df
Learn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication
Query Parameters
The ID of the dataset to retrieve.
Response
Dataset (Ready)