# G2 Reviews API (g2.reviews)

- Canonical page: https://everyinfra.com/en/g2-api/reviews
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "g2", "action": "reviews", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 100 per call
- Mode: sync; add "mode": "async" for slow tasks

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.

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=g2&action=reviews

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | 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 | enum: newest / relevance / top_rated | no | not declared | 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. |
| limit | 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. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| record_type | platform-native meaning |
| product_slug | platform-native meaning |
| url | Link to the record on the platform. |
| aggregate_rating | platform-native meaning |
| total_reviews | platform-native meaning |
| summary_text | platform-native meaning |
| top_pros | platform-native meaning |
| top_cons | platform-native 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 | platform-native meaning |
| author_name | Author's display name. |
| author_job_title | platform-native meaning |
| author_business_size | platform-native meaning |
| product_name | platform-native 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. |

## Example

```bash
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"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "g2",
        "action": "reviews",
        "params": {
            "url": "https://www.g2.com/products/slack/reviews",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 21. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "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": { … }
}
```

## 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.

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=g2
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
