Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

G2 Category Products

API dokümanları
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.

Fiyat
$0.05USD / çağrı
Yöntem
POST
Yanıt
Asenkron JSON
Parametreler
1 gerekli · 1 isteğe bağlı

Oynatma Alanı

Girdi
Category slug from get_categories results (e.g. 'crm', 'project-management')
Page number for pagination Aralık: -9007199254740991 ile 9007199254740991 arasında.
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
G2$0.05 çağrı başınaAsenkron JSON
G2$0.05 çağrı başınaAsenkron JSON
G2$0.01 çağrı başınaAsenkron JSON
G2Kullanım başına $0.0025'den itibarenJSON
G2$0.02 çağrı başınaAsenkron JSON

Kılavuzlar:Best Review API in 2026: G2 and Trustpilot Pricing Compared

Sorular

SSS

G2 Category Products API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/g2/category-products adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

G2 Category Products API'sinin fiyatı nedir?

çağrı başına $0.05, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

G2 Category Products API'si hangi parametreleri kabul eder?

Gerekli: category_slug (string). İsteğe bağlı: page (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

G2 Category Products API'si ne döndürür?

Bir JSON sonucu. Bu uç nokta asenkron çalışır; bu nedenle yanıt, tamamlanan sonucu nasıl alacağınızı söyler. Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir G2 geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. G2 Category Products, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. G2 API erişimi için ayrıca başvuru yapmanız gerekmez.