G2 Reviews API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Pull a G2 product's aggregate rating, review summary and top pros and cons, plus individual reviews with reviewer job title, company size and vendor responses. The summary is G2's digest, and sorting does not turn it into the verbatim text of every review.
Send POST https://api.everyinfra.com/api/v1/social with platform set to g2 and action set to reviews. Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
G2 Reviews reads the reviews of one software product on G2, given its product url or slug. Individual reviews carry a title, the text, the reviewer's rating, name, job title and company size, the posting date and any vendor response, and the product as a whole gets an overall rating, a total review count, a review summary and the most-mentioned pros and cons. Product marketers use it to follow what customers praise and criticize, competitive intelligence teams to study a rival's weak spots, and software buyers to check a product before they commit.
Check record_type on each row to see what kind of record it is. aggregate_rating is the product's overall score on a 5-point scale, while rating belongs to one review and comes with its own rating_scale. sort orders reviews by relevance (the default), newest first, or highest rated first.
AI prompt
#Please help me write a data collection script with the EveryInfra G2 Reviews endpoint (g2/reviews).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to g2 and action to reviews, and put the parameters inside params.
- Required parameters:
- url: Specifies the target G2 resource URL or bare slug. For profile, reviews, and alternatives, pass a /products/<slug> URL or product slug; for vendor, pass a /sellers/<slug> URL or seller slug.
- Optional parameters:
- sort: Sorts reviews using allowed values: newest, relevance (default), or top_rated. Although accepted across shared object endpoints, passing this parameter does not guarantee that product profile details, vendor pages, or co… (allowed: newest / relevance / top_rated)
- limit: The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 20)
- Returns a list of records. Main fields of each record: record_type, product_slug, url, aggregate_rating, total_reviews, summary_text, top_pros, top_cons, id, title, text, rating; 19 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=g2.
- Example request body:
{
"platform": "g2",
"action": "reviews",
"params": {
"url": "https://www.g2.com/products/slack/reviews"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | g2 | Platform identifier, fixed value. |
action | body | string | Yes | reviews | Capability identifier, fixed value. |
url | body.params | string | Yes | - | Specifies the target G2 resource URL or bare slug. For profile, reviews, and alternatives, pass a /products/<slug> URL or product slug; for vendor, pass a /sellers/<slug> URL or seller slug. For compare, passing a full /compare/ URL overrides auto-generated paths, though the required slugs parameter must still be supplied. |
sort | body.params | string (enum) | No | - | Sorts reviews using allowed values: newest, relevance (default), or top_rated. Although accepted across shared object endpoints, passing this parameter does not guarantee that product profile details, vendor pages, or comparison lists will change their internal sorting order.Allowed valuesnewestrelevancetop_rated |
limit | body.params | integer (1–100) | No | 20 | The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "g2",
"action": "reviews",
"params": {
"url": "https://www.g2.com/products/slack/reviews"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "g2", "action": "reviews", "results": [ { "record_type": "summary", "product_slug": "slack", "url": "https://www.g2.com/products/slack/reviews", "aggregate_rating": 9.1, "total_reviews": 39795, "top_pros": [ { "label": "Ease of Use", "mentions": 3483 }, { "label": "Team Collaboration", "mentions": 3031 }, { "label": "Communication", "mentions": 2876 } ], "top_cons": [ { "label": "Notification Issues", "mentions": 1114 }, { "label": "Missing Features", "mentions": 905 }, { "label": "Limited Features", "mentions": 733 } ], "platform": "g2" }, { "record_type": "review", "id": "13501744", "title": "Powerful Tool Packed with Helpful Insights", "text": "Its too powerful and gives lots of helpful insights Nothing at all its great and sometimes it may get overwhelming We dont have slack yet in our company", "rating": 4.5, "responses": { "What do you like best about Slack?": "Its too powerful and gives lots of helpful insights", "What do you dislike about Slack?": "Nothing at all its great and sometimes it may get overwhelming", "What problems is Slack solving and how is that benefiting you?": "We dont have slack yet in our company" }, "author_name": "•••", "author_business_size": "Enterprise (> 1000 emp.)", "product_slug": "slack", "url": "https://www.g2.com/products/slack/reviews/slack-review-13501744", "posted_at": "2026-09-17T16:57:24-05:00", "platform": "g2", "rating_scale": 5 } ], "count": 21, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
record_type | Keeps the platform's own meaning |
product_slug | Keeps the platform's own meaning |
url | Link to the record on the platform. |
aggregate_rating | Keeps the platform's own meaning |
total_reviews | Keeps the platform's own meaning |
summary_text | Keeps the platform's own meaning |
top_pros | Keeps the platform's own meaning |
top_cons | Keeps the platform's own meaning |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
title | Title. null when the platform has no titles (for example text-only posts). |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
rating | Rating. The scale varies by platform: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
responses | Keeps the platform's own meaning |
author_name | Author's display name. |
author_job_title | Keeps the platform's own meaning |
author_business_size | Keeps the platform's own meaning |
product_name | Keeps the platform's own meaning |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
FAQ
#What do I pass as url?
#The product's G2 link under /products/, such as https://www.g2.com/products/slack/reviews, or just the slug, slack in that example. Vendor and category pages are not product links. If you only know the product's name, find its G2 link with G2 Search first.
Which reviews should I weigh most when choosing software?
#Those from companies like yours. author_business_size gives the reviewer's company size, and in B2B buying only reviews from companies of a similar size tell you much. author_job_title shows the reviewer's role, and responses shows how the vendor answers criticism, which says something about its support.
Can I feed G2 reviews to ChatGPT or Claude Code?
#Yes. In Claude Code, install the EveryInfra plugin and configure your API key; in ChatGPT, connect EveryInfra over MCP with your API key. Either assistant can then call this capability and read the rows. Keep text, rating, author_business_size and posted_at with each review so the model can group feedback by company size and period.
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
Official references
#Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- G2: Review Sorting and Pros and Cons ↗
G2 default review sorting accounts for recency and feedback quality, alongside options to sort by newest or star rating. Pros and Cons are platform-aggregated summaries, not individual review bodies. This documentation does not expand the allowed values for this parameter.
Checked 2026-09-04