# G2 & Capterra Buying-Intent & Reviews Scraper (Clay + Dedup) (`galhali/g2-capterra-buying-intent-scraper`) Actor

Unified G2 + Capterra B2B Buying-Intent & Review Scraper in 128 MB RAM (zero Chromium). Includes live Capterra auto-resolution, cross-platform G2/Capterra/GetApp dedup, deterministic churnIntentScore (0-100), pain tags, competitor battlecards, incremental deltas & Clay hooks.

- **URL**: https://apify.com/galhali/g2-capterra-buying-intent-scraper.md
- **Developed by:** [Galhali](https://apify.com/galhali) (community)
- **Categories:** Lead generation, Business, Marketing
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: 4.00 out of 5 stars

## Pricing

from $1.90 / 1,000 intent review / battlecard records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/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

## ⚡ G2 & Capterra Buying-Intent & Reviews Scraper (Clay + Dedup Ready)

[![Apify Actor](https://img.shields.io/badge/Apify-Actor-orange?style=flat-square\&logo=apify)](https://apify.com/galhali/g2-capterra-buying-intent-scraper)
[![Version](https://img.shields.io/badge/Version-1.1.0-blue?style=flat-square)](https://apify.com/galhali/g2-capterra-buying-intent-scraper)
[![Pricing](https://img.shields.io/badge/Pricing-$1.90%2F1k%20items-green?style=flat-square)](https://apify.com/galhali/g2-capterra-buying-intent-scraper)
[![Memory Footprint](https://img.shields.io/badge/RAM-128%20MB%20Ultra--Lean-blue?style=flat-square)](https://apify.com/galhali/g2-capterra-buying-intent-scraper)
[![Zero Headless](https://img.shields.io/badge/Browser-0%20Chromium%20Overhead-success?style=flat-square)](https://apify.com/galhali/g2-capterra-buying-intent-scraper)
[![Anti-Bot](https://img.shields.io/badge/Bypass-DataDome%20%2B%20Cloudflare-purple?style=flat-square)](https://apify.com/galhali/g2-capterra-buying-intent-scraper)
[![TypeScript](https://img.shields.io/badge/TypeScript-5.4%20ESM-blue?style=flat-square\&logo=typescript)](https://www.typescriptlang.org)

***

### 🌟 1-Click Buying-Intent Spotlight: Stop Scraping Raw Text Across Two Expensive Actors

> **Want to catch buyers actively churning from your competitors on G2 and Capterra before your sales team even sends a cold email?**
>
> Traditional review scrapers boot heavy **1–4 GB headless browsers**, run separately for G2 and Capterra ($4–$15 per 1k rows combined), charge you **twice** for G2 reviews syndicated onto Capterra (`Originally submitted on G2`), and dump unparsed walls of prose with zero intent scoring.
>
> **This 128 MB TypeScript engine unifies G2 + Capterra into one normalized buying-intent pipeline:**

| Step | Input | Under the Hood (128 MB RAM) | Actionable Output |
| :---: | :--- | :--- | :--- |
| **1️⃣** | **Enter SaaS Names or URLs** (`Slack`, `HubSpot CRM`, `PostHog`) | Matches 34+ pre-indexed SaaS slugs OR **auto-resolves live Capterra IDs** + caches them in KV Store | Unified `g2` + `capterra` queue in parallel |
| **2️⃣** | **Set Intent Filters** (`maxRating: 3`, `lookbackDays: 90`) | **Zero-browser HTTP + Unblocker** bypasses DataDome & Cloudflare (`~71 MiB` peak RSS), shards >100 G2 reviews by stars, and drops syndicated duplicates | Only net-new, non-duplicated dissatisfied buyer signals |
| **3️⃣** | **Export to Clay, n8n, or CRM** | Deterministic **`churnIntentScore` (0–100)**, **Pain Tags**, **Competitor Battlecards**, & **Personalized First Lines** ($0 AI markup) | Clean CSV/JSON + **3 Apify Console Views** ready for outreach |

***

### 📊 Verified Live Output Preview (Real Apify Cloud Run)

Sample output extracted directly from Apify Cloud verification (`Slack`, G2 + Capterra, 128 MB container):

| Product | Platform | Stars | Date | Churn Score | Intent Tier | Pain Tags | Competitors Detected |
| :--- | :--- | :---: | :---: | :---: | :--- | :--- | :--- |
| **Slack** | `g2` | `4.0` | `2026-11-30` | `39` | `FEATURE_OR_PRICE_FRICTION` | `NOTIFICATIONS_AND_NOISE` | `Microsoft Teams` |
| **Slack** | `g2` | `5.0` | `2026-11-30` | `23` | `SATISFIED_ADVOCATE` | `NOTIFICATIONS_AND_NOISE`, `UX_AND_SEARCH` | `Google Meet` |
| **Slack** | `capterra` | `4.0` | `2026-12-01` | `32` | `FEATURE_OR_PRICE_FRICTION` | `INTEGRATIONS_AND_API`, `BUGS_AND_PERFORMANCE` | `Google Workspace` |

***

### ⚡ 10-Second API Quickstart (Input → Output)

**Find 1–3★ Dissatisfied Buyers Across G2 & Capterra (Last 90 Days):**

```json
{
  "products": ["Slack", "HubSpot CRM"],
  "platforms": ["g2", "capterra"],
  "maxReviewsPerProduct": 50,
  "maxRating": 3,
  "lookbackDays": 90,
  "sortBy": "MOST_RECENT",
  "deduplicateSyndicatedReviews": true,
  "emitBattlecardSummary": true
}
```

**Actual Verified Review Record (`recordType: "REVIEW"`):**

```json
{
  "recordType": "REVIEW",
  "platform": "g2",
  "sourceSite": "G2",
  "productName": "Slack",
  "productDomain": "slack.com",
  "reviewId": "g2-14260370",
  "reviewUrl": "https://www.g2.com/products/slack/reviews/slack-review-14260370",
  "publishedAt": "2026-11-30",
  "overallRating": 4,
  "title": "Organized Threaded Conversations That Keep Our Team on Track",
  "pros": "I like that I can keep conversations with teammates in different threads so everything is organized.",
  "cons": "Busy channels make it easy to miss notifications unless tuned carefully.",
  "reviewerName": "Stephanie M.",
  "reviewerRole": "Director of Sales",
  "companySegment": "Small-Business (50 or fewer emp.)",
  "churnIntentScore": 39,
  "intentTier": "FEATURE_OR_PRICE_FRICTION",
  "painTags": ["NOTIFICATIONS_AND_NOISE"],
  "competitorsMentioned": [],
  "icpLookupQuery": "\"Director of Sales\" \"Small-Business\" \"Slack\"",
  "personalizedFirstLine": "Saw recent G2 feedback from teams as a Director of Sales running into notifications and noise on Slack — curious how you're handling that right now?",
  "isSyndicatedDuplicate": false
}
```

**Actual Verified Competitor Battlecard (`recordType: "BATTLECARD_SUMMARY"`):**

```json
{
  "recordType": "BATTLECARD_SUMMARY",
  "platform": "g2+capterra",
  "productName": "Slack",
  "productDomain": "slack.com",
  "totalAnalyzedReviews": 20,
  "detractorCount": 0,
  "avgRatingAnalyzed": 4.78,
  "topPainTags": [
    { "tag": "NOTIFICATIONS_AND_NOISE", "count": 12, "pct": 60 },
    { "tag": "INTEGRATIONS_AND_API", "count": 5, "pct": 25 },
    { "tag": "UX_AND_SEARCH", "count": 3, "pct": 15 },
    { "tag": "PRICING_AND_BILLING", "count": 3, "pct": 15 }
  ],
  "topCompetitorsMentioned": [
    { "competitor": "Microsoft Teams", "count": 3 },
    { "competitor": "Zoom", "count": 3 },
    { "competitor": "Jira", "count": 2 },
    { "competitor": "Google Workspace", "count": 2 }
  ],
  "migrationEdges": [
    { "fromProduct": "Google Workspace", "toProduct": "Slack", "count": 1, "topPain": null }
  ],
  "histogram": {
    "overallRating": 4.5,
    "totalReviews": 40709,
    "ratingDistribution": { "5_star_pct": 75, "4_star_pct": 20, "3_star_pct": 3, "2_star_pct": 0, "1_star_pct": 0 }
  }
}
```

***

### 🚀 Why Choose This Engine Over Legacy G2 / Capterra Actors

| Feature | Legacy Browser G2 / Capterra Scrapers | ⚡ G2 & Capterra Buying-Intent Scraper |
| :--- | :--- | :--- |
| **Platform Coverage** | Separate actor for G2 and separate actor for Capterra | **Unified G2 + Capterra** in 1 parallel run & schema |
| **Execution Footprint** | 1,024–4,096 MB Headless Chrome (slow, heavy CU burn) | **128 MB Alpine TS (`~71 MiB` peak RSS)** — zero browser |
| **DataDome & Cloudflare Bypass** | Often stalls or charges extra residential proxy fees | **Built-in Apify UNBLOCKER** + Turbo-Frame session hydration |
| **Syndication Deduplication** | Bills twice when Capterra mirrors `"Originally submitted on G2"` | **Cross-platform deduplication** eliminates cloned G2/GetApp copies |
| **Capterra Numeric ID Lookup** | Breaks unless you manually hunt `/p/{ID}/Slug` URLs | **34 SaaS built-in + Live Capterra Auto-Resolver & KVS Cache** |
| **G2 10-Page Cap Workaround** | Hard-caps at ~100–250 reviews per sort order | **Automatic star-rating sharding** (`[1..5]★`) when `maxReviews > 100` |
| **Buying Intent & Pain Tags** | Raw unstructured text (or $0.05/row LLM add-on) | **Deterministic `churnIntentScore` (0–100) + 7 Pain Tags ($0 extra)** |
| **Competitor Battlecards & Churn Velocity** | None | **30d vs 90d detractor velocity, `churnSpikeAlert` & `migrationEdges`** |
| **Incremental Delta Monitoring** | Re-scrapes and re-bills identical history daily | **`onlyNewReviews: true` cursor** + optional **Cloudflare Worker Delta Cache** |
| **Outreach & Clay Automation** | Manual copy-paste | **`icpLookupQuery`, `personalizedFirstLine`, `llmMarkdown`, n8n JSON** |
| **Price & Platform Overhead** | $4.00 – $15.00 / 1k reviews | **$1.90 / 1k items (`$0.0019/item`)** + ~$0.0035 Unblocker runtime for 20 reviews |

***

### 📥 6 Ready-to-Use Input Recipes (Copy & Paste)

#### Recipe 1: Competitor Churn Harvesting (1–3★ Disqualified Buyers)

Extract only unhappy customers evaluating alternatives within the last 90 days:

```json
{
  "products": ["HubSpot CRM", "Salesforce Sales Cloud"],
  "platforms": ["g2", "capterra"],
  "maxReviewsPerProduct": 100,
  "maxRating": 3,
  "lookbackDays": 90,
  "sortBy": "MOST_RECENT"
}
```

#### Recipe 2: Mid-Market & Enterprise Decision-Maker Friction

Filter G2 native segments directly for high-ACV accounts complaining about pricing or support:

```json
{
  "products": ["Zendesk", "Intercom"],
  "platforms": ["g2", "capterra"],
  "companySegments": ["Mid-Market", "Enterprise"],
  "includeKeywords": ["pricing", "expensive", "support", "migration", "slow"],
  "maxReviewsPerProduct": 75
}
```

#### Recipe 3: Deep Review Scrape (`>100` Reviews via Auto Star-Sharding)

Bypass G2's standard 10-page depth cap seamlessly:

```json
{
  "products": ["Slack"],
  "platforms": ["g2"],
  "maxReviewsPerProduct": 450,
  "sortBy": "MOST_HELPFUL"
}
```

#### Recipe 4: Automated Daily Competitor Watch (`onlyNewReviews`)

Schedule a daily run in Apify Console — persistent Key-Value Store (`g2-capterra-intent-state`) skips previously captured IDs automatically:

```json
{
  "products": ["Apollo.io", "Instantly", "Smartlead"],
  "platforms": ["g2", "capterra"],
  "maxReviewsPerProduct": 30,
  "lookbackDays": 14,
  "onlyNewReviews": true,
  "emitBattlecardSummary": true
}
```

#### Recipe 5: Auto-Resolve Any Unlisted Niche SaaS Product

Works even for tools outside our 34-product built-in index (automatically queries Capterra Search & caches the numeric `/p/{ID}/Slug` mapping):

```json
{
  "products": ["Gong", "Close", "Vanta"],
  "platforms": ["g2", "capterra"],
  "maxReviewsPerProduct": 20
}
```

#### Recipe 6: Explicit Review URLs Only

```json
{
  "productUrls": [
    "https://www.g2.com/products/linear/reviews",
    "https://www.capterra.com/p/216734/Linear/reviews/"
  ],
  "maxReviewsPerProduct": 40
}
```

***

### ⚡ Workflow Templates: Clay, n8n, Instantly & SDKs

#### 1. Clay + Smart Contact Enricher Chaining Recipe

Turn competitor review signals into verified B2B decision-maker contacts in 2 steps:

1. Run **`galhali/g2-capterra-buying-intent-scraper`** against your top 3–5 competitors (`maxRating: 3`, `lookbackDays: 60`).
2. Send high-intent rows (`churnIntentScore >= 48`) into **Clay** or chain `productDomain` / prospect domains directly into **[`galhali/smart-contact-tech-enricher`](https://apify.com/galhali/smart-contact-tech-enricher)** ($2.50/1k domains in 128 MB RAM) to pull verified emails, E.164 phones, US State Registry links, and ad pixels.
3. Map `{{personalizedFirstLine}}` directly into **Instantly.ai** or **Smartlead** campaigns as your cold email icebreaker!

***

#### 2. Turnkey n8n Workflow Blueprint (Copy & Import JSON)

Monitors competitors across G2 + Capterra, splits **`churnIntentScore >= 48` buyer triggers** from **`BATTLECARD_SUMMARY` reports**, and exports clean JSON files (ready to wire into Slack, Clay Webhook, or HubSpot):

```json
{
  "name": "G2 & Capterra Competitor Churn Intent -> High-Intent Leads (Apify + n8n)",
  "nodes": [
    {
      "parameters": {},
      "id": "manual-trigger",
      "name": "When clicking 'Test workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [220, 300]
    },
    {
      "parameters": {
        "method": "POST",
        "url": "https://api.apify.com/v2/acts/galhali~g2-capterra-buying-intent-scraper/run-sync-get-dataset-items",
        "sendQuery": true,
        "queryParameters": {
          "parameters": [{ "name": "token", "value": "YOUR_APIFY_TOKEN" }]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\n  \"products\": [\"Slack\", \"HubSpot CRM\"],\n  \"platforms\": [\"g2\", \"capterra\"],\n  \"maxReviewsPerProduct\": 25,\n  \"maxRating\": 3,\n  \"lookbackDays\": 30,\n  \"onlyNewReviews\": true,\n  \"deduplicateSyndicatedReviews\": true,\n  \"emitBattlecardSummary\": true\n}",
        "options": { "timeout": 240000 }
      },
      "id": "apify-g2-capterra-intent",
      "name": "Scrape G2 + Capterra Intent (Apify)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [480, 300]
    },
    {
      "parameters": {
        "conditions": {
          "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict" },
          "conditions": [
            {
              "id": "is-review",
              "leftValue": "={{ $json.recordType }}",
              "rightValue": "REVIEW",
              "operator": { "type": "string", "operation": "equals" }
            },
            {
              "id": "high-churn-score",
              "leftValue": "={{ $json.churnIntentScore }}",
              "rightValue": 48,
              "operator": { "type": "number", "operation": "gte" }
            }
          ],
          "combinator": "and"
        }
      },
      "id": "filter-high-churn",
      "name": "Filter High-Churn Buyers (Score >= 48)",
      "type": "n8n-nodes-base.filter",
      "typeVersion": 2,
      "position": [760, 220]
    },
    {
      "parameters": {
        "conditions": {
          "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict" },
          "conditions": [
            {
              "id": "is-battlecard",
              "leftValue": "={{ $json.recordType }}",
              "rightValue": "BATTLECARD_SUMMARY",
              "operator": { "type": "string", "operation": "equals" }
            }
          ],
          "combinator": "and"
        }
      },
      "id": "filter-battlecards",
      "name": "Extract Competitor Battlecards",
      "type": "n8n-nodes-base.filter",
      "typeVersion": 2,
      "position": [760, 420]
    },
    {
      "parameters": { "operation": "toJson", "options": { "fileName": "high_intent_churn_triggers.json" } },
      "id": "export-intent-leads",
      "name": "Export High-Intent Triggers",
      "type": "n8n-nodes-base.convertToFile",
      "typeVersion": 1.1,
      "position": [1040, 220]
    },
    {
      "parameters": { "operation": "toJson", "options": { "fileName": "competitor_battlecards.json" } },
      "id": "export-battlecards",
      "name": "Export Battlecard Summary",
      "type": "n8n-nodes-base.convertToFile",
      "typeVersion": 1.1,
      "position": [1040, 420]
    }
  ],
  "connections": {
    "When clicking 'Test workflow'": { "main": [[{ "node": "Scrape G2 + Capterra Intent (Apify)", "type": "main", "index": 0 }]] },
    "Scrape G2 + Capterra Intent (Apify)": { "main": [[{ "node": "Filter High-Churn Buyers (Score >= 48)", "type": "main", "index": 0 }, { "node": "Extract Competitor Battlecards", "type": "main", "index": 0 }]] },
    "Filter High-Churn Buyers (Score >= 48)": { "main": [[{ "node": "Export High-Intent Triggers", "type": "main", "index": 0 }]] },
    "Extract Competitor Battlecards": { "main": [[{ "node": "Export Battlecard Summary", "type": "main", "index": 0 }]] }
  },
  "settings": { "executionOrder": "v1" }
}
```

***

#### 3. Python & JavaScript SDK Quick Integration

##### 🐍 Python (`apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run = client.actor("galhali/g2-capterra-buying-intent-scraper").call(run_input={
    "products": ["Slack", "HubSpot CRM"],
    "platforms": ["g2", "capterra"],
    "maxReviewsPerProduct": 25,
    "maxRating": 3,
    "lookbackDays": 90,
    "deduplicateSyndicatedReviews": True,
    "emitBattlecardSummary": True,
})

items = client.dataset(run["defaultDatasetId"]).list_items().items
battlecards = [x for x in items if x["recordType"] == "BATTLECARD_SUMMARY"]
hot_leads = [x for x in items if x.get("churnIntentScore", 0) >= 48]
print(f"Battlecards: {len(battlecards)} | High-Intent Triggers: {len(hot_leads)}")
```

##### 🟦 Node.js (`apify-client`)

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

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('galhali/g2-capterra-buying-intent-scraper').call({
  products: ['Slack'],
  platforms: ['g2', 'capterra'],
  maxReviewsPerProduct: 20,
  sortBy: 'MOST_RECENT'
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.find((i) => i.recordType === 'BATTLECARD_SUMMARY'));
```

***

### 🧠 Deterministic `churnIntentScore` (0–100) & Pain Tag Taxonomy

Every review is scored transparently with zero LLM latency or extra AI token charges:

- **Star Rating Dissatisfaction (0–42 pts)**: `<=1.5★`: +42 | `<=2.5★`: +35 | `<=3.5★`: +24 | `<=4.0★`: +12 | `>4.0★`: +3
- **Recency Decay (0–20 pts)**: `<=30d`: +20 | `<=90d`: +14 | `<=180d`: +7
- **Switching & Pain Intensity (0–28 pts)**: Explicit switching intent (`"switched from"`, `"migrating"`, `"alternative"`): +15 | Pricing or support pain: +8 | Low rating (`<=3.5★`) with competitor named: +10
- **B2B Buyer Profile (0–15 pts)**: `Enterprise` / `Mid-Market` segment: +8 | Executive/Manager/Admin title (`VP`, `Director`, `Head`, `CTO`, `Manager`, `Admin`): +7
- **Incentive Normalization (-8 pts)**: Discounts vendor gift-card / incentivized reviews so genuine organic dissatisfaction floats to the top

**Output Tiers (`intentTier`)**:

- `HIGH_CHURN_RISK` (`>= 70`)
- `EVALUATING_ALTERNATIVES` (`48–69`)
- `FEATURE_OR_PRICE_FRICTION` (`28–47` or `<= 4.0★` with pain tags)
- `SATISFIED_ADVOCATE` (`< 28`)

**3 Curated Dataset Console Views**:

1. **Intent Reviews Overview**: Star rating, date, score, pain tags, competitors, pros/cons, buyer profile, URL.
2. **Buying-Intent & Clay Triggers**: Flattened `churnIntentScore`, `icpLookupQuery`, `personalizedFirstLine`, buyer role, dislikes.
3. **Competitor Battlecards & Churn Spike Radar**: `topPainTags`, `topCompetitorsMentioned`, `migrationEdges`, `churnVelocityDeltaPct`, `churnSpikeAlert`, full star histogram.

***

### 📊 Verified Cloud Benchmarks & Transparent Pricing

#### Real Apify Cloud Verification (`Slack`, G2 + Capterra, 128 MB Container)

- **Dataset Delivered**: **21 records** (`10` G2 + `10` Capterra + `1` unified `BATTLECARD_SUMMARY`)
- **Total Wall-Clock Time**: **105.5 seconds** (parallel G2 + Capterra Turbo-Frame & RSC pipelines)
- **Peak Memory Footprint (`memMaxBytes`)**: **71.3 MiB** (`74,792,960 B`) inside a **128 MB** container
- **Total Apify Platform Compute + Unblocker Proxy Cost**: **`$0.00353`** (~0.35¢ total overhead!)

#### Pay-Per-Event (PPE) Pricing

- **`apify-actor-start`**: `$0.005` flat run initialization
- **`apify-default-dataset-item`**: **`$0.0019` per record** (`$1.90 / 1,000` normalized review or battlecard rows)
- **No hidden Playwright compute bloat** — runs strictly at 128 MB RAM (~0.004 Compute Units per run).

***

### ❓ Frequently Asked Questions

**How does it handle DataDome on G2 and Cloudflare on Capterra?**
It uses **Apify Proxy `UNBLOCKER`** coupled with G2 Turbo-Frame cookie/referer session hydration and Capterra Next.js RSC stream parsing inside HTTP requests — no heavy headless Chrome required.

**What happens if my SaaS product isn't in your built-in directory?**
You can either paste the direct URLs (`productUrls`) OR simply enter the product name (`products: ["PostHog"]`). G2 resolves slugs automatically, and Capterra automatically searches `capterra.com/search/?search=...` to resolve the numeric `/p/{ID}/{Slug}` URL and caches it in Key-Value Store (`g2-capterra-intent-state`) for zero-cost repeat runs.

**Does deduplication remove cloned G2 reviews shown on Capterra?**
Yes. Capterra frequently displays `"Originally submitted on G2"` / `"GetApp"` syndication mirrors. When `deduplicateSyndicatedReviews: true` (default), fuzzy normalized fingerprints drop the cloned duplicate while keeping canonical `sourceSite` attribution.

***

### 🏷️ High-Intent Search Keywords

`g2 scraper`, `capterra scraper`, `g2 reviews scraper`, `capterra reviews scraper`, `g2 capterra scraper`, `g2 crowd scraper`, `software reviews scraper`, `b2b buyer intent data`, `saas churn intent scraper`, `g2 intent signals`, `competitor battlecard automation`, `g2 capterra deduplication`, `clay g2 reviews integration`, `n8n g2 scraper`, `instantly cold email intent triggers`, `g2 alternative scraper`, `datadome g2 bypass`, `cloudflare capterra bypass`, `b2b saas market research`, `product sentiment analysis scraper`.

# Actor input Schema

## `products` (type: `array`):

List of SaaS names (automatically resolved to both G2 & Capterra review URLs — works even for unlisted tools via live Capterra search fallback) or direct review URLs.

## `productUrls` (type: `array`):

Explicit G2 (https://www.g2.com/products/.../reviews) or Capterra (https://www.capterra.com/p/.../reviews/) URLs.

## `platforms` (type: `array`):

Which review platforms to query when product names are supplied.

## `maxReviewsPerProduct` (type: `integer`):

Maximum reviews returned per product per platform (set to 10-500).

## `sortBy` (type: `string`):

Sort reviews chronologically or by helpfulness/rating.

## `minRating` (type: `number`):

Keep only reviews with overall rating >= minRating.

## `maxRating` (type: `number`):

Keep only reviews with overall rating <= maxRating (set to 3 to capture dissatisfied buyers & switching intent).

## `lookbackDays` (type: `integer`):

Only return reviews published within the last N days (e.g. 30 or 90). Stops pagination automatically once older reviews are reached.

## `fromDate` (type: `string`):

Explicit ISO start date (YYYY-MM-DD). Overrides lookbackDays if provided.

## `companySegments` (type: `array`):

Filter by reviewer company size tier (Small-Business, Mid-Market, Enterprise). On G2, automatically applies native segment filters.

## `includeKeywords` (type: `array`):

Keep only reviews containing any of these terms (e.g. \['pricing', 'support', 'slow', 'cancel', 'alternative']).

## `deduplicateSyndicatedReviews` (type: `boolean`):

Detects and drops duplicate reviews mirrored across G2, Capterra, GetApp, and Software Advice.

## `emitBattlecardSummary` (type: `boolean`):

Appends a BATTLECARD_SUMMARY record per product with top pain tags, detractor ratio, 30d vs 90d churn spike velocity, and competitor migration graph.

## `onlyNewReviews` (type: `boolean`):

Persists seen review IDs per product in named Key-Value Store 'g2-capterra-intent-state' so scheduled runs return strictly new reviews.

## `cloudflareCacheWorkerUrl` (type: `string`):

Optional Cloudflare Worker endpoint for shared cross-run delta time-series review caching.

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

Concurrent UNBLOCKER pagination requests (1-8 recommended to protect 128 MB heap).

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

Defaults to Apify UNBLOCKER group (handles DataDome on G2 & Cloudflare on Capterra automatically without launching Chrome).

## Actor input object example

```json
{
  "products": [
    "Slack"
  ],
  "platforms": [
    "g2",
    "capterra"
  ],
  "maxReviewsPerProduct": 5,
  "sortBy": "MOST_RECENT",
  "minRating": 1,
  "maxRating": 5,
  "deduplicateSyndicatedReviews": true,
  "emitBattlecardSummary": true,
  "onlyNewReviews": false,
  "maxConcurrency": 4,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "UNBLOCKER"
    ]
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `battlecards` (type: `string`):

No description

# 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 = {
    "products": [
        "Slack"
    ],
    "platforms": [
        "g2",
        "capterra"
    ],
    "maxReviewsPerProduct": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("galhali/g2-capterra-buying-intent-scraper").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 = {
    "products": ["Slack"],
    "platforms": [
        "g2",
        "capterra",
    ],
    "maxReviewsPerProduct": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("galhali/g2-capterra-buying-intent-scraper").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 '{
  "products": [
    "Slack"
  ],
  "platforms": [
    "g2",
    "capterra"
  ],
  "maxReviewsPerProduct": 5
}' |
apify call galhali/g2-capterra-buying-intent-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,galhali/g2-capterra-buying-intent-scraper"
        }
    }
}
```

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/iXNAi6DFcatQTFf9y/builds/zonEOLQAt6etaZbcD/openapi.json
