Skip to main content
POST
cURL
This endpoint does not return the scrape data. It returns a response_id. Use that response_id with the Realtime Data endpoint to retrieve the result when the scrape is complete.

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

collector
string
required

A unique identification of the collector to run

Example:

"COLLECTOR_ID"

version
string

Set to dev to trigger the development version of the scraper

Body

application/json

A single input object. The fields must match the input schema defined for the collector. Some collectors take url, others take fields such as keyword, location or state.

Single input object whose fields match the collector input schema.

url
string<uri>

Example field for collectors that take a target URL. Replace with the fields your collector expects.

Response

200 - application/json

Returns immediately with a response_id. Use this ID with the Realtime Data endpoint to retrieve the result.

response_id
string

ID of the asynchronous real-time job. Use this value to retrieve the result from the Realtime Data endpoint.