G2 hub

G2 Categories API

Every category in G2's directory, in one call.

GET /v1/g2/categories

1 credit Failed requests are free Found, empty and not-found answers are all charged

About this endpoint

GET /v1/g2/categories lists every category in G2's directory, about 2,260, in G2's alphabetical order. It takes no parameters and returns them all at once.

Each row carries slug, name, url and parentName, the group G2 files it under, such as Sales Tools. data.totalResults counts them. Pass a slug to GET /v1/g2/categories/{slug} for the category's ranked products.

Price

From $1.35 per 1,000 requests

1 credit per request. Failed requests are free.

Scale pack
$1.64 / 1,000
Growth pack
$2.36 / 1,000

The lowest rate is on annual plans; packs are pay as you go.

Example request

Send your API key in the x-api-key header. New accounts get 100 free credits, no card needed.

Request
cURL

Example response

A 200 response. Live responses have the same shape with current data.

Request
JSON

G2 Categories API FAQ

Is the list paged?

No. One call returns every category, so there is no cursor. totalResults equals the number of rows.

What is parentName?

The group the category sits in on G2's All Categories page, such as Sales Tools for CRM Software. GET /v1/g2/categories/{slug} also returns the category's parent with its slug.

How many credits does a call cost?

Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.