Reddit Search by Keyword API
Search Reddit by keyword to find trending discussions, map community sentiment, and surface topic insights across subreddits.
| 1 | import requests |
| 2 | |
| 3 | root = "https://ensembledata.com/apis" |
| 4 | endpoint = "/reddit/keyword/search" |
| 5 | params = { |
| 6 | "name": "bitcoin", |
| 7 | "sort": "relevance", |
| 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
Ranked Results On Demand
Query any keyword and get back matching Reddit posts across subreddits in one call.
Spot Rising Discussions
Catch what topics are gaining traction on Reddit before they hit the front page.
No Reddit App Registration
Skip Reddit's OAuth app registration process and query search results directly.
Live Search Data
Results reflect what's actually posted on Reddit right now, not a cached index.
Brand and Product Monitoring
Search for brand mentions across Reddit to see how a community is discussing you.
Automate Ongoing Monitoring
Schedule repeat searches on key terms to track a discussion as it develops.
Scrape Reddit Data Effortlessly
Our Reddit keyword search API pulls matching posts, upvote counts, and comment totals across all subreddits, useful for trend research and audience analysis.
Community Attribution
See exactly which subreddit each matching Reddit post came from.
Product Feedback Mining
Search Reddit-wide for a product name to surface unfiltered user opinions.
Cross-Niche Comparison
Compare keyword volume across Reddit communities to find where a topic lives.
Reddit Scraping Features
Find out how Reddit communities talk about any topic using keyword search, useful for product research, brand monitoring, and content strategy.
- Search a keyword across every public subreddit at once instead of one community at a time.
- See which subreddit each matching post came from to identify where a topic is discussed.
- Restrict results to a specific time window, from the last hour up to all time.
- Sort matches by relevance, newest, or top score to match the research angle you need.
- Run keyword monitoring on a schedule with no Reddit OAuth app registration required.
Starting crawling Reddit now!
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 freeDeveloper 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 usFrequently Asked Questions
It returns Reddit posts matching a keyword across all subreddits, along with upvote counts, comment totals, and the subreddit each post is from.
Results are pulled live from Reddit at request time, reflecting current posts matching the keyword.
Yes, each result includes its source subreddit, which helps you identify which communities are discussing a given topic.
Each request returns a page of matching posts, generally around 25, with a pagination parameter available to page through additional results.
Yes, an optional time filter parameter mirrors Reddit's own search filters - hour, day, week, month, year, or all time.
Results follow Reddit's standard public search index, which can include NSFW-tagged posts marked accordingly in the response; filter them out client-side using that flag if needed.
The default sort mirrors Reddit's relevance ranking; pass a sort parameter to switch to new or top instead.
No, you interact with it purely through HTTP requests to our own API, no Reddit developer app or OAuth setup is needed.
Yes, many teams call this endpoint on a schedule for a fixed set of keywords to continuously track product or brand sentiment.