
Reddit Competitor Analysis API
Search Reddit by keyword and extract full post details plus comments via API.
Brief
What is Reddit Competitor Analysis API?
BrowserAct's Reddit Competitor Analysis API lets you extract posts and comments from Reddit search results through a single API request, without building crawler scripts or maintaining custom browser automation.
This API is designed for keyword-based discovery and deep comment extraction. Simply provide keywords, set date filters, choose sorting preferences, and specify how many comments to extract per post. BrowserAct will search relevant Reddit posts, open each post detail page, extract the complete post information and comments, and return it directly via API.
It is ideal for competitor monitoring, brand tracking, sentiment analysis, market research, and community insights.
What data can you get through Reddit Competitor Analysis API?
The API extracts structured data from Reddit posts and comments, including:
Post Fields:
• post_title: Full post title
• publish_time: Post publication time
• like_count: Number of upvotes on the post
• comment_count: Total number of comments
• publish_channel: Subreddit where the post was published
Comment Fields:
• comment_author: Username of the commenter
• comment_time_utc: Comment timestamp (from title attribute of time tag)
• comments: Full comment text
• comment_upvotes: Number of upvotes on the comment
• comment_level: Nesting level of the comment (top-level or reply)
• comment_author_url: Link to the commenter's profile
• reply_to: Parent comment or post being replied to
Why Reddit Competitor Analysis API is right for you
Keyword-based discovery
Search Reddit posts by keyword and extract structured data from matching results across any subreddit.
Deep comment extraction
Go beyond post-level data — extract full comment threads including replies, upvotes, and author information.
Flexible filtering
Filter by date range (past hour to all time), sort by relevance, hot, top, new, or comment count to find exactly what you need.
Zero operational overhead
No proxy setup, crawler scripts, or anti-bot handling required. BrowserAct runs the workflow in the background.
In short:
Keyword → API call → Full Reddit posts & comments delivered
API Parameters
Parameter | Required | Description | Default | Options |
keywords | ✅ | Search keywords for Reddit posts | openclaw | - |
publication_date | ✅ | Filter posts by publication date range | Past week | All time, Past year, Past month, Past week, Today, Past hour |
post_sort_by | ✅ | Sort Reddit post search results by | Relevance | Relevance, Hot, Top, New, Comment count |
comment_sort_by | ✅ | Sort extracted comments by | Best | Best, Top, New, Controversial, Q&A |
data_limit | ✅ | Maximum number of comments to extract per post | 10 | - |
Code to Integrate
Click Get code, replace the API key, and run the code directly in your application.
API Key, get from: https://www.browseract.com/reception/integrations
API_KEY = os.getenv("BROWSERACT_API_KEY", "app-abcdefghijklmn")
Replace
app-abcdefghijklmn
with your own API key, and the code will run successfully.
API Example
- Input keywords: openclaw
- publication_date: Past week
- Relevance: Relevance
- Sort_by: Best
- Datelimit: 50
Steps:
1. Click Get the Code
2. Run the request
3. Receive structured Reddit posts & comments via API
Create Your Own Reddit Competitor Analysis API
To create your own Reddit Competitor Analysis API, simply start from a prebuilt template.
1. Click Create from Template in the top-right corner
2. Complete the setup
3. You'll receive a callable workflow_id
Need help?
Discord: [Discord Community]
E-mail: service@browseract.com
