# G2 Reviews Scraper Pro (`red.cars/g2-reviews-scraper-pro`) Actor

- **URL**: https://apify.com/red.cars/g2-reviews-scraper-pro.md
- **Developed by:** [AutomateLab](https://apify.com/red.cars) (community)
- **Categories:** Lead generation, E-commerce, AI
- **Stats:** 2 total users, 1 monthly users, 91.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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/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

## G2 Reviews Scraper Pro

Fast, lean G2 review scraper. Pulls full product reviews (title, body, rating, author, publish date) plus the product's aggregate rating and total review count, done in seconds.

### Why this one

G2 is one of the highest-signal B2B data sources: competitive research, sales intelligence, market maps. The current leaders make you pay for it:

- **zen-studio/g2-reviews-scraper** — charges **$6.49 per 1,000 reviews** and holds a **2.69 rating**
- **automation-lab/g2-scraper** — **$5.75 per 1,000** plus a **$0.01 actor start**
- Most rivals return raw page HTML or stop at Google's encoded redirect links

**G2 Reviews Scraper Pro costs $5.00 per 1,000 reviews and returns clean, structured rows — not HTML.**

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `productUrls` | array | `["https://www.g2.com/products/slack/reviews"]` | One or more G2 product review URLs (format: `https://www.g2.com/products/<slug>/reviews`) |
| `maxItems` | number | `10` | Maximum reviews to save per product |
| `maxPagesPerProduct` | number | `1` | Maximum review pages to fetch per product (10 reviews per page) |

### Output

| Field | Description |
|---|---|
| `productName` | Product display name (e.g. `Slack`) |
| `productSlug` | G2 slug (e.g. `slack`) |
| `reviewTitle` | Review headline |
| `reviewBody` | Full review text |
| `rating` | Star rating of the individual review |
| `author` | Reviewer name |
| `datePublished` | ISO 8601 publish date |
| `dateModified` | ISO 8601 last-edit date |
| `aggregateRating` | Product's overall G2 rating (e.g. `4.5`) |
| `reviewCount` | Product's total number of G2 reviews |
| `sourceUrl` | The G2 review page the row came from |

### Pricing

Pay per event:

| Event | Price | When |
|---|---|---|
| actor-start | $0.005 | Once per run |
| result | $0.005 | Per review saved to the dataset |

**$5.00 per 1,000 reviews.** Filtered rows (duplicates, out-of-scope URLs) are dropped before they are saved, so you are never billed for a row you do not receive.

### Use cases

- Competitive research: pull every review for a competitor's product and mine dislikes
- Sales intelligence: find reviewers at target accounts by product category
- Market analysis: aggregate ratings across a whole product category
- Brand monitoring: watch new reviews land on your own G2 listings

### FAQ

**Which URLs work?**
Product review pages: `https://www.g2.com/products/<slug>/reviews`. Slack's is the prefilled example — swap the slug for any G2 product.

**How fast is it?**
A single product page returns in roughly 30-60 seconds, with no headless browser.

**Do you return the product's aggregate rating?**
Yes — every row carries the product's `aggregateRating` and total `reviewCount`, scraped from the same page.

**What if a page is blocked?**
G2 sits behind aggressive bot protection; this actor routes requests through residential-grade unblocking by default. If a fetch fails, the run logs it and continues with the next product.

# Actor input Schema

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

Full G2 review URLs, one per product. Example: https://www.g2.com/products/slack/reviews

## `maxItems` (type: `integer`):

Hard cap on total reviews pushed across all products. The actor stops as soon as it is reached.

## `maxPagesPerProduct` (type: `integer`):

How many review pages (10 reviews per page) to pull for each product.

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

Only save reviews with at least this star rating. Filtered reviews are never saved or charged.

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

Only save reviews with at most this star rating. Useful for pulling 1-3 star complaints only.

## `keyword` (type: `string`):

Only save reviews whose title or body contains this keyword (case-insensitive). Filtered reviews are never saved or charged.

## Actor input object example

```json
{
  "productUrls": [
    "https://www.g2.com/products/slack/reviews"
  ],
  "maxItems": 10,
  "maxPagesPerProduct": 1
}
```

# Actor output Schema

## `results` (type: `string`):

URL to the dataset with the scraped reviews.

# 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 = {
    "productUrls": [
        "https://www.g2.com/products/slack/reviews"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("red.cars/g2-reviews-scraper-pro").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 = { "productUrls": ["https://www.g2.com/products/slack/reviews"] }

# Run the Actor and wait for it to finish
run = client.actor("red.cars/g2-reviews-scraper-pro").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 '{
  "productUrls": [
    "https://www.g2.com/products/slack/reviews"
  ]
}' |
apify call red.cars/g2-reviews-scraper-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,red.cars/g2-reviews-scraper-pro"
        }
    }
}
```

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/beEiW9difTeEfgxeG/builds/5TlaTFD8gyBAbnmJk/openapi.json
