scraper
Back to API docs

Overview

  • Overview

APIs

  • POSTAnalytics
  • POSTProducts
  • POSTDiscussions
  • POSTReviews

G2 Reviews

1 credit

Get software reviews from G2.

POST/api/v1/tools/g2/reviews

Parameters

productstring

Product slug or URL. At least one of product, reviewSearch, similarTo, or reviewIds is required.

reviewSearchstring

Global search term across reviews. At least one of product, reviewSearch, similarTo, or reviewIds is required.

similarTostring

Find reviews similar to given text. At least one of product, reviewSearch, similarTo, or reviewIds is required.

reviewIdsstring[]

Fetch specific reviews by ID. At least one of product, reviewSearch, similarTo, or reviewIds is required.

maxReviewsnumber

Maximum reviews to return. Defaults to 100. Pass 0 to fetch up to your plan limit.

sortBystring

Sort order. One of "DATE_DESC", "DATE_ASC", "RATING_DESC", "RATING_ASC", "HELPFUL_DESC", "G2_DEFAULT". Defaults to "DATE_DESC".

ratingsnumber[]

Filter by rating 1-5. Defaults to [1,2,3,4,5].

companySegmentstring[]

Filter by company segment. Values: "small_business", "mid_market", "enterprise".

dateFromstring

Start date filter (ISO string).

dateTostring

End date filter (ISO string).

includeHighlightsboolean

Include highlighted snippets. Defaults to true.

includeNonPublicboolean

Include non-public reviews. Defaults to false.

collapseByProductboolean

Group reviews by product. Defaults to false.

fieldsstring[]

Fields to include per review. Default: id, productName, title, pros, cons, npsScore, userName, submittedAt, helpful. Use ["*"] for all fields.

Response Schema

dataobject

G2 reviews result

reviewsobject[]

Array of review objects. Fields depend on the fields parameter.

countnumber

Number of reviews returned

totalReviewsnumber

Total reviews available for the product

truncatedboolean

True if results were cut short due to a timeout or limit. Only present when truncation occurred.

metaobject

Request metadata

toolstring

Tool name (g2-reviews)

creditsUsednumber

Credits consumed (1)

requestIdstring

Unique request ID

Request

curl -X POST https://scraper.run/api/v1/tools/g2/reviews \
-H "Authorization: Bearer sc_live_..." \
-H "Content-Type: application/json" \
-d '{
"product": "slack",
"maxReviews": 10,
"sortBy": "DATE_DESC",
"ratings": [4, 5]
}'

Response Example

{
"data": {
"reviews": [
{
"id": "rev_xyz789",
"productName": "Slack",
"title": "Essential for remote teams",
"pros": "Seamless integration with other tools, great search functionality.",
"cons": "Can be distracting with too many channels and notifications.",
"npsScore": 9,
"userName": "IT Manager",
"submittedAt": "2026-04-01T14:00:00.000Z",
"helpful": 23
}
],
"count": 1,
"totalReviews": 12450
},
"meta": {
"tool": "g2-reviews",
"creditsUsed": 1,
"requestId": "req_abc123"
}
}