Reddit scraping tutorials
How to get Reddit data with code: 30 endpoints in Python, JavaScript, TypeScript, Go, PHP and cURL, each with a real sample response, parameters, pagination and pricing.
- Reddit subreddit
A subreddit: description, rules, member count, flags.
- Reddit subreddit posts
Posts in a subreddit, by hot, new, top, rising or controversial.
- Reddit thread and comments
One post with its full comment tree.
- Reddit “load more comments”
Comments on a post, paginated, with "more" threads expanded.
- Reddit user profile
A public user profile: karma, age, flags.
- Reddit user posts
Posts a user submitted.
- Reddit user comments
Comments a user wrote.
- Reddit search
Search posts across Reddit or in one subreddit.
- Reddit subreddit search
Find subreddits by name or topic.
- Reddit subreddit rules
A subreddit's posting rules, plus Reddit's site-wide rules.
- Reddit subreddit sidebar widgets
A subreddit's sidebar widgets: rules, flairs, bookmarks, related communities, events, text.
- Reddit subreddit wiki
A page of a subreddit's wiki: rendered HTML, markdown source, last revision.
- Reddit subreddit comment stream
The newest comments across a whole subreddit.
- Reddit batch subreddit lookup
Up to 25 subreddits in one call, by name.
- Reddit popular and new subreddits
Reddit's community directories: popular, new or default subreddits.
- Reddit other discussions (duplicates)
Other discussions: every other submission of the link a post shares, and crossposts.
- Reddit video transcript
A video post's captions: WebVTT, plain text and timed segments.
- Reddit full comment tree
A post's full comment tree with collapsed replies read in.
- Reddit post visibility (shadow removal) check
Whether a post is still publicly visible or quietly removed.
- Reddit posts by id (batch)
Up to 25 posts in one call, by id.
- Reddit comment by id
One comment, by post and comment id.
- Reddit comment status (verify)
Whether up to 25 comments are still live, deleted or removed.
- Reddit user overview
A user's posts and comments together, newest first.
- Reddit user trophies
A user's public trophies.
- Reddit comment search
Search comments across Reddit or in one subreddit: the comments themselves, with their post.
- Reddit user search
Find users by name.
- Reddit image and video search
Search image, video and gallery posts.
- Reddit search autocomplete
Search-as-you-type: query suggestions and communities, or post titles in one subreddit.
- Reddit keyword sweep API (posts, top comments, communities)
One keyword across Reddit: posts, top comments of the leading threads, and the communities they come from.
- Reddit political ads disclosure
Reddit's political ad disclosures, parsed: advertiser, spend, impressions, targeting, dates.
Reddit API: every endpoint and its price.