# G2 & Capterra Review Intelligence API | B2B Review Analytics (`taroyamada/g2-capterra-review-intelligence`) Actor

Collect and normalize G2 and Capterra software reviews into one schema with product metadata, ratings, pros/cons, review samples, and structural change warnings.

- **URL**: https://apify.com/taroyamada/g2-capterra-review-intelligence.md
- **Developed by:** [太郎 山田](https://apify.com/taroyamada) (community)
- **Categories:** Business, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## G2 & Capterra Review Intelligence API | B2B Review Analytics

Monitor competitor software and track brand reputation by extracting structured data from G2 and Capterra review pages. This advanced web scraper normalizes user feedback from the top B2B platforms into a single, cohesive dataset. By simply providing your target URLs, the tool identifies the source website and extracts precise details like overall product ratings, individual review text, and reviewer backgrounds.

Data teams and market researchers use this API to schedule recurring extraction jobs, automatically feeding fresh customer sentiment into their data pipelines. When you run this scraper, its built-in resilience ensures you never ingest corrupted data. If a browser block is encountered or the target page alters its layout, the tool generates explicit structural change warnings. Even when full text is obscured, it gracefully degrades to salvage essential metadata, keeping your automated workflows running smoothly.

Leverage the scraped results to fuel machine learning models, populate internal business intelligence tools, or compile competitor analysis reports. The unified schema guarantees that whether the data originates from G2 or Capterra, the output fields remain perfectly consistent. Extract actionable B2B intelligence at scale without constantly repairing brittle scraping scripts, and maintain a clear view of your industry's software landscape.

### Store Quickstart

- Start with 1–5 review URLs and a modest `reviewLimit` (25–50).
- Mix G2 and Capterra in one run only after you validate the schema on a small sample.
- Use `dryRun: true` for validation-only checks before larger monitoring runs.

### Features

- **Dual-source support**: Accepts both G2 (`g2.com/products/*/reviews`) and Capterra (`capterra.com/p/*/reviews/`) URLs
- **Automatic source detection**: Classifies each URL and routes to the correct parser
- **Normalized output**: Unified review schema across both platforms — product metadata, ratings, individual reviews with pros/cons, rating breakdowns
- **Structural change warnings**: Emits explicit warnings when page shapes change or access is blocked, rather than silently returning bad data
- **Graceful degradation**: Returns partial results (metadata without reviews) when possible, with clear status indicators

### Use Cases

| Who | Why |
|---|---|
| **B2B product marketers** | Benchmark category leaders and review themes across two major software-review sites |
| **RevOps / sales enablement** | Track competitor proof points, objections, and complaint patterns |
| **Analysts** | Build one normalized review dataset across G2 and Capterra |
| **Agencies** | Monitor multiple software products with a reusable schema |

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `reviewPageUrls` | string[] | *(required)* | G2 or Capterra review page URLs |
| `reviewLimit` | integer | 200 | Max reviews to collect per product (1–5000) |
| `delivery` | string | `"dataset"` | `"dataset"` or `"webhook"` |
| `webhookUrl` | string | | Webhook URL for delivery mode |
| `dryRun` | boolean | false | Validate input without fetching |

### Output

Each product in the `products` array contains:

- `source` — `"g2"` or `"capterra"`
- `productName`, `overallRating`, `totalReviewCount`, `ratingBreakdown`
- `vendorName`, `categoryName` (when available)
- `reviews[]` — normalized reviews with `title`, `rating`, `date`, `author`, `body`, `pros`, `cons`, `verified`
- `status` — `"ok"`, `"partial"`, `"blocked"`, or `"error"`
- `fetchError` — error details if fetch failed

The `meta` section reports `implementationStatus`: `"live"`, `"partial"`, `"degraded"`, or `"no_valid_sources"`.

#### Output Example

```json
{
  "source": "g2",
  "status": "ok",
  "sourceUrl": "https://www.g2.com/products/notion/reviews",
  "productName": "Notion",
  "vendorName": "Notion Labs",
  "overallRating": 4.5,
  "totalReviewCount": 4321,
  "ratingBreakdown": { "5": 1200, "4": 800, "3": 300, "2": 50, "1": 10 },
  "reviews": [
    {
      "title": "Great tool",
      "rating": 5,
      "author": "Alice",
      "pros": "Fast setup",
      "cons": "Needs offline mode",
      "verified": true
    }
  ],
  "warnings": []
}
````

### Parsing Strategy

1. **JSON-LD** (structured data in `<script type="application/ld+json">`) — most stable
2. **Embedded app data** (e.g., `__NEXT_DATA__` for Capterra) — second layer
3. **Meta tags** (`og:title`) — product name fallback
4. **HTML pattern matching** — last resort for reviews

This layered approach means the actor degrades gracefully as sites change markup.

### Local Run

```bash
## Edit input.json with your URLs, then:
npm start

## Dry run (validation only, no network):
## Set "dryRun": true in input.json
npm start
```

### Tests

```bash
npm test
```

### Limitations

- Reviews are extracted from server-rendered HTML; sites that render reviews only via client-side JavaScript may return partial results
- G2 and Capterra actively protect against automated access — blocked requests are reported honestly
- HTML parsing is inherently fragile; the actor emits warnings when expected patterns are missing

### Related Actors

Pair this actor with other flagship intelligence APIs in the same portfolio:

- [Trustpilot Review Intelligence API](https://apify.com/taroyamada/trustpilot-enterprise-review-aggregator) — add broader company reputation and reply-rate signals.
- [Google Maps Review Intelligence API](https://apify.com/taroyamada/google-maps-review-intelligence) — compare software-brand review data with location sentiment when relevant.
- [Shopify Store Intelligence API](https://apify.com/taroyamada/shopify-store-intelligence) — enrich vendor or competitor research with public storefront and catalog signals.
- [YouTube Channel Analytics API](https://apify.com/taroyamada/youtube-channel-analytics) — combine review themes with public content cadence and audience-facing proof.

### Pricing & Cost Control

Apify Store pricing is usage-based, so total cost mainly follows how many `reviewPageUrls` you process and how deep you sample reviews. Check the Store pricing card for the current per-event rates.

- Keep `reviewPageUrls` batches small while validating source mix.
- Lower `reviewLimit` for faster exploratory runs.
- Use dataset delivery first to inspect `blocked` or `partial` results.
- Use `dryRun: true` before scaling to scheduled monitoring.

### ⭐ Was this helpful?

If this actor saved you time, please [**leave a ★ rating**](https://apify.com/taroyamada/g2-capterra-review-intelligence/reviews) on Apify Store. It takes 10 seconds, helps other developers discover it, and keeps updates free.

Bug report or feature request? Open an issue on the [Issues tab](https://apify.com/taroyamada/g2-capterra-review-intelligence/issues) of this actor.

# Actor input Schema

## `reviewPageUrls` (type: `array`):

One or more G2 or Capterra review page URLs. Supported formats: g2.com/products/{slug}/reviews, capterra.com/p/{id}/{slug}/reviews/

## `reviewLimit` (type: `integer`):

Maximum reviews to collect per product page.

## `delivery` (type: `string`):

Where to send results: dataset or webhook

## `webhookUrl` (type: `string`):

Webhook URL to POST results to when delivery=webhook.

## `dryRun` (type: `boolean`):

Validate input and return scaffold output without fetching live data.

## Actor input object example

```json
{
  "reviewPageUrls": [
    "https://www.g2.com/products/notion/reviews",
    "https://www.capterra.com/p/147384/Notion/reviews/"
  ],
  "reviewLimit": 200,
  "delivery": "dataset",
  "dryRun": false
}
```

# 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 = {
    "reviewPageUrls": [
        "https://www.g2.com/products/notion/reviews",
        "https://www.capterra.com/p/147384/Notion/reviews/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("taroyamada/g2-capterra-review-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 = { "reviewPageUrls": [
        "https://www.g2.com/products/notion/reviews",
        "https://www.capterra.com/p/147384/Notion/reviews/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("taroyamada/g2-capterra-review-intelligence").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "reviewPageUrls": [
    "https://www.g2.com/products/notion/reviews",
    "https://www.capterra.com/p/147384/Notion/reviews/"
  ]
}' |
apify call taroyamada/g2-capterra-review-intelligence --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=taroyamada/g2-capterra-review-intelligence",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "G2 & Capterra Review Intelligence API | B2B Review Analytics",
        "description": "Collect and normalize G2 and Capterra software reviews into one schema with product metadata, ratings, pros/cons, review samples, and structural change warnings.",
        "version": "0.1",
        "x-build-id": "jMEziQ0IM8vhUGsvi"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/taroyamada~g2-capterra-review-intelligence/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-taroyamada-g2-capterra-review-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/taroyamada~g2-capterra-review-intelligence/runs": {
            "post": {
                "operationId": "runs-sync-taroyamada-g2-capterra-review-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/taroyamada~g2-capterra-review-intelligence/run-sync": {
            "post": {
                "operationId": "run-sync-taroyamada-g2-capterra-review-intelligence",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "reviewPageUrls"
                ],
                "properties": {
                    "reviewPageUrls": {
                        "title": "Review Page URLs",
                        "type": "array",
                        "description": "One or more G2 or Capterra review page URLs. Supported formats: g2.com/products/{slug}/reviews, capterra.com/p/{id}/{slug}/reviews/",
                        "items": {
                            "type": "string"
                        }
                    },
                    "reviewLimit": {
                        "title": "Review Limit",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum reviews to collect per product page.",
                        "default": 200
                    },
                    "delivery": {
                        "title": "Delivery",
                        "enum": [
                            "dataset",
                            "webhook"
                        ],
                        "type": "string",
                        "description": "Where to send results: dataset or webhook",
                        "default": "dataset"
                    },
                    "webhookUrl": {
                        "title": "Webhook URL",
                        "type": "string",
                        "description": "Webhook URL to POST results to when delivery=webhook."
                    },
                    "dryRun": {
                        "title": "Dry Run",
                        "type": "boolean",
                        "description": "Validate input and return scaffold output without fetching live data.",
                        "default": false
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
