Prerequisites
- A Bright Data account with an active API token
- 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.Profiles
Dataset ID:gd_l1villgoiiidt09ci
200 response. This takes 10-30 seconds.
Example response
Example response
Posts
Dataset ID:gd_lu702nij2f790tmv9h
Example response
Example response
TikTok Shop
Dataset ID:gd_m45m1u911dsa4274pi
Example response
Example response
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
| Endpoint | Dataset ID | URL pattern |
|---|---|---|
| Profiles | gd_l1villgoiiidt09ci | tiktok.com/@{username} |
| Posts | gd_lu702nij2f790tmv9h | tiktok.com/@{username}/video/{id} |
| TikTok Shop | gd_m45m1u911dsa4274pi | tiktok.com/@shop/product/{id} |
| Comments | gd_lkf2st302ap89utw5k | tiktok.com/@{username}/video/{id} |
| Posts by Profile Fast API | gd_m7n5v2gq296pex2f5m | tiktok.com/@{username} |
Output formats
Control the response format with theformat query parameter:
| Value | Description |
|---|---|
json | JSON array (default) |
ndjson | Newline-delimited JSON, one record per line |
csv | Comma-separated values |
Next steps
Async batch requests
Scrape hundreds of URLs in a single batch job.
API reference
Full parameter and response field reference.