# G2 Product Search Scraper (`scrapeai/g2-search-products-scraper`) Actor

Extract software product listings, categories, reviews, ratings, and vendor information from G2 with support for keyword search, category browsing, and direct product URL scraping.

- **URL**: https://apify.com/scrapeai/g2-search-products-scraper.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Categories:** E-commerce, Developer tools, Automation
- **Stats:** 6 total users, 2 monthly users, 94.4% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.49 / 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 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 Search Scraper

Extract software product listings, categories, reviews, ratings, and vendor information from G2 with support for keyword search, category browsing, and direct product URL scraping.

### Features

- **Keyword search** — find software products by name, category, or use case
- **Category mode** — scrape software listings by specific categories or industries
- **Direct product URL mode** — extract detailed data from specific G2 product pages
- **Review extraction** — collect ratings, review counts, pros, cons, and user feedback
- **Product details** — gather features, pricing, integrations, deployment types, and supported platforms
- **Vendor information** — extract company name, website, and product ownership details
- **Category hierarchy** — capture software category relationships and rankings
- **Structured JSON output** — clean, machine-readable data for analytics or integrations
- **Cloud-ready** — runs on Apify with scheduling, proxy rotation, API access, dataset exports, and webhook support

### Use Cases

- SaaS competitor analysis
- Product review monitoring
- Software pricing comparison
- Feature benchmarking across tools
- Building software discovery platforms
- Market research and customer sentiment analysis

#### Example Output

```json
{
	"name": "ActiveCampaign",
	"slug": "activecampaign",
	"url": "https://www.g2.com/products/activecampaign/reviews",
	"vendor": "vendor",
	"category": "category",
	"rating": 4.5,
	"reviewCount": 13708,
	"description": "description",
	"website": "https://www.example.com",
	"hasPricing": true,
	"discussions": 188,
	"badges": [],
	"highlightedPros": [
		{
			"feature": "Ease of Use",
			"mentions": 1948
		},
		{
			"feature": "Automation",
			"mentions": 1695
		},
		{
			"feature": "Automations",
			"mentions": 1371
		},
		{
			"feature": "Features",
			"mentions": 1277
		},
		{
			"feature": "Email Marketing",
			"mentions": 1149
		}
	],
	"highlightedCons": [
		{
			"feature": "Learning Curve",
			"mentions": 863
		},
		{
			"feature": "Missing Features",
			"mentions": 679
		},
		{
			"feature": "Expensive",
			"mentions": 576
		},
		{
			"feature": "Limited Features",
			"mentions": 541
		},
		{
			"feature": "Limitations",
			"mentions": 503
		}
	],
	"logoUrl": "https://images.g2crowd.com/uploads/product/image/large_detail/large_detail_50828ef2b93af30b29edd9061533c3b9/activecampaign.jpg",
	"scrapedAt": "2026-06-24T11:54:04.540Z"
}
```

# Actor input Schema

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

search: find by query | category: browse a category | productUrl: scrape product detail pages | categoryUrl: scrape from a category URL

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

Search

## `category` (type: `string`):

Category

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

G2 product page URLs to scrape, e.g. https://www.g2.com/products/salesforce/reviews (used when mode is 'productUrl')

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

Full G2 category URL, e.g. https://www.g2.com/categories/crm (used when mode is 'categoryUrl')

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

Maximum number of products to scrape

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

Proxy settings. Use RESIDENTIAL proxy for best results on G2.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "github",
  "category": "erp",
  "productUrls": [],
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "searchQuery": "github",
    "category": "erp",
    "productUrls": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/g2-search-products-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 = {
    "searchQuery": "github",
    "category": "erp",
    "productUrls": [],
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/g2-search-products-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 '{
  "searchQuery": "github",
  "category": "erp",
  "productUrls": []
}' |
apify call scrapeai/g2-search-products-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

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