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 shape.
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.Posts — Collect by URL
Scrape a specific Reddit post by its URL. Dataset ID:gd_lvz8ah06191smkebj4
200 response. This takes 10 to 30 seconds.
Example response
Example response
Posts — Discover by subreddit URL
Scrape recent posts from a specific subreddit, optionally sorted bynew, top or hot.
Dataset ID: gd_lvz8ah06191smkebj4
Discovery endpoints are best used asynchronously via
/trigger since they may return many results. The sync example below is for quick testing.Posts — Discover by keyword
Find Reddit posts matching a search term, filtered by date. Dataset ID:gd_lvz8ah06191smkebj4
Comments — Collect by URL
Scrape all comments from a Reddit post or a specific comment thread, with optional filtering by age. Dataset ID:gd_lvzdpsdlw09j6t702
Example response
Example response
Next steps
Async batch requests
Scrape thousands of posts or run keyword discovery jobs in a single async request.
API reference
Full endpoint specs, parameters and response schemas.