category_slugstringzorunlu
Category slug from get_categories results (e.g. 'crm', 'project-management')
https://api.sandbase.ai/v1/api/g2/category-productsList software products within a given G2 category. Returns products with name, slug, rating, and review count.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
category_slug | string | Yes | Category slug from get_categories results (e.g. 'crm', 'project-management') |
page | integer | No | Page number for pagination |
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"
}
| Field | Meaning |
|---|---|
data.category | The category slug that the request used, for example crm. |
data.page | The page number of this result set. |
data.products[].name | Display name of the software product. |
data.products[].slug | G2 slug for the product. Use it as the product input in other G2 APIs. |
data.products[].rating | Average rating of the product on G2, shown as a decimal such as 4.4. |
data.products[].review_count | Number of reviews the product has on G2. |
status | Shows success when the call worked. |
category_slug values from G2 Categories.page to read more products in the same category. The response echoes the current page in data.page.slug to G2 Product Overview for details or to G2 Product Reviews for individual reviews.$0.05 per successful call. Failed calls are not charged.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/g2/category-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"category_slug": "crm"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
category_slugstringzorunluCategory slug from get_categories results (e.g. 'crm', 'project-management')
pageintegerPage number for pagination
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
G2 Category ProductsBu API G2 | $0.05 çağrı başına | Asenkron JSON |
G2 | $0.05 çağrı başına | Asenkron JSON |
G2 | $0.01 çağrı başına | Asenkron JSON |
G2 | Kullanım başına $0.0025'den itibaren | JSON |
G2 | $0.02 çağrı başına | Asenkron JSON |
Kılavuzlar:Best Review API in 2026: G2 and Trustpilot Pricing Compared
Sorular
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.
çağrı başına $0.05, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: category_slug (string). İsteğe bağlı: page (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
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.
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.