> **For coding agents and LLMs:** This is one Social Fetch marketing page (markdown export). For API orientation start with [`/llms.txt`](https://www.socialfetch.dev/llms.txt); for auth and crawl rules use [`/agents.txt`](https://www.socialfetch.dev/agents.txt); for every operation use [`/llms-endpoints.txt`](https://www.socialfetch.dev/llms-endpoints.txt).

## This page

- **On-site (HTML):** <https://www.socialfetch.dev/platforms/g2/categories>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/g2/categories.mdx>

---

# G2 Categories API

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

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

## Request

- **Endpoint:** `GET /v1/g2/categories`
- **Credits:** 1 credit
Failed requests are free
Found, empty and not-found answers are all charged
- **Input:** every category
- **Full reference:** [docs](https://www.socialfetch.dev/docs/api/v1/g2/categories/get)
- **Platform page:** [/platforms/g2](https://www.socialfetch.dev/platforms/g2)

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