> **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-slug>
- **Markdown (.mdx) URL:** <https://www.socialfetch.dev/platforms/g2/categories-slug.mdx>

---

# G2 Category API

A software category and its products, ranked the way G2 ranks them.

`GET /v1/g2/categories/{slug}` reads a category and lists its products. `slug` is the part of its address after `/categories/` (`crm`), or the G2 page link. `GET /v1/g2/categories` lists every slug.

`data.category` carries `name`, `description`, the `parent` category and `updatedAt`. `data.products` holds fifteen products a page in G2's ranking, each with its `position` across every page, `slug`, `name`, `logoUrl`, `rating`, `reviewCount`, `priceRange` and `prosAndCons`. `data.totalResults` counts the category's products. Some categories group others instead of ranking products (`agentic-ai`): `data.kind` is then `parent`, `data.products` is empty and `data.subcategories` lists the categories to ask for next, each with its `slug`, `name` and `url`. Pass `page.nextCursor` back as `cursor` while `page.hasMore` is true.

## Request

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

## FAQ

### What order are the products in?

G2's own ranking for the category, the order its category page shows. position numbers them from 1 across every page, so a product's rank is its position.

### Can I read a product in the list in more detail?

Yes. Pass a row's slug to GET /v1/g2/products/{slug} for its full profile, or to /products/{slug}/reviews for its reviews.

### What if the slug is not a category?

data.lookupStatus is not_found and data.category is null. A category with no products is found with an empty list.

### 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. Each paginated page is a separate billed request.
