curl "https://api.brightdata.com/dca/trigger?collector=ID_COLLECTOR&queue_next=1" -H "Content-Type: application/json" -H "Authorization: Bearer API_KEY" -d '[{"url":"https://targetwebsite.com/product_id/"}]'
{
 "collection_id": "ID_DATASET",
 "start_eta": "2021-11-07T13:26:22.702Z"
}
API Endpoint: POST /dca/trigger?collector={ID_COLLECTOR}

POST Body

Authorization
string
required
raw JSON -d '[{"url":"https://targetwebsite.com/product_id/"}]'

Query Parameters

collector
string
required
A unique identification of scraper
version
string
Set to dev to trigger the development version of the scraper
name
string
human_name - A human readable name for the batch

Choose trigger_behavior parameters:

queue_next
int
default:"1"
If there’s already something in the crawl queue, push this job into the queue
queue
string
Send another batch of requests that will start after the last one is finished
confirm_cancel
int
default:"1"
Cancel running job and run instead, submit the request and cancel running one
no_downloads
int
default:"1"
Disable media file download
deadline
string
Set job time deadline, job will be terminated after specified time
  • h : hours
  • m : minutes
  • s : seconds

Headers

Authorization
string
required
Authorization Bearer Key -H "Authorization: Bearer API_KEY"
Content-Type
string
required
JSON/CSV/Multipart -H "Content-Type: application/json"
{
 "collection_id": "ID_DATASET",
 "start_eta": "2021-11-07T13:26:22.702Z"
}
curl "https://api.brightdata.com/dca/trigger?collector=ID_COLLECTOR&queue_next=1" -H "Content-Type: application/json" -H "Authorization: Bearer API_KEY" -d '[{"url":"https://targetwebsite.com/product_id/"}]'