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.
The
/scrape endpoint is built for real-time, single-URL requests. It accepts up to 20 URLs and waits up to 1 minute. If collection takes longer, the response returns a snapshot_id instead of data and collection continues asynchronously. Fetch the result with async requests or have it pushed to you with webhook delivery.How to scrape TikTok profiles
Dataset ID:gd_l1villgoiiidt09ci
200 response. Processing time varies with target-site conditions and scraper workload.
Example response
Example response
How to scrape TikTok posts
Dataset ID:gd_lu702nij2f790tmv9h
Example response
Example response
How to scrape TikTok Shop
Dataset ID:gd_m45m1u911dsa4274pi
Example response
Example response
How to scrape TikTok comments
Dataset ID:gd_lkf2st302ap89utw5k
Example response
Example response
Posts by Profile Fast API
Dataset ID:gd_m7n5v2gq296pex2f5m
Example response
Example response
Quick reference: dataset IDs
Output formats
Control the response format with theformat query parameter:
Related
Async batch requests
Scrape hundreds of URLs in a single batch job.
API reference
Full parameter and response field reference.