Prerequisites
- A Bright Data account with an active API key
- Completed the Quickstart
Request structure
Every synchronous request follows the same pattern:dataset_id and the input URL format.
Synchronous requests support up to 20 URLs and have a 1-minute timeout. If the request takes longer, the API automatically returns a
snapshot_id instead. See async requests.How to scrape YouTube channels
Dataset ID:gd_lk538t2k2p1k3oos71
200 response. This takes 10-30 seconds.
Example response
Example response
How to scrape YouTube videos
Dataset ID:gd_lk56epmy2i5g7lzu0k
Example response
Example response
How to scrape YouTube comments
Dataset ID:gd_lk9q0ew71spt1mxywf
Example response
Example response
Quick reference: dataset IDs
Output formats
Control the response format with theformat query parameter:
Next steps
Async batch requests
Scrape hundreds of URLs in a single batch job.
API reference
Full parameter and response field reference.