# Reddit Competitor Intelligence (`coregent/reddit-competitor-intelligence`) Actor

Compare your brand against competitors on Reddit: brand-specific sentiment, head-to-head comparisons, recommendation and complaint share, a switching matrix, strengths, weaknesses and feature gaps from public posts and comments. Optional period monitoring. No Reddit login or API key.

- **URL**: https://apify.com/coregent/reddit-competitor-intelligence.md
- **Developed by:** [Delowar Munna](https://apify.com/coregent) (community)
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 qualified evidence items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Reddit Competitor Intelligence

![Reddit Competitor Intelligence](https://raw.githubusercontent.com/coregentdevspace/reddit-competitor-intelligence-assets/main/thumbnail-reddit-competitor-intelligence.png)

**Compare brands, complaints, switching, recommendations and market signals on Reddit.**

Give it your brand and up to 20 competitors. It finds the Reddit posts and comments where people
discuss them, reads every one **per brand**, and returns competitive intelligence rather than a pile
of mentions:

- **Competitor summaries**: share of the sampled discussion, recommendation share, complaint share,
  purchase-consideration share, brand-specific sentiment, switching in and out, top strengths, top
  weaknesses, feature requests and the communities where each brand is discussed.
- **Head-to-head rows** for every pair you compare: direct comparisons, who people prefer, switching
  between the two, each side's advantages and the themes they are compared on.
- **A switching matrix**: from → to flows with how far along the writers are (switched, considering,
  asking, reported) and why.
- **Feature gaps**: features users ask for or miss in one brand while praising a competitor for them.
- **Intelligence items**: every qualified post or comment, with its type (switching signal,
  comparison, purchase intent, pain point, mention evidence), the brands it names, a sentiment per
  brand, the preferred and disfavored brand, recommendations, purchase intent and a link to the source.
- **Recurring monitoring** (optional): schedule it with a monitor key and each period is compared
  with the previous one of the same length — share, sentiment, recommendation and complaint deltas,
  momentum and alerts.

No Reddit login, cookies or API key. Built for product, marketing, founders, research and strategy
teams.

### Quick start

The smallest input — your brand and two competitors:

```json
{
    "primaryBrand": { "name": "Notion" },
    "competitors": [{ "name": "Coda" }, { "name": "ClickUp" }],
    "timeWindow": "30_DAYS"
}
```

A small head-to-head with a category term (the input behind the sample output below, about 20 rows):

```json
{
    "primaryBrand": { "name": "Notion", "aliases": ["Notion AI"], "domain": "notion.so" },
    "competitors": [{ "name": "Obsidian", "domain": "obsidian.md" }],
    "categoryTerms": ["note taking app"],
    "timeWindow": "30_DAYS",
    "maxPostsPerBrand": 5,
    "maxCommentsPerPost": 2,
    "maxDiscoveryQueries": 8
}
```

A SaaS comparison with aliases, category terms and chosen communities:

```json
{
    "primaryBrand": { "name": "Notion", "aliases": ["Notion AI"], "domain": "notion.so" },
    "competitors": [{ "name": "Coda", "domain": "coda.io" }, { "name": "ClickUp", "aliases": ["Click Up"] }, { "name": "Airtable" }],
    "categoryTerms": ["productivity software", "team wiki", "project management"],
    "subreddits": ["SaaS", "startups", "productivity"],
    "timeWindow": "90_DAYS",
    "includeComments": true,
    "maxCommentsPerPost": 50,
    "maxPostsPerBrand": 250,
    "maxDiscoveryQueries": 100
}
```

A weekly competitive monitor:

```json
{
    "primaryBrand": { "name": "Notion" },
    "competitors": [{ "name": "Obsidian" }, { "name": "Coda" }],
    "monitorKey": "notion-competitors",
    "onlyNewEvidence": true,
    "timeWindow": "7_DAYS"
}
```

Run with no input at all and it compares the example brands Notion and Obsidian over the past 30 days
with the default budget (12 queries, 20 posts per brand, 10 comments per thread): a small run that
fills the evidence, summary, head-to-head and switching tables, so you can see the output shape
first. Feature gaps need more evidence and may be empty on a run this small. Raise the three budgets
for a fuller picture.

### Input

| Field | Default | What it does |
|---|---|---|
| `primaryBrand` | — | Your brand: `{ "name", "aliases": [], "domain" }`. Empty runs the example comparison. |
| `competitors` | `[]` | 1–20 competitors in the same shape. Only `name` is required. |
| `categoryTerms` | `[]` | What the brands are ("note taking app"). Adds "best …" / "… recommendations" searches and confirms ambiguous names. |
| `subreddits` | `[]` | Restrict to these communities. Empty searches all of Reddit. |
| `timeWindow` | `30_DAYS` | 24 hours, 7, 30, 90 or 180 days, a year, or all available. |
| `includePosts` / `includeComments` | on / on | Comments are where most comparisons, switching stories and recommendations are. |
| `maxPostsPerBrand` | `20` | Posts one brand's queries may bring in, across all its queries. |
| `maxCommentsPerPost` | `10` | Comments read per thread of a brand post. `0` reads no threads (comment search still runs). |
| `maxDiscoveryQueries` | `12` | The search budget. One query in one subreddit is one search. |
| `sort` | `RELEVANCE_NEW` | Relevance plus a newest-first pass of each brand's name, or Newest, Top, Most comments. |
| `minimumScore` / `minimumComments` | `0` / `0` | Ignore low-scoring items or thin threads. `0` means no minimum. |
| `monitorKey` / `onlyNewEvidence` | — / off | Recurring monitoring; see below. |
| `excludeAuthors` / `excludeSubreddits` / `excludeDomains` | `[]` | Leave out accounts, communities or link domains. |
| `excludePromotionalPosts` | off | Leave out referral links, "I built…" launches and likely vendor accounts. |
| `excludeBots` | on | Leave out AutoModerator, `*bot` accounts and "I am a bot" posts. |
| `proxyConfiguration` | Apify Datacenter | See the proxy policy below. |

#### How the search budget is spent

Queries are planned in priority order and taken until `maxDiscoveryQueries` is used, so even a small
budget covers what matters most:

1. each brand's name (by relevance and, with the default sort, newest first),
2. your brand **vs** each competitor,
3. a comment search for each brand's name, then for your brand together with each competitor,
4. "*brand* alternative", "best *category*", "switch from *brand*", "*brand* vs",
   "*category* recommendations", "*brand* pricing / review / problem", "switch to *brand*",
   "*your brand* or *competitor*",
5. competitor vs competitor, last.

Each brand's post budget is spread across its queries, so its name search cannot use it all and
leave the head-to-head queries nothing. `RUN_SUMMARY` and `SOURCE_SUMMARY` list every query, its
status and what it found, plus the queries held back by the budget.

### Output

Five datasets, one per row type, each with its own table in the Console's Output tab:

| Dataset | Rows |
|---|---|
| default | `competitor_intelligence`: one per qualified post or comment (the billed item) |
| `summaries` | `competitor_summary`: one per brand |
| `headToHead` | `head_to_head`: one per compared pair |
| `switchingFlows` | `switching_flow`: one per from → to flow |
| `featureGaps` | `feature_gap`: one per gap |

The run page's Export button exports the default dataset; the other four are under the run's Storage
tab and the API. Every row keeps its `rowType`, so the datasets can be merged.

The samples below are real rows, trimmed, from the Notion vs Obsidian input above (30 days, run on
2026-11-02: 12 evidence items, 2 summaries, 1 head-to-head, 1 switching flow, no feature gaps).
Usernames are anonymized.

**Pain points & feature requests** (a view of the default dataset):

![Pain points & feature requests table](https://raw.githubusercontent.com/coregentdevspace/reddit-competitor-intelligence-assets/main/reddit-competitor-intelligence-output-pain-points-n-feature-requests-table-view.png)

#### `competitor_summary` — one per brand

```json
{
    "rowType": "competitor_summary",
    "brand": "Obsidian",
    "role": "COMPETITOR",
    "status": "SUCCESS",
    "sampleConfidence": "LOW",
    "sample": { "qualifiedEvidence": 11, "posts": 5, "comments": 6, "uniqueAuthors": 11, "uniqueSubreddits": 2, "topAuthorShare": 0.091 },
    "share": { "discussionPct": 61.1, "recommendationPct": null, "complaintPct": null, "purchaseConsiderationPct": null },
    "sentiment": { "positive": 3, "negative": 1, "mixed": 0, "neutral": 7, "netSentimentScore": 50, "positiveShare": 0.27, "negativeShare": 0.09 },
    "counts": { "recommendations": 0, "complaints": 0, "praise": 3, "comparisons": 1, "comparisonWins": 0, "comparisonLosses": 1 },
    "switching": { "switchingIn": 0, "switchingOut": 1, "netSwitchingSignal": -1, "topSources": [], "topDestinations": [{ "brand": "Notion", "count": 1 }] },
    "topStrengths": [
        { "theme": "CUSTOMIZATION", "label": "customization", "count": 1, "share": 0.091, "evidenceIds": ["COMMENT:t1_19rz31mvk0f44"] },
        { "theme": "PERFORMANCE", "label": "performance", "count": 1, "share": 0.091, "evidenceIds": ["POST:t3_1xhkzuz"] }
    ],
    "topWeaknesses": [
        { "theme": "ONBOARDING", "label": "onboarding", "count": 1, "share": 0.091, "evidenceIds": ["POST:t3_1xivia2"] },
        { "theme": "UX", "label": "ux", "count": 1, "share": 0.091, "evidenceIds": ["POST:t3_1xivia2"] }
    ],
    "topSubreddits": [{ "subreddit": "ObsidianMD", "count": 7 }, { "subreddit": "Notion", "count": 4 }],
    "period": { "start": "2026-10-03T04:30:57.137Z", "end": "2026-11-02T04:30:57.137Z", "windowDays": 30 },
    "comparisonToPrevious": null,
    "alertReasons": []
}
```

`recommendationPct` and `complaintPct` are each brand's share of all recommendations and complaints in
the sample. Both are null here because this small run found none to divide: a share is never shown
as 0 when there is nothing to divide, and it is also null when the brand has fewer than 5 evidence
items. The weaknesses come from the comparison post below, which Obsidian lost. With a monitor key
and a comparable previous period, `comparisonToPrevious` carries `discussionShareDelta`,
`positiveShareDelta`, `negativeShareDelta`, `complaintShareDelta`, `recommendationShareDelta`,
`switchingInDelta`, `switchingOutDelta`, `discussionGrowthPct`, `momentum` (RISING / STABLE /
FALLING), `sentimentMomentum`, `recommendationMomentum` and complaint-theme changes; each strength and
weakness gets a `trend`.

#### `head_to_head` — one per compared pair

```json
{
    "rowType": "head_to_head",
    "brandA": "Notion",
    "brandB": "Obsidian",
    "status": "INSUFFICIENT_EVIDENCE",
    "directComparisons": 1,
    "preference": { "brandA": 1, "brandB": 0, "noClearPreference": 0 },
    "preferenceSharePct": { "brandA": 100, "brandB": 0 },
    "leader": null,
    "switching": { "brandAToBrandB": 0, "brandBToBrandA": 2 },
    "brandAAdvantages": ["design", "onboarding", "ux"],
    "brandBAdvantages": [],
    "commonComparisonThemes": ["design", "onboarding", "ux", "ease of use"],
    "comparisonConfidence": "LOW",
    "uniqueAuthors": 1,
    "evidenceIds": ["POST:t3_1xivia2"]
}
```

Your brand is always `brandA`. Every pair with your brand gets a row, compared or not; competitor
pairs appear when they were compared. A pair compared in fewer than 5 sources reads
`INSUFFICIENT_EVIDENCE`, and `leader` needs at least 3 decided comparisons.

#### `switching_flow` — the switching matrix, one row per direction

```json
{
    "rowType": "switching_flow",
    "from": "Obsidian",
    "to": "Notion",
    "discussions": 1,
    "stages": { "COMPLETED": 1, "CONSIDERING": 0, "ASKING": 0, "REPORTED": 0 },
    "uniqueAuthors": 1,
    "sideInferred": 0,
    "confidence": "LOW",
    "topReasons": [],
    "evidenceIds": ["POST:t3_1xivia2"],
    "note": "Discussion-derived switching intent, not verified churn."
}
```

#### `feature_gap`

This run found no feature gap: a gap needs requests or complaints about one brand and praise of the
same feature in a competitor, which a sample this small rarely holds. Each row carries `brand`,
`gap` (the feature), `competitorAdvantage` (the competitor praised for it), `evidenceCount`,
`brandEvidence` (requests and complaints about the brand), `competitorEvidence` (praise of the
competitor), `confidence`, `examples` (quoted explicit feature requests, empty when the gap comes
from complaints alone), `evidenceIds { brand, competitor }` and a `note`.

#### `competitor_intelligence` — one per qualified post or comment (the billed unit)

```json
{
    "rowType": "competitor_intelligence",
    "evidenceId": "POST:t3_1xivia2",
    "intelligenceType": "SWITCHING_SIGNAL",
    "confidence": "HIGH",
    "brands": { "primary": "Notion", "mentioned": ["Notion", "Obsidian"] },
    "matchedBrands": [
        { "brand": "Notion", "matchedAs": "Notion", "matchType": "EXACT", "confidence": "HIGH" },
        { "brand": "Obsidian", "matchedAs": "Obsidian", "matchType": "EXACT", "confidence": "HIGH" }
    ],
    "classification": ["COMPARISON", "SWITCHING_INTENT", "INTEGRATION_DISCUSSION"],
    "sentiment": "MIXED",
    "brandSentiments": [
        { "brand": "Notion", "sentiment": "POSITIVE", "praiseThemes": ["EASE_OF_USE", "DESIGN"] },
        { "brand": "Obsidian", "sentiment": "NEGATIVE", "complaintThemes": ["UX", "ONBOARDING"] }
    ],
    "comparison": { "preferredBrand": "Notion", "disfavoredBrand": "Obsidian", "comparisonReasons": ["ux", "onboarding", "design"], "basis": "SWITCH", "confidence": "HIGH" },
    "recommendedBrands": [],
    "switching": { "from": "Obsidian", "to": "Notion", "stage": "COMPLETED", "confidence": "HIGH", "fromInferred": false, "toInferred": false },
    "purchaseIntentScore": 15,
    "commercialRelevanceScore": 75,
    "urgency": "HIGH",
    "evidenceWeight": 0.912,
    "discoveredVia": ["brand: \"Notion\" (relevance)"],
    "source": {
        "sourceType": "POST",
        "subreddit": "Notion",
        "author": "user_1",
        "title": "I tried switching to Obsidian but went back to Notion",
        "text": "I recently tried switching from Notion to Obsidian because I liked the offline first approach customization and markdown workflow. I quickly found the setup more complicated than I expected. … I eventually went back to Notion because I value having polished interface and organized workspace without much setup. …",
        "url": "https://www.reddit.com/r/Notion/comments/1xivia2/i_tried_switching_to_obsidian_but_went_back_to/",
        "createdAt": "2026-10-29T20:38:08.906Z",
        "score": 50,
        "commentCount": 44
    },
    "isBaseline": false,
    "analysisVersion": "rules-1.0"
}
```

The writer tried Obsidian and went back, so the return is the switch and Notion the preferred
brand; the trip out is not counted as a second flow.

All fields: `intelligenceType`, `confidence`, `brands { primary, mentioned }`, `matchedBrands[]` (`brand`,
`matchedAs`, `matchType` EXACT / ALIAS / DOMAIN, `confidence`), `classification[]`, `sentiment`,
`brandSentiments[]` (sentiment, score and themes per brand), `comparison` (`preferredBrand`,
`disfavoredBrand`, `comparisonReasons`, `basis`), `recommendedBrands[]`, `alternativeTo[]`,
`switching` (`from`, `to`, `stage`, `reasons`), `purchaseIntentScore` (0–100), `complaintThemes[]`,
`praiseThemes[]`, `featureRequest` + `targetBrand`, `commercialRelevanceScore` (0–100), `urgency`,
`evidenceWeight`, `sourceAffiliation`, `discoveredVia[]`, and `source` (`sourceType`, IDs,
subreddit, author, title / parent post title, text, URL, created date, score, upvote ratio,
comment count, flair, parent post, `crosspostSubreddits`). With a monitor key: `isNew`,
`firstSeenAt`, `isBaseline`.

#### Key-value store records

- `COMPETITIVE_INTELLIGENCE_SUMMARY` — the run's report: brands compared, sample size, share of
  discussion, recommendation and complaint leaders, sentiment, the switching matrix, head-to-head
  results, top category pain points, the biggest feature gaps, rising and falling brands, alerts,
  the top evidence links, coverage and statuses.
- `RUN_SUMMARY` — discovery coverage (queries attempted and succeeded, posts and comments fetched,
  unique sources, qualified evidence, brands and subreddits found), intelligence counts, statuses,
  what was dropped and why, and cost accounting.
- `SOURCE_SUMMARY` — every search with its status.
- `DEBUG_EVIDENCE` — with `debugMode`, every analyzed source, kept or dropped, with its readings.

### FAQ

**How is this different from the Reddit Brand Mention Monitor?** The monitor answers "what new
mentions of my brand appeared?" with one row per mention. This Actor answers "how do these brands
compare, and why?": per-brand sentiment inside one source, comparison direction, a switching matrix,
recommendation and complaint share across brands, head-to-head rows, strengths, weaknesses and
feature gaps.

**How is it different from the Reddit Keyword Monitor?** The keyword monitor tells you whether a
term appeared. This Actor analyzes multiple competing brands against each other.

**How is it different from the Reddit Leads / Purchase Intent Finder?** That Actor finds people to
contact. Here purchase intent is aggregated into which brand is winning consideration
(`purchaseConsiderationPct`), not a lead list.

**What is share of discussion?** A brand's qualified evidence divided by the qualified evidence of
all the brands you monitor, in the sample this run collected. A source naming two brands counts for
both, and the shares add up to 100 across your brands.

**Is share of discussion market share?** No. It is the share of the sampled, publicly accessible
Reddit discussion about the brands you listed. Reddit users are not a representative sample of any
market.

**How are complaints classified?** A source complains about a brand when what it says about that
brand is negative or names a problem (bugs, support, billing). The words it uses set the theme:
PRICING, PERFORMANCE, RELIABILITY, BUGS, UX, MISSING_FEATURE, SUPPORT, BILLING, INTEGRATIONS,
MOBILE_APP, ONBOARDING, COMPLEXITY, PRIVACY, SECURITY, DATA_EXPORT, CUSTOMIZATION, SEARCH,
COLLABORATION, or OTHER. Praise uses EASE_OF_USE, VALUE, PERFORMANCE, RELIABILITY, FEATURES,
DESIGN, INTEGRATIONS, SUPPORT, CUSTOMIZATION, COLLABORATION, MOBILE, AUTOMATION, COMMUNITY, OTHER.

**How is sentiment calculated?** With rules: a weighted opinion-word lexicon with negation,
intensifiers and question handling, read only on the sentences about each brand. It is
POSITIVE, NEGATIVE, MIXED or NEUTRAL with a confidence, and a plain factual mention is NEUTRAL. No AI
model is used, and there is no AI cost.

**Can one source have different sentiment for two brands?** Yes, and it is the point. "Notion is a
mess these days. Obsidian just works" is NEGATIVE for Notion and POSITIVE for Obsidian. In "Obsidian
is way faster than Notion", the comparison decides: Obsidian is the winner, Notion the loser.

**How are direct comparisons detected?** An explicit preference ("X is faster than Y", "I prefer X
over Y", "I'd recommend X over Y"), a switch between the two, both brands in one sentence with
comparison words ("Notion vs Obsidian?"), or two brands read with opposite sentiment in one source.
Using two tools side by side ("I use Notion for work and Obsidian for notes") is not a comparison.

**How is switching intent detected?** From phrases like "switched from X to Y", "left X for Y",
"moved off X" and "thinking of leaving X", when the writer is doing it (COMPLETED), considering it
(CONSIDERING), asking about it (ASKING) or reporting others doing it (REPORTED). Advice ("you should
switch to Y") counts as a recommendation for Y, not as churn. When only one side is written ("I left
Notion last year") and the source names one other brand, that brand is taken as the other side and
the flow says so (`sideInferred`).

**What is a switching matrix?** The count of discussions per from → to direction across your brands,
as `switching_flow` rows and in the summary record. It is discussion-derived intent, not verified
customer churn.

**How are recommendations counted?** "I recommend X", "go with X", "try X", "X is the way to go", "X
hands down", and the winner of an explicit preference. Negated ("I wouldn't recommend X") and
question forms ("should I use X?") are not counted. Recommendation share is a brand's recommendations
divided by all recommendations across your brands.

**How are feature gaps found?** A feature (offline mode, API, templates, two-way sync and about 30
more) that users ask for or say is missing in one brand, while praising a competitor for the same
feature. It needs at least three pieces of evidence between the two sides. Requests with no
competitor praised for them stay in that brand's `topFeatureRequests`.

**Are comments included?** Yes, by default, through two routes: Reddit's comment search for each
brand (which finds comments under any post), and the first comments of threads whose post names a
brand, most competitive threads first.

**Can I restrict it to subreddits?** Yes, with `subreddits`. Every query then runs in each one.

**Can I run it on a schedule?** Yes. Weekly suits most product categories, daily a fast-moving one,
monthly strategic research. Use a monitor key and a window as long as the schedule interval.

**How is persistent monitoring handled?** Runs with the same `monitorKey` share a memory. The first
run is the baseline: its intelligence is returned with `isBaseline: true`. Later runs compare each
brand with the previous period of the same length and the same input, and only one that ended before
the current window began (current 7 days against the previous 7, never overlapping windows). A
changed input or overlapping windows give no deltas, and the reason is stated. With
`onlyNewEvidence`, evidence delivered by an earlier run is not delivered or billed again, but the
summaries still describe the whole window. Alerts: COMPLAINT_SPIKE, NEGATIVE_SENTIMENT_SPIKE,
SWITCHING_OUT_SPIKE, SWITCHING_IN_SPIKE, COMPETITOR_RECOMMENDATION_SURGE, PRICING_COMPLAINT_SURGE and
NEW_FEATURE_GAP. Each period is also written to the `reddit-competitor-intelligence-history` dataset,
one row per brand and period, for charts. Connect alerts to Slack, email, Make, Zapier or n8n with an
Apify webhook.

**Does it need a Reddit login or API key?** No. It reads public Reddit pages only.

**What about brands with ordinary names, like Linear, Monday or Apple?** A one-word name has to be
written as the brand ("Linear", not "linear algebra") or be clearly about the product. A same-named
thing in an unrelated community, such as the Coda weapon in r/Warframe, is left out unless something
places it in your category: another of your brands nearby, a subreddit named after a brand, a
subreddit you chose, a category term, or a community where your brands are discussed together. Add
`categoryTerms` to make the distinction sharper. Dropped items are counted in `RUN_SUMMARY` and never
billed.

**How does pricing work?** Pay per event: you pay for each **qualified evidence item** delivered,
that is a post or comment that names one of your brands, passed your filters, and arrives with its
brand-specific analysis. The competitor summaries, head-to-head rows, switching matrix, feature gaps
and reports built from that evidence are included. You are not charged for searches, for posts and
comments that name none of your brands, for namesakes, bots or filtered items, for duplicates and
crossposts, or for evidence your monitor already delivered when `onlyNewEvidence` is on. If you set
a spending limit, the run delivers the most commercially relevant evidence that fits, and the
summaries describe exactly that evidence. Live rates are on the Pricing tab; this README
deliberately quotes no figures.

**What are the sampling limitations?** The analysis covers the publicly accessible Reddit discussion
the run collects within its budget, and nothing more. Reddit's search returns a few hundred results
per query at most. A brand with fewer than 5 qualified items is `INSUFFICIENT_EVIDENCE`: its complaint
and recommendation shares are null, never 0. `sampleConfidence` is LOW below 25 items, MEDIUM from 25
and HIGH from 100. Watch `authorConcentration` when a few accounts write most of a brand's evidence.

**Can I use it through the API or MCP?** Yes. Call the Actor with the JSON input above through the
Apify API or any client, or from an AI agent through Apify's MCP server, then read the datasets (the
run's Output tab and output schema give each dataset's items URL) and the
`COMPETITIVE_INTELLIGENCE_SUMMARY` record, which holds the whole report in one JSON.

### Interpretation

- Unofficial product, not affiliated with Reddit or with any brand analyzed.
- Outputs come from sampled, publicly accessible Reddit discussion, and Reddit users are not
  representative of a whole market.
- Share of discussion is not market share. Switching signals are discussion-derived intent, not
  verified churn. Sentiment and classifications are inferred by rules, not official brand sentiment.
  Feature gaps come from observed discussion.
- Low sample sizes reduce confidence. Read `status` and `sampleConfidence` on every row.
- Historical comparison starts after the baseline run of a monitor.

#### 🚦 Proxy policy

Use **Apify Datacenter** proxy (the default) or **no proxy**. Both work for Reddit's public search and
comment pages at this Actor's conservative concurrency.

**Apify Residential proxy is not supported.** If `apifyProxyGroups`
includes `RESIDENTIAL`, the run uses Apify Datacenter proxy instead and logs a warning. On pay-per-event Actors, residential bandwidth is billed to the developer,
not to your run, and Reddit comment pages are large. A single bandwidth-heavy run could cost more
than its results earn.

If you genuinely need residential routing, supply your own provider under **Custom proxy URLs** in
the proxy editor. That traffic goes through your provider, not Apify, and is unaffected:

```
http://user:pass@proxy.iproyal.com:12321
http://user:pass@proxy.brightdata.com:22225
http://user:pass@proxy.oxylabs.io:7777
```

# Actor input Schema

## `primaryBrand` (type: `object`):

Your brand or product. Aliases and the domain are other ways people write it; a match on any of them counts for the brand. Leave the name empty to run the example comparison (Notion vs Obsidian).

## `competitors` (type: `array`):

1–20 competitors. Only the name is required; aliases and the domain work as for your brand.

## `categoryTerms` (type: `array`):

What the brands are, e.g. note taking app, project management, team wiki. Used to search for "best <category>" and "<category> recommendations" threads, where comparisons often omit brand names from the title, and to confirm ambiguous brand names.

## `subreddits` (type: `array`):

Restrict the analysis to these communities. SaaS, r/SaaS and https://www.reddit.com/r/SaaS/ all work. Leave empty to search all of Reddit. Every query runs in every subreddit, so each subreddit multiplies the queries used.

## `timeWindow` (type: `string`):

How far back to look. 90 and 180 days are searched as the past year and cut at the window boundary.

## `includePosts` (type: `boolean`):

Analyze posts whose title or body names a brand.

## `includeComments` (type: `boolean`):

Analyze comments too: searched directly, and read in the threads of brand posts. Comparisons, switching stories and recommendations mostly live in comments.

## `maxPostsPerBrand` (type: `integer`):

How many posts the queries of one brand may bring in, across all its queries and subreddits (each query adds at most 25). Category queries share one more budget of the same size.

## `maxCommentsPerPost` (type: `integer`):

How many comments to read in each thread of a brand post, top comments first. 0 reads no threads (comment search still runs while "Include comments" is on).

## `maxDiscoveryQueries` (type: `integer`):

How many searches to run in total (one query in one subreddit is one search). Queries are taken in priority order, so a small budget still covers every brand name and every head-to-head pair first. 100 gives a broad analysis of 3–5 brands.

## `sort` (type: `string`):

How Reddit orders search results. Relevance + newest runs every query by relevance and each brand's name newest-first too, then merges them.

## `minimumScore` (type: `integer`):

Ignore posts and comments with a lower Reddit score. 0 means no minimum. A hidden score is never treated as low.

## `minimumComments` (type: `integer`):

Ignore posts (and comments in threads) with fewer comments. 0 means no minimum.

## `monitorKey` (type: `string`):

A name for a recurring analysis, e.g. project-management-competitors. Runs with the same key remember what they delivered and compare each period with the previous one of the same length: share, sentiment, recommendation and complaint deltas, momentum and alerts. The first run is the baseline.

## `onlyNewEvidence` (type: `boolean`):

Deliver (and bill) only evidence not delivered by an earlier run with the same monitor key. The summaries still describe the whole window. Without a monitor key, one is derived from your brands and settings.

## `excludeAuthors` (type: `array`):

Reddit usernames to ignore, e.g. your own team's accounts.

## `excludeSubreddits` (type: `array`):

Communities to ignore, e.g. a brand's own support subreddit.

## `excludeDomains` (type: `array`):

Ignore link posts to these domains, e.g. a review site you do not trust.

## `excludePromotionalPosts` (type: `boolean`):

Leave out posts and comments with referral or affiliate links, "I built…" launches and likely vendor or employee accounts. Detection is rule-based and imperfect, so it is off by default; the sourceAffiliation field flags likely vendor accounts either way.

## `excludeBots` (type: `boolean`):

Leave out AutoModerator, accounts named \*bot and "I am a bot" posts.

## `proxyConfiguration` (type: `object`):

Apify Datacenter proxy is used by default. Apify Residential proxy is not supported — a run that selects it uses Apify Datacenter instead, with a warning; to use a residential provider, add your own under Custom proxy URLs.

## `maxConcurrency` (type: `integer`):

Searches and threads read in parallel. Reddit throttles fast clients, so higher is not always faster.

## `debugMode` (type: `boolean`):

Write every analyzed source, kept or dropped, with its readings to the DEBUG_EVIDENCE record.

## Actor input object example

```json
{
  "primaryBrand": {
    "name": "Notion",
    "aliases": [
      "Notion AI"
    ],
    "domain": "notion.so"
  },
  "competitors": [
    {
      "name": "Obsidian",
      "domain": "obsidian.md"
    }
  ],
  "categoryTerms": [],
  "subreddits": [],
  "timeWindow": "30_DAYS",
  "includePosts": true,
  "includeComments": true,
  "maxPostsPerBrand": 20,
  "maxCommentsPerPost": 10,
  "maxDiscoveryQueries": 12,
  "sort": "RELEVANCE_NEW",
  "minimumScore": 0,
  "minimumComments": 0,
  "monitorKey": "",
  "onlyNewEvidence": false,
  "excludeAuthors": [],
  "excludeSubreddits": [],
  "excludeDomains": [],
  "excludePromotionalPosts": false,
  "excludeBots": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxConcurrency": 3,
  "debugMode": false
}
```

# Actor output Schema

## `intelligence` (type: `string`):

One row per qualified post or comment, with its brand-specific analysis and source (the default dataset; the billed unit).

## `painPoints` (type: `string`):

Complaint and praise themes per brand, feature requests and their target brand, from each intelligence item.

## `competitorSummaries` (type: `string`):

One row per brand: share of the sampled discussion, recommendation and complaint share, sentiment, switching, strengths and weaknesses.

## `headToHead` (type: `string`):

One row per compared brand pair: preference, switching, advantages and comparison themes.

## `switchingMatrix` (type: `string`):

From → to switching flows with stage and reasons.

## `featureGaps` (type: `string`):

Features users miss in one brand and praise in a competitor.

## `report` (type: `string`):

The run-level report: share of discussion, recommendation and complaint leaders, switching matrix, top pain points, feature gaps, momentum, alerts and top evidence links.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "primaryBrand": {
        "name": "Notion",
        "aliases": [
            "Notion AI"
        ],
        "domain": "notion.so"
    },
    "competitors": [
        {
            "name": "Obsidian",
            "domain": "obsidian.md"
        }
    ],
    "maxPostsPerBrand": 20,
    "maxCommentsPerPost": 10,
    "maxDiscoveryQueries": 12,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("coregent/reddit-competitor-intelligence").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "primaryBrand": {
        "name": "Notion",
        "aliases": ["Notion AI"],
        "domain": "notion.so",
    },
    "competitors": [{
            "name": "Obsidian",
            "domain": "obsidian.md",
        }],
    "maxPostsPerBrand": 20,
    "maxCommentsPerPost": 10,
    "maxDiscoveryQueries": 12,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("coregent/reddit-competitor-intelligence").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "primaryBrand": {
    "name": "Notion",
    "aliases": [
      "Notion AI"
    ],
    "domain": "notion.so"
  },
  "competitors": [
    {
      "name": "Obsidian",
      "domain": "obsidian.md"
    }
  ],
  "maxPostsPerBrand": 20,
  "maxCommentsPerPost": 10,
  "maxDiscoveryQueries": 12,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call coregent/reddit-competitor-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coregent/reddit-competitor-intelligence"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/JcNUGRYg3IypI9MQP/builds/9DB2zUoa6876P1pkb/openapi.json
