Plugins

Scrape G2 software reviews

Given a G2 product (slug like slack, or a g2.com product URL), returns the product summary (name, rating, reviewCount, starDistribution, categories, aiSummary, pros, cons, segments) and its reviews: title, rating, date, reviewer (job title, industry, company size), likeBest, dislike, problemsSolved, the full answers, badges (validatedReviewer, currentUser, incentivized, source) and vendorResponse. Pages through G2's review pages up to max_results (10 per page, at most 10 pages per view); pick the view with sort, stars and search. details=true adds the vendor, description, website and languages. mode=search&query= searches G2's product catalog. Billed one unit per page fetched (pagesFetched).

post/reviews/g2

Request

  • Base URL: https://api.scrapeunblocker.com
  • URL: https://api.scrapeunblocker.com/reviews/g2
  • Auth: API key in header x-scrapeunblocker-key

Query parameters

productstring nullable

G2 product slug, e.g. 'slack' or 'hubspot-sales-hub', or a g2.com product URL such as https://www.g2.com/products/slack/reviews. Required unless mode=search.

modestring

'reviews' (default): a product's reviews. 'search': search G2's product catalog for query.

querystring nullable

Keyword to search G2 products for (mode=search), e.g. 'crm'.

pageinteger

1-based page to start from: 10 reviews per page, at most 10 (G2's limit per sort/filter view); with mode=search 20 products per page, at most 20. Use the nextPage of a previous response to continue.

max_resultsinteger nullable

How many reviews to collect across pages (1-100, default 10). With mode=search, how many products (1-100, default 20) - search answers whole pages of 20, so it can return a few more. Each page fetched is one billed unit.

sortstring

Review order: g2_default, most_recent, most_helpful, highest_rated, lowest_rated. Default: G2's own ranking.

starsinteger nullable

Only reviews with this star rating (1-5).

searchstring nullable

Only reviews whose answers mention this keyword.

detailsboolean

Also fetch the product page for its vendor, description, website and languages (one more billed unit).

proxy_countrystring nullable

Proxy country the request is sent from (ISO-2, e.g. 'US', 'DE'). Leave blank for the country chosen for the site.

Response

JSON with product, a reviews array, totals and nextPage (or results with mode=search).

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.