Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

G2 Category Products

Dokumentacja API
https://api.sandbase.ai/v1/api/g2/category-products

List software products within a given G2 category. Returns products with name, slug, rating, and review count.

Cena
$0.05USD / wywołanie
Metoda
POST
Odpowiedź
Asynchroniczny JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
Category slug from get_categories results (e.g. 'crm', 'project-management')
Page number for pagination Zakres: od -9007199254740991 do 9007199254740991.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

G2 Category Products

Returns a list of software products in one G2 category, with each product's name, slug, rating, and review count. It needs a category_slug such as crm, and an optional page number.

Use cases

  • Build a ranked list of the main CRM tools with their ratings and review volumes.
  • Compare how many reviews competing products have in one software category.
  • Collect product slugs for a category so you can pull details or reviews for each one.
  • Track which products appear on each page of a category over time.

Request

curl -X POST "https://api.sandbase.ai/v1/api/g2/category-products" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_slug": "crm", "page": 1}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
category_slugstringYesCategory slug from get_categories results (e.g. 'crm', 'project-management')
pageintegerNoPage number for pagination

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "category": "crm",
    "page": 1,
    "products": [
      {
        "name": "Salesforce Sales Cloud",
        "rating": 4.4,
        "review_count": 27587,
        "slug": "agentforce-sales-formerly-salesforce-sales-cloud"
      }
    ]
  },
  "status": "success"
}

Response fields

FieldMeaning
data.categoryThe category slug that the request used, for example crm.
data.pageThe page number of this result set.
data.products[].nameDisplay name of the software product.
data.products[].slugG2 slug for the product. Use it as the product input in other G2 APIs.
data.products[].ratingAverage rating of the product on G2, shown as a decimal such as 4.4.
data.products[].review_countNumber of reviews the product has on G2.
statusShows success when the call worked.

Notes

  • Get valid category_slug values from G2 Categories.
  • Increase page to read more products in the same category. The response echoes the current page in data.page.
  • Pass a product slug to G2 Product Overview for details or to G2 Product Reviews for individual reviews.

Pricing

$0.05 per successful call. Failed calls are not charged.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
G2$0.05 za wywołanieAsynchroniczny JSON
G2$0.05 za wywołanieAsynchroniczny JSON
G2$0.01 za wywołanieAsynchroniczny JSON
G2Od $0.0025 za wywołanieJSON
G2$0.02 za wywołanieAsynchroniczny JSON

Przewodniki:Best Review API in 2026: G2 and Trustpilot Pricing Compared

Pytania

FAQ

Jak używać API G2 Category Products?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/g2/category-products z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API G2 Category Products?

$0.05 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API G2 Category Products?

Wymagane: category_slug (string). Opcjonalne: page (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API G2 Category Products?

Wynik JSON. Ten endpoint działa asynchronicznie, więc odpowiedź informuje, jak pobrać gotowy wynik. README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego G2 lub klucza API?

Nie. G2 Category Products działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API G2.