Learn how to add custom fields to your input schema for enhanced data management and retrieval.
id, row_index, or any internal key so you can easily match results back to the original input rows.Use your Bright Data API Key as a Bearer token in the Authorization header.
How to authenticate:
Authorization: Bearer YOUR_API_KEYExample:
Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07dfLearn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication
Dataset ID for which data collection is triggered.
List of output columns, separated by | (e.g., url|about.updated_on). Filters the response to include only the specified fields.
"url|about.updated_on"
Include errors report with the results.
Specifies the format of the response (default: ndjson).
ndjson, json, csv List of input items to scrape.
[
{
"url": "https://chatgpt.com/",
"prompt": "Top hotels in New York",
"index_custom": "abd45424"
}
]List of custom input field names whose values are passed through and returned unchanged in the results for each record.
The name of a custom input field to be accepted and returned in the results.
["url", "prompt", "index_custom"]List of output columns, separated by | (e.g., url|about.updated_on). Filters the response to include only the specified fields.
"url|about.updated_on"
OK
The response is of type string.
"OK"