GroundsocialDocs

API · G2

GET /g2/reviews

The newest reviews of a G2 product (about 25), with stars, reviewer and answers.

RequestGET /v1/g2/reviews
Operation idg2.reviews.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

The newest reviews of a G2 product (about 25), with stars, reviewer and answers.

Query parameters

NameTypeRequiredDescription
idstringnoThe product slug, as in g2.com/products/<slug>. Example: slack.
urlstringnoA g2.com product link, instead of id. Example: https://www.g2.com/products/slack/reviews.
starsstringnoOnly these star buckets, comma-separated (1-5). Example: 1,2.
sort"most-recent"noNewest first, the order G2’s feed gives. One of most-recent.
sincestringnoOnly reviews on or after this date (YYYY-MM-DD or ISO 8601).
untilstringnoOnly reviews on or before this date (that whole UTC day for YYYY-MM-DD).

Responses

StatusMeaningSchema
200The product and its newest reviews.G2ReviewsResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404G2 lists no product by that name.Error
429Too many requests. Wait for Retry-After seconds.Error
503G2 is temporarily unavailable. Retryable; nothing was charged.Error

G2ReviewsResponse fields

FieldTypeDescription
productobject
reviewsG2Review[]Newest first, about 25.
filtersobject

Errors use one shape everywhere; see Errors for every code and what to do.