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.
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 is HTTP 202 with 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.

Posts, Collect by URL

Scrape a specific Reddit post by its URL. Dataset ID: gd_lvz8ah06191smkebj4
You should see a 200 response. Processing time varies with target-site conditions and scraper workload.
Full Posts - Collect by URL schema

Posts, Discover by subreddit URL

Scrape recent posts from a specific subreddit, optionally sorted with sort_by. Values are case-sensitive and match the labels on Reddit, for example Hot. Lowercase hot is rejected with a validation error. 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.