Get G2 category products
Get a G2 category and the products in it in G2's ranking, with each product's rating, review count, price range and pros and cons, or the sub-categories of a…
Headers
Get your API keyAPI key (`sfk_...`)
The category's G2 slug, e.g. `crm` (`slug` in G2 lists), or its G2 page URL such as `https://www.g2.com/categories/crm`.
min 1 chars · max 500 chars
Pass `page.nextCursor` from the previous response to get the next page. It only works with the same parameters.
min 1 chars · max 1024 chars · pattern: ^[A-Za-z0-9_-]+$
Endpoint-specific response payload.
`not_found` when G2 has no category with this slug; a category with no products is `found` with an empty list.
one of: found, not_found
The category slug asked for.
`products` when the category ranks products; `parent` when it groups sub-categories instead (e.g. `agentic-ai`): `products` is then empty and `subcategories` lists them, each one a slug to ask for. `products` when not found.
one of: products, parent
The category; null when not found.
Category slug.
Category name, e.g. `Best CRM Software`.
The category's G2 page.
G2's description of the category.
The category above it; null at the top.
Category slug, e.g. `crm`: pass it as `slug` to the category endpoint.
Category name.
The category's G2 page.
When G2 last updated the category, ISO 8601.
Products listed in the category, across every page; null for a parent category or when G2 does not show the count.
Products on this page, in G2's ranking; empty for a parent category.
Product slug, e.g. `slack`: pass it as `slug` to the product and review endpoints.
Product name.
The product's G2 page.
Product logo.
Average star rating, 0 to 5; null with no reviews.
Reviews on G2.
Rank in the category, from 1, across every page.
The range of the product's listed plans; null when none are listed.
Lowest listed price.
Highest listed price.
Currency, e.g. `USD`.
G2's summary of the reviews' pros and cons.
What reviewers praise most, as G2 summarises it.
What reviewers criticise most, as G2 summarises it.
For a parent category, the categories it groups, in G2's order; empty for a category of products.
Category slug, e.g. `crm`: pass it as `slug` to the category endpoint.
Category name.
The category's G2 page.
Pagination state for the current page.
Whether another page is available.
Cursor for the next page; null on the last page.
True when more rows exist than this list can reach: it stops here before its end, and `totalResults` gives the true total.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v1/g2/categories/crm" \
-H "x-api-key: YOUR_API_KEY"Responses
A G2 category and its products, or its sub-categories when it is a parent.