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_l1vikfch901nx3by4
200 response. This takes 10-30 seconds.
Example response
Example response
Posts
Dataset ID:gd_lk5ns7kz21pck8jpis
Example response
Example response
Reels
Dataset ID:gd_lyclm20il4r5helnj
Example response
Example response
Comments
Dataset ID:gd_ltppn085pokosxh13
Example response
Example response
Quick reference: dataset IDs
| Endpoint | Dataset ID | URL pattern |
|---|---|---|
| Profiles | gd_l1vikfch901nx3by4 | instagram.com/{username} |
| Posts | gd_lk5ns7kz21pck8jpis | instagram.com/p/{shortcode} |
| Reels | gd_lyclm20il4r5helnj | instagram.com/reel/{shortcode} |
| Comments | gd_ltppn085pokosxh13 | instagram.com/p/{shortcode} or instagram.com/reel/{shortcode} |
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.