# G2 Reviews Scraper - No Proxy Needed (`zhorex/g2-reviews-scraper`) Actor

Extract G2 reviews, ratings, and product data via G2's public Elasticsearch API. No browser, no proxy, no Kasada issues. 29 fields per review including NPS, sentiment, and switching data. 3 modes: reviews, product search, category browse. $5/1K reviews.

- **URL**: https://apify.com/zhorex/g2-reviews-scraper.md
- **Developed by:** [Sami](https://apify.com/zhorex) (community)
- **Categories:** Lead generation, SEO tools, Automation
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 review scrapeds

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 Reviews Scraper - No Proxy Needed

While other G2 scrapers fight Kasada WAF and fail (average store rating: 1.4 stars), this actor connects directly to G2's public Elasticsearch API. No browser, no proxy, no blocking.

### Key Features

- **No proxy needed** — G2's Elasticsearch API is publicly accessible at `search.g2.com`
- **No browser needed** — pure HTTP requests, runs on 256MB RAM
- **29+ fields per review** — including NPS, sentiment themes, switching data, regional info
- **3 modes** — extract reviews, search products, or browse categories
- **Batch processing** — scrape multiple products in a single run
- **`search_after` pagination** — handles products with 50,000+ reviews (no 10K offset limit)
- **Pay per result** — only pay for data you actually get

### Why This Works When Others Don't

G2.com uses **Kasada WAF** on their frontend (`www.g2.com`), which blocks virtually all browser-based scrapers. However, G2 exposes a **public Elasticsearch cluster** at `search.g2.com` with a `readonly` user that requires no authentication. This actor queries that API directly — no browser rendering, no JavaScript execution, no anti-bot detection to bypass.

### Pricing

| Event | Price |
|-------|-------|
| Per review extracted | $0.005 |
| Per product found | $0.01 |

**Up to 50% cheaper than alternatives** — and with a near-100% success rate.

### Comparison

| Feature | This Actor | Browser-Based Scrapers |
|---------|-----------|----------------------|
| Proxy needed | **No** | Yes (residential) |
| Browser needed | **No** | Yes (Playwright/Puppeteer) |
| RAM required | **256 MB** | 2-4 GB |
| Price per review | **$0.005** | $0.0065-0.01 |
| Success rate | **~99%** | ~30-50% |
| Kasada blocked | **No** | Yes |
| Max reviews/product | **50,000** | ~100-500 |

### Input Examples

#### Mode: Reviews (default)

Extract reviews from specific G2 products:

```json
{
    "mode": "reviews",
    "productUrls": [
        "https://www.g2.com/products/clickup/reviews",
        "https://www.g2.com/products/slack",
        "notion"
    ],
    "maxReviews": 500,
    "minRating": 3,
    "language": "en"
}
````

#### Mode: Product Search

Search for products by keyword:

```json
{
    "mode": "product_search",
    "searchQuery": "project management",
    "maxProducts": 50
}
```

#### Mode: Category Browse

List all products in a G2 category:

```json
{
    "mode": "category_browse",
    "categoryUrl": "project-management",
    "maxProducts": 100
}
```

### Output Example — Review

```json
{
    "productSlug": "clickup",
    "productName": "ClickUp",
    "reviewId": "review-12599203",
    "reviewUrl": "https://www.g2.com/survey_responses/clickup-review-12599203",
    "rating": 4.0,
    "title": "Effortless Sprint Management, User-Friendly Interface",
    "reviewText": "I find ClickUp very user-friendly and easy to use...",
    "reviewDate": "2026-04-08",
    "reviewerName": "Shivam K.",
    "reviewerCountry": "India",
    "reviewerRegion": "Asia",
    "reviewerPrimaryRegion": "Asia Pacific",
    "reviewerSegment": "small-business",
    "npsScore": 4,
    "npsRaw": 8.0,
    "easeOfUseRating": null,
    "qualityOfSupportRating": null,
    "easeOfSetupRating": null,
    "meetsRequirementsRating": null,
    "easeOfAdminRating": null,
    "easeOfDoingBusinessWithRating": null,
    "directionRating": null,
    "sentimentThemes": null,
    "loveTheme": null,
    "hateTheme": null,
    "switchedFromOtherProduct": "no",
    "switchedFromProductIds": null,
    "switchedReason": null,
    "switchingThemes": null,
    "likelihoodToRecommend": 8.0,
    "isVerifiedUser": true,
    "isIncentivizedReview": true,
    "reviewSource": "g2",
    "sourceType": "organic",
    "companySegmentCode": 179,
    "industry": null,
    "helpful": 0,
    "responseType": "text",
    "published": true,
    "publishedAt": "2026-04-08T03:05:01.013-05:00",
    "scrapedAt": "2026-04-09T15:00:00.000000+00:00"
}
```

### Output Example — Product

```json
{
    "productSlug": "clickup",
    "productName": "ClickUp",
    "productUrl": "https://www.g2.com/products/clickup",
    "productWebsite": "clickup.com",
    "averageRating": 4.66,
    "starRating": 5,
    "totalReviews": 11137,
    "category": "Project and Portfolio Management",
    "allCategories": ["Project Management", "Task Management", "Work Management"],
    "description": "ClickUp is one app to replace them all...",
    "vendorName": "ClickUp",
    "uuid": "432a896c-e0d7-467f-a8e9-148f85044553",
    "scrapedAt": "2026-04-09T15:00:00.000000+00:00"
}
```

### FAQ

**Does this need a proxy?**
No. The Elasticsearch API at `search.g2.com` is publicly accessible without authentication or IP restrictions.

**Why do other G2 scrapers fail?**
They scrape G2's frontend (`www.g2.com`) which uses Kasada WAF — one of the most aggressive anti-bot systems. This actor bypasses the frontend entirely by querying the backend API directly.

**Can I get reviewer email or full company name?**
No. The API only exposes the reviewer's display name, country, region, and company segment code (small-business, mid-market, enterprise).

**What's the max reviews per product?**
50,000 per run. The actor uses Elasticsearch's `search_after` cursor pagination, which has no offset limit.

**How fresh is the data?**
Reviews appear in the API within hours of being published on G2. The data is live, not cached.

**What if the API stops working?**
If G2 changes their Elasticsearch configuration, the actor will log a clear error message. No fallback to browser scraping — the API approach is the entire value proposition.

### Other Scrapers by Zhorex

- [Telegram Channel Scraper](https://apify.com/zhorex/telegram-channel-scraper) — Extract messages, media, and metadata from Telegram channels
- [RedNote Xiaohongshu Scraper All-in-One](https://apify.com/zhorex/rednote-xiaohongshu-scraper) — Scrape posts, comments, and user profiles from RedNote
- [Domain Authority Checker](https://apify.com/zhorex/domain-authority-checker) — Bulk check DA/PA for SEO analysis
- [Phone Number Validator](https://apify.com/zhorex/phone-number-validator) — Validate and format phone numbers worldwide

### Legal Disclaimer

This actor accesses G2's publicly available API endpoints. No authentication is bypassed, no login credentials are used, and no terms of service are circumvented. The `search.g2.com` Elasticsearch cluster is exposed with a `readonly` user that requires no credentials. This actor sends standard HTTP requests to that public endpoint.

# Actor input Schema

## `mode` (type: `string`):

Select what to extract from G2.

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

List of G2 product URLs or slugs to scrape reviews from. Accepts full URLs (https://www.g2.com/products/clickup/reviews) or just the slug (clickup). Required for 'reviews' mode.

## `searchQuery` (type: `string`):

Keyword to search for products on G2. Required for 'product\_search' mode.

## `categoryUrl` (type: `string`):

G2 category URL or name to browse products. Required for 'category\_browse' mode.

## `maxReviews` (type: `integer`):

Maximum number of reviews to extract per product. Set to 0 for unlimited (up to 50,000).

## `maxProducts` (type: `integer`):

Maximum number of products to return in product\_search or category\_browse modes.

## `minRating` (type: `integer`):

Filter reviews by minimum star rating (1-5 scale mapped from G2's 1-10 scale). Leave empty for all ratings.

## `language` (type: `string`):

Filter reviews by language availability.

## Actor input object example

```json
{
  "mode": "reviews",
  "productUrls": [
    "https://www.g2.com/products/clickup/reviews"
  ],
  "searchQuery": "project management",
  "categoryUrl": "project-management",
  "maxReviews": 100,
  "maxProducts": 50,
  "language": "en"
}
```

# 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 = {
    "mode": "reviews",
    "productUrls": [
        "https://www.g2.com/products/clickup/reviews"
    ],
    "searchQuery": "project management",
    "categoryUrl": "project-management",
    "maxReviews": 100,
    "maxProducts": 50,
    "language": "en"
};

// Run the Actor and wait for it to finish
const run = await client.actor("zhorex/g2-reviews-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 = {
    "mode": "reviews",
    "productUrls": ["https://www.g2.com/products/clickup/reviews"],
    "searchQuery": "project management",
    "categoryUrl": "project-management",
    "maxReviews": 100,
    "maxProducts": 50,
    "language": "en",
}

# Run the Actor and wait for it to finish
run = client.actor("zhorex/g2-reviews-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 '{
  "mode": "reviews",
  "productUrls": [
    "https://www.g2.com/products/clickup/reviews"
  ],
  "searchQuery": "project management",
  "categoryUrl": "project-management",
  "maxReviews": 100,
  "maxProducts": 50,
  "language": "en"
}' |
apify call zhorex/g2-reviews-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "G2 Reviews Scraper - No Proxy Needed",
        "description": "Extract G2 reviews, ratings, and product data via G2's public Elasticsearch API. No browser, no proxy, no Kasada issues. 29 fields per review including NPS, sentiment, and switching data. 3 modes: reviews, product search, category browse. $5/1K reviews.",
        "version": "1.0",
        "x-build-id": "3eHiXuravwBOKjSZj"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/zhorex~g2-reviews-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-zhorex-g2-reviews-scraper",
                "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/zhorex~g2-reviews-scraper/runs": {
            "post": {
                "operationId": "runs-sync-zhorex-g2-reviews-scraper",
                "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/zhorex~g2-reviews-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-zhorex-g2-reviews-scraper",
                "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": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Scraping Mode",
                        "enum": [
                            "reviews",
                            "product_search",
                            "category_browse"
                        ],
                        "type": "string",
                        "description": "Select what to extract from G2.",
                        "default": "reviews"
                    },
                    "productUrls": {
                        "title": "Product URLs or Slugs",
                        "type": "array",
                        "description": "List of G2 product URLs or slugs to scrape reviews from. Accepts full URLs (https://www.g2.com/products/clickup/reviews) or just the slug (clickup). Required for 'reviews' mode.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "searchQuery": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Keyword to search for products on G2. Required for 'product_search' mode."
                    },
                    "categoryUrl": {
                        "title": "Category URL or Name",
                        "type": "string",
                        "description": "G2 category URL or name to browse products. Required for 'category_browse' mode."
                    },
                    "maxReviews": {
                        "title": "Max Reviews Per Product",
                        "minimum": 0,
                        "maximum": 50000,
                        "type": "integer",
                        "description": "Maximum number of reviews to extract per product. Set to 0 for unlimited (up to 50,000).",
                        "default": 100
                    },
                    "maxProducts": {
                        "title": "Max Products",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of products to return in product_search or category_browse modes.",
                        "default": 50
                    },
                    "minRating": {
                        "title": "Minimum Star Rating",
                        "minimum": 1,
                        "maximum": 5,
                        "type": "integer",
                        "description": "Filter reviews by minimum star rating (1-5 scale mapped from G2's 1-10 scale). Leave empty for all ratings."
                    },
                    "language": {
                        "title": "Language",
                        "type": "string",
                        "description": "Filter reviews by language availability.",
                        "default": "en"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
