Skip to main content
GET
cURL
Use GET /dca/dataset?id=<collection_id> to retrieve the results of an asynchronous Bright Data Scraper Studio batch collection. While the collection is still running, the endpoint returns a status object. When the collection is ready, it returns a JSON array of records. For the full trigger, poll and parse walkthrough in cURL, Python and Node.js, see the Quickstart.
Use the collection_id returned by POST /dca/trigger as the id query parameter in this endpoint.
Batch collection results are 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):
When the collection is ready (HTTP 200):
The exact field set depends on the output schema you defined when you built the collector. One row per successful input by default.

Retrieving results

While the collection is still running, the endpoint returns 202 Accepted with a status object. When the collection is ready, it returns 200 OK with a JSON array of records. For long-running collections, which can take minutes or hours, avoid frequent polling. Use one of these options instead:
  • Check the collection status periodically with longer intervals.
  • Configure a push delivery method, such as webhook, Amazon S3, Google Cloud Storage, Azure Blob Storage, SFTP/FTP or email.
  • Use the dashboard to monitor run progress.
Batch collection results are retained for 16 days. Download the data within the retention window or configure push delivery to store results automatically. The Node.js and Python starters implement status checks with exponential-backoff retry on transient errors.

Errors

Authorizations

Authorization
string
header
required

Use your Bright Data API Key as a Bearer token in the Authorization header.

How to authenticate:

  1. Obtain your API Key from the Bright Data account settings at https://brightdata.com/cp/setting/users
  2. Include the API Key in the Authorization header of your requests
  3. Format: Authorization: Bearer YOUR_API_KEY

Example:

Learn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication

Query Parameters

id
string
required

Collection ID returned by POST /dca/trigger. Use this value as the id query parameter.

Example:

"j_abc123def456"

Response

Dataset (Ready)