If needed, the result can be divided into several parts:
-
Download the first part by specifying a
batch_size
andpart=1
- Check how many part were created using this endpoint
-
Download the rest of the parts by changing the
part
parameter. (batch_size
,format
andcompress
must stay the same for each call)
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"
Query Parameters
Format of the data to be received
Available options:
json
, ndjson
, jsonl
, csv
Whether the result should be compressed or not
Divide into batches of X records
Required range:
x >= 1000
If batch_size was provided, specify which part to download
Response
200 - application/json
OK
Data in the desired format