# G2 Reviews Scraper (`azzouzana/g2-scraper`) Actor

From $1/1K 💰 Scrape G2 product reviews by URL or slug. Export JSON or CSV with rating, pros, cons, NPS and 45+ fields. Sort, filter, up to 30K/run. From $1/1K. Competitive intel & AI workflows.

- **URL**: https://apify.com/azzouzana/g2-scraper.md
- **Developed by:** [Azzouzana](https://apify.com/azzouzana) (community)
- **Categories:** SEO tools, Automation, Integrations
- **Stats:** 241 total users, 70 monthly users, 100.0% runs succeeded, 9 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $1.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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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 Product Reviews Scraper PRO

**⚡ Super fast • 💰 Low-cost • 📊 Structured • 📈 Built for scale**\
Collect published product reviews from [G2](https://www.g2.com) for competitive intelligence, sentiment pipelines, or dashboards. Point the actor at a product, choose how results should be ordered, and cap how many reviews you need - sky is the limit!

***

#### ✅ What you get

Pull detailed review rows aligned with what analysts expect from G2: scores, prose responses, reviewer context, categories with direct links, optional video flags, and stable review URLs. Use **any public product URL** you would open in the browser - or just paste the **product slug**.

The actor is built with engineering excellence in mind:

- **Flexible product input:** Full `g2.com` product URLs (reviews tab, compare pages, single-review pages, regional sites) **or** a bare slug such as `hubspot-marketing-hub`.
- **Comprehensive, rich output:** 40+ data points per review - more than you’d typically need.
- **Multiple sort options:** Most recent, most helpful, highest / lowest rated, and G2 default.
- **Volume control:** Set how many reviews to collect per product (up to **30,000** per run, within plan limits).
- **Optional filters:** Star rating condition (`minimum` / `maximum`) + star value (1–5), and “published within the last N days” to narrow the window.
- **Lightning fast:** Give it a spin & see!

> More features are coming soon: category's products scraping, G2 search pages scraping & much more. Stay tuned!

***

### 🛠️ How to use this actor

1. [Create a free Apify account](https://apify.com/sign-up) if you do not have one.
2. Open the actor, fill in **Input**, and start a run.
3. Download results from the **Dataset** tab (JSON, CSV, or via API).

**🔗 Product URL or slug**

- Full URLs, for example:\
  `https://www.g2.com/products/slack/reviews`\
  `https://www.g2.com/products/hubspot-marketing-hub/reviews/12345678`\
  `https://fr.g2.com/products/clickup`
- Or **slug only:** `slack`, `zendesk-for-customer-service`, etc.

**🔀 Sort order (`sortOrder`)**

| In the actor UI | `sortOrder` value |
| :--------------: | :----------------: |
| G2 default | `g2_default` |
| Most recent | `most_recent` |
| Most helpful | `most_helpful` |
| Highest rated | `highest_rated` |
| Lowest rated | `lowest_rated` |

Default: **`most_recent`**.

**🎚️ Limits & filters**

- **`maxItems`** - Maximum reviews to collect for the product (minimum **5**, maximum **30,000** on input; effective cap may be lower on free plans).
- **`starFilterCondition`** (optional) - Choose `minimum` (at or above) or `maximum` (at or below).
- **`starFilterValue`** (optional) - Star value used by the selected condition (1–5).
- Set **both** `starFilterCondition` and `starFilterValue` to apply a star filter; if one is missing, star filtering is skipped.
- **`lookbackDays`** (optional) - Only reviews published within the last *N* days.

**Star filter examples**

- `starFilterCondition=minimum` + `starFilterValue=4` → include 4-star and 5-star reviews.
- `starFilterCondition=maximum` + `starFilterValue=2` → include 1-star and 2-star reviews.

***

### 🆓 Free tier limitations

We want you to see how this actor works before you commit. To keep things fair for everyone, the **free tier** usually includes these trial limits:

- **Sample data:** up to **5 reviews** per run - enough to check data quality.
- **Daily cap:** **5 runs** per calendar day (UTC).
- **Between runs:** at least **1 minute** before you can start another run.

> Free-user limits can change with platform load and your intended usage. [**Upgrade to a paid plan**](https://apify.com/pricing?fpr=cbgdsf) for unlimited extraction!

***

### 📥 Input

| Field | Type | Description |
| :-----: | :----: | :-----------: |
| `productUrl` | `string` | Any `g2.com` product URL that contains `/products/{slug}/`, or the product slug alone. |
| `sortOrder` | `string` | How reviews are ordered (see table above). |
| `maxItems` | `integer` | Max reviews to collect (up to 30,000 per run). |
| `starFilterCondition` | `string` | Optional. `minimum` or `maximum`. Must be paired with `starFilterValue` to apply star filtering. |
| `starFilterValue` | `integer` | Optional. Star threshold 1–5 used with `starFilterCondition`. |
| `lookbackDays` | `integer` | Optional. Only reviews published within the last N days. |

***

### 📦 Output

Each **dataset item** is one review, and has this format:

```json
{
	"reviewId": "7083825",
	"categories": [
		{
			"id": 36,
			"name": "Marketing Automation",
			"url": "https://www.g2.com/categories/36"
		}
	],
	"company_segment": 179,
	"company_segment_label": "Small-Business",
	"contract_length": "1 Year",
	"contract_length_weight": 12,
	"country": "United States",
	"discount": null,
	"discount_weight": null,
	"ease_of_admin": 7,
	"ease_of_doing_business_with": 6,
	"ease_of_setup": 7,
	"ease_of_use": 7,
	"hate_theme_humanized": "Uiux",
	"helpful": 0,
	"love_theme_humanized": "Usability",
	"meets_requirements": 7,
	"nps": 9,
	"nps_score": 5,
	"price": 6,
	"product_id": 364,
	"product_name": "HubSpot Marketing Hub",
	"productSlug": "hubspot-marketing-hub",
	"published": true,
	"published_at": "2026-04-16T16:12:41.189-05:00",
	"quality_of_support": 3,
	"rating": 4.5,
	"response_type": "text",
	"review_source": "g2gives",
	"reviewUrl": "https://www.g2.com/products/hubspot-marketing-hub/reviews/7083825",
	"security_confidence": 7,
	"security_importance": 7,
	"service_location": null,
	"source_type": "g2gives",
	"status": "approved",
	"submitted_at": "2022-09-08T10:23:10.031-05:00",
	"switched_from_other_product": false,
	"switched_from_products": [],
	"switched_reason": null,
	"switching_theme": null,
	"switching_theme_humanized": null,
	"switching_themes": null,
	"title": "Best marketing automation platform out there ",
	"user_name": "Anna Kate M.",
	"video_review_submitted_at": null,
	"videoIncluded": false,
	"whatDoYouDislike": "The customer support has seriously gone downhill.",
	"whatDoYouLike": "The AI tools have been a great addition and the email marketing analytics and email health is top tier.",
	"whatProblemsOrBenefits": "They allow our clients to gain valuable insights and analytics while also streamlining their processes. Best marketing automation platform out there"
}
```

### Users also run

Users also run these actors alongside G2 in competitive intel workflows — same flat JSON, different review directory:

- **[Capterra reviews](https://apify.com/azzouzana/capterra-reviews-scraper?fpr=cbgdsf)** — software review directory with pros/cons, sub-ratings, and multi-profile runs. From **$0.70/1K**, up to 10K reviews per profile.
- **[Trustpilot company reviews](https://apify.com/azzouzana/trustpilot-scraper?fpr=cbgdsf)** — brand and consumer ratings with filters, company replies, and optional business profiles. From **$0.40/1K**, beyond Trustpilot’s ~200-review browsing cap.

### 📬 Contact & Support

**Need a custom solution? Have a feature request?**\
We'd love to hear from you!

- 💬 **Discord**: `@azzouzana`
- 📧 **Email**: <labs@azzouzana.com>

***

### 🔍 SEO keywords

G2 scraper, G2 reviews scraper, G2 product reviews, scrape G2 reviews, software reviews data, B2B reviews API, G2 dataset, Apify G2, competitor reviews, review sentiment data, G2 CSV export, G2 JSON export

***

### 🔍 Looking for something else?

[Browse thousands of scrapers on Apify Store](https://apify.com/store?fpr=cbgdsf)

***

### ⚖️ Disclaimer

This actor is an **independent tool**, not affiliated with, endorsed by, or sponsored by G2 or its affiliates. All trademarks belong to their respective owners.

# Actor input Schema

## `productUrl` (type: `string`):

Any g2.com product page whose path includes /products/{slug}/ (reviews, compare, single review, etc.), or the product slug alone (e.g. hubspot-marketing-hub).

## `sortOrder` (type: `string`):

Sorting options: Most recent, Most helpful, Highest rated, Lowest rated.

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

Maximum reviews to collect (capped at 30000).

## `starFilterCondition` (type: `string`):

Choose whether to include reviews with ratings at or above (minimum) or at or below (maximum) a selected star value.

## `starFilterValue` (type: `integer`):

Star value used with the selected condition (1–5). Example: minimum + 4 means 4 stars and above.

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

Only reviews with published\_at within this many days. Omit or 0 for all time.

## Actor input object example

```json
{
  "productUrl": "https://www.g2.com/products/hubspot-marketing-hub/reviews",
  "sortOrder": "most_recent",
  "maxItems": 2000
}
```

# Actor output Schema

## `reviews` (type: `string`):

One dataset row per G2 review (scores, text, reviewer context, categories, review URL).

# 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 = {
    "productUrl": "https://www.g2.com/products/hubspot-marketing-hub/reviews",
    "maxItems": 2000
};

// Run the Actor and wait for it to finish
const run = await client.actor("azzouzana/g2-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 = {
    "productUrl": "https://www.g2.com/products/hubspot-marketing-hub/reviews",
    "maxItems": 2000,
}

# Run the Actor and wait for it to finish
run = client.actor("azzouzana/g2-scraper").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 '{
  "productUrl": "https://www.g2.com/products/hubspot-marketing-hub/reviews",
  "maxItems": 2000
}' |
apify call azzouzana/g2-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ljI4X7RX5SQW8y6lX/builds/nbujzdV6amO1YD9sQ/openapi.json
