Skip to main content
AI Studio  add-on for Spider.
Reviews
g2.com Verified

G2 Scraper

Extract software reviews, ratings, pricing, and comparison data from G2. Built on spider-browser .

Get started Docs
target
g2.com
success rate
99.9%
latency
~4ms
POST /fetch/g2.com/
return_format
curl -X POST https://api.spider.cloud/fetch/g2.com/ \
  -H "Authorization: Bearer $SPIDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
200 OK · cache hit · response shape
{
  "url": "https://g2.com/",
  "status": 200,
  "data": {
    "product_name": "string",
    "rating": "string",
    "review_count": "string",
    "category": "string",
    "pricing": "string",
    "pros": "string",
    "cons": "string",
    "alternatives": "string"
  }
}
Quick start

Extract data in minutes.

Structured JSON from g2.com with a single POST. AI-resolved selectors, cached on the first call.

g2-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
  stealth: 2,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://www.g2.com/categories/web-scraping");
await page.content(10000);

const data = await page.evaluate(`(() => {
  const products = [];
  document.querySelectorAll("[data-testid='product-card']").forEach(el => {
    const name = el.querySelector(".product-name")?.textContent?.trim();
    const rating = el.querySelector(".star-wrapper")?.getAttribute("title");
    const reviews = el.querySelector("[data-testid='review-count']")?.textContent?.trim();
    if (name) products.push({ name, rating, reviews });
  });
  return JSON.stringify({ total: products.length, products: products.slice(0, 10) });
})()`);

console.log(JSON.parse(data));
await spider.close();
ready to run · spider-browser · TypeScript
Extraction

Fields you can pull.

Product nameRatingReview countCategoryPricingProsConsAlternatives
Listings

Business intelligence

Extract ratings, reviews, and contact info from g2.com listings.

Pagination

Review collection

Navigate through paginated reviews with scroll-based lazy loading.

Geo

Location targeting

Access location-specific results with geo-targeted residential proxies.

Related

More Reviews scrapers.

Start

Start scraping g2.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.