G2 Category API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Browse a G2 software category by its slug or category URL and get ranked products with vendor, ratings, entry-level price, awards and sponsored flag. Product names and keywords are not accepted, and the list does not cover the whole market.
Send POST https://api.everyinfra.com/api/v1/social with platform set to g2 and action set to category. 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.
AI prompt
#Please help me write a data collection script with the EveryInfra G2 Category endpoint (g2/category).
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 category, and put the parameters inside params.
- Required parameters:
- category: Specifies the G2 software category path slug or full /categories/<slug> URL copied directly from a category page.
- Optional parameters:
- limit: The most rows to return in this call, an integer from 1 to 40. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 10)
- Returns a list of records. Main fields of each record: name, slug, url, vendor_name, vendor_slug, category, category_slug, rating, rating_scale, review_count, rank, page; 18 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=g2.
- Example request body:
{
"platform": "g2",
"action": "category",
"params": {
"category": "project-management"
}
}
- 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 | category | Capability identifier, fixed value. |
category | body.params | string | Yes | - | Specifies the G2 software category path slug or full /categories/<slug> URL copied directly from a category page. It does not accept product names or free-form keywords, and accepted values are not restricted to predefined example lists. |
limit | body.params | integer (1–40) | No | 10 | The most rows to return in this call, an integer from 1 to 40. 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": "category",
"params": {
"category": "project-management"
}
}'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": "category", "results": [ { "name": "Jira", "slug": "jira", "url": "https://www.g2.com/products/jira/reviews", "description": "By Atlassian", "vendor_name": "Atlassian", "vendor_slug": "atlassian", "category": "Project Management", "category_slug": "project-management", "rating": 4.5, "rating_out_of_ten": 9, "review_count": 7962, "rank": 1, "page": 1, "is_sponsored": false, "image_url": "https://images.g2crowd.com/uploads/product/image/large_detail/large_detail_793034d14bb0f3fa12d97cf3cc0032c4/jira.jpg", "platform": "g2", "rating_scale": 5 }, { "name": "Asana", "slug": "asana", "url": "https://www.g2.com/products/asana/reviews", "description": "By Asana", "vendor_name": "Asana", "vendor_slug": "asana", "category": "Project Management", "category_slug": "project-management", "rating": 4.5, "rating_out_of_ten": 9, "review_count": 13922, "rank": 2, "page": 1, "is_sponsored": false, "image_url": "https://images.g2crowd.com/uploads/product/image/large_detail/large_detail_2a3c6c39bf8b8eb277cfcd42d9bbca1e/asana.png", "platform": "g2", "rating_scale": 5 } ], "count": 10, "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 |
|---|---|
name | Name of the object itself, for account, product and business capabilities. |
slug | Keeps the platform's own meaning |
url | Link to the record on the platform. |
vendor_name | Keeps the platform's own meaning |
vendor_slug | Keeps the platform's own meaning |
category | Category name in the platform's own taxonomy, not normalized across platforms. |
category_slug | Keeps the platform's own meaning |
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. |
review_count | Number of reviews, for product and business capabilities. null means not disclosed, not 0. |
rank | Keeps the platform's own meaning |
page | Keeps the platform's own meaning |
image_url | Image link. Capabilities with several images may return an image_urls array. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
description | Summary or description, usually shorter than text. |
rating_out_of_ten | Keeps the platform's own meaning |
entry_level_price | Keeps the platform's own meaning |
is_sponsored | Keeps the platform's own meaning |
awards | Keeps the platform's own meaning |
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: Category-Specific Comparison Boundaries ↗
G2 Scores evaluate products solely within the same category; a single product may receive different scores across different categories. Category ranking cannot be directly extrapolated to cross-category placement.
Checked 2026-09-04