- Asynchronous Usage: Trigger a data collection job via the async endpoint (
/trigger
), receive asnapshot_id
, and poll the Monitor Progress API until the status is ready, then download the results. - Synchronous Usage: If a sync request (
/scrape
) exceeds the 1-minute timeout, receive asnapshot_id
to poll the Monitor Progress API and download the results once they are ready.
If the request takes too long, we recommend sending an Asynchronous request.
Authorizations
Use your Bright Data API Key as a Bearer token in the Authorization header.
Get API Key from: https://brightdata.com/cp/setting/users.
Example:
Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df
Path Parameters
The ID that was returned when the collection was triggered
Example:
"s_m4x7enmven8djfqak"