跳转到主要内容
POST
/
dca
/
trigger_immediate
cURL
curl --request POST \
  --url https://api.brightdata.com/dca/trigger_immediate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "url": "https://targetwebsite.com/product_id/"
}
'
{
  "response_id": "<response_id>"
}

Authorizations

Authorization
string
header
required

在 Authorization 头中使用您的 Bright Data API Key 作为 Bearer token。

如何认证:

  1. 从 Bright Data 账户设置获取您的 API Key:https://brightdata.com/cp/setting/users
  2. 在请求的 Authorization 头中包含 API Key
  3. 格式:Authorization: Bearer YOUR_API_KEY

示例:

Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df

了解如何获取 Bright Data API Key: https://docs.brightdata.com/cn/api-reference/authentication

Query Parameters

collector
string
required

scraper 的唯一标识

version
string

设置为 dev 以触发 scraper 的开发版本

name
string

human_name - 批处理的可读名称

Body

application/json
url
string<uri>

Response

200 - application/json

OK