Support needed? Reach out! 📧

Reddit Search on Subreddit API

Scrape posts from specific subreddits including top, new, or hot feeds for niche community research, trend analysis, and audience insights.

python-logo Python
Reddit Subreddit Posts
1 import requests
2  
3 root = "https://ensembledata.com/apis"
4 endpoint = "/reddit/subreddit/posts"
5 params = {
6   "name""SkincareAddiction",
7   "sort""new",
8   "period""hour",
9   "cursor""",
10   "token""YOUR-TOKEN-HERE"
11 }
12  
13 res = requests.get(root+endpoint, params=params)
14 print(res.json())
15  

Why Developer Teams Use Our API

Subreddit-Specific Results

Search within a single subreddit to get results relevant to that exact community.

Community Sentiment Research

Understand how a specific subreddit talks about a topic instead of Reddit-wide noise.

No App Registration Needed

Skip Reddit's developer app setup and query subreddit posts directly through our API.

Niche Audience Insights

Find what a targeted community actually cares about for more precise content planning.

Live Post Rankings

Results reflect current subreddit activity, not a stale or cached listing.

Structured JSON Output

Get post titles, scores, and metadata as clean JSON instead of parsing HTML.

Scrape Reddit Data Effortlessly

Our subreddit posts API lets you target any community directly and extract posts with upvote ratios, comment counts, and flair data for focused research.

deco-icon

Feed Sort Options

Pull a subreddit's top, new, or hot feed depending on your research angle.

deco-icon

Focused Community Data

Target one Reddit community directly instead of platform-wide noise.

deco-icon

Category Filtering

Use subreddit flair data to filter posts to the exact topic you need.

Reddit Scraping Features

Dig into niche Reddit communities and fetch post data that shows what is resonating, what is being debated, and which topics are on the rise.

  • Pull a single subreddit's top, new, or hot feed directly instead of platform-wide results.
  • Filter posts by category using the flair data returned on each entry.
  • See upvote ratios and comment counts to gauge how a niche community is reacting.
  • Identify stickied posts through a dedicated flag that separates them from the organic feed.
  • Poll a target subreddit on a schedule to power an internal trend or sentiment dashboard.

Starting crawling Reddit now!

deco-icon

Get Your API Key in Minutes

Create a free account (no credit card required) and receive an API token instantly to test endpoints, pull live data, and rapidly prototype integrations. Upgrade as your needs grow.

Get started free
deco-icon

Developer Support

Need help integrating or customizing data for your workflows? Our developer success team offers onboarding, guidance, and enterprise support to get your project production-ready.

Contact us

Frequently Asked Questions

It returns posts from a specific subreddit, filterable by top, new, or hot feeds, along with upvote ratios, comment counts, and flair data.

This endpoint targets one specific subreddit directly, while the keyword search endpoint searches across all of Reddit for a term.

Yes, pulling the hot or top feed of a subreddit periodically is a common way to monitor what's currently resonating in that community.

Yes, flair data is returned where available, which is useful for filtering posts by category within a subreddit.

Each request returns a page of posts, generally around 25, with a pagination parameter to continue through the subreddit's feed.

No, only publicly accessible subreddits can be queried; private or quarantined communities that require special access aren't supported.

Yes, stickied posts are returned and flagged as such, so you can separate them from the organically ranked feed.

The default top-sort window mirrors Reddit's own default, generally all-time, unless you pass a specific time filter like week or month.

Yes, many customers call this endpoint on a schedule for target subreddits to power internal trend and sentiment dashboards.