G2

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…

GET/v1/g2/categories/{slug}
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
slugstringrequiredpath

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

cursorstringoptionalquery

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_-]+$

Response fields
46

Endpoint-specific response payload.

datalookupStatus
string

`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

dataslug
string

The category slug asked for.

datakind
string

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

datacategoryslug
string

Category slug.

datacategoryname
stringnullable

Category name, e.g. `Best CRM Software`.

datacategoryurl
string

The category's G2 page.

datacategorydescription
stringnullable

G2's description of the category.

The category above it; null at the top.

datacategoryparentslug
string

Category slug, e.g. `crm`: pass it as `slug` to the category endpoint.

datacategoryparentname
stringnullable

Category name.

datacategoryparenturl
string

The category's G2 page.

datacategoryupdatedAt
stringnullable

When G2 last updated the category, ISO 8601.

datatotalResults
integernullable

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.

dataproducts[]slug
string

Product slug, e.g. `slack`: pass it as `slug` to the product and review endpoints.

dataproducts[]name
stringnullable

Product name.

dataproducts[]url
string

The product's G2 page.

dataproducts[]logoUrl
stringnullable

Product logo.

dataproducts[]rating
numbernullable

Average star rating, 0 to 5; null with no reviews.

dataproducts[]reviewCount
integernullable

Reviews on G2.

dataproducts[]position
integer

Rank in the category, from 1, across every page.

The range of the product's listed plans; null when none are listed.

dataproducts[]priceRangelow
numbernullable

Lowest listed price.

dataproducts[]priceRangehigh
numbernullable

Highest listed price.

dataproducts[]priceRangecurrency
stringnullable

Currency, e.g. `USD`.

G2's summary of the reviews' pros and cons.

What reviewers praise most, as G2 summarises it.

dataproducts[]prosAndConspros[]
stringoptional

What reviewers criticise most, as G2 summarises it.

dataproducts[]prosAndConscons[]
stringoptional

For a parent category, the categories it groups, in G2's order; empty for a category of products.

datasubcategories[]slug
string

Category slug, e.g. `crm`: pass it as `slug` to the category endpoint.

datasubcategories[]name
stringnullable

Category name.

datasubcategories[]url
string

The category's G2 page.

Pagination state for the current page.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Cursor for the next page; null on the last page.

datapagetruncated
boolean

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.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

metastale
booleanoptional

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

metafetchedAt
stringoptional

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.