Skip to main content
This guide shows you how to send a synchronous request to each Bright Data Reddit Scraper API endpoint. It covers collecting posts, discovering posts and collecting comments.

Prerequisites

Request structure

Every synchronous request follows the same pattern:
The only things that change between endpoints are the 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
You should see a 200 response. This takes 10 to 30 seconds.
Full Posts - Collect by URL schema

Posts, Discover by subreddit URL

Scrape recent posts from a specific subreddit, optionally sorted by new, 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.
Full Discover by subreddit URL schema

Posts, Discover by keyword

Find Reddit posts matching a search term, filtered by date. Dataset ID: gd_lvz8ah06191smkebj4
Full Discover by keyword schema

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
Full Comments - Collect by URL schema

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.