category_slugstringerforderlich
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.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
category_slugstringerforderlichCategory slug from get_categories results (e.g. 'crm', 'project-management')
pageintegerPage number for pagination
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
G2 Category ProductsDiese API G2 | $0.05 pro Aufruf | Asynchrones JSON |
G2 | $0.05 pro Aufruf | Asynchrones JSON |
G2 | $0.01 pro Aufruf | Asynchrones JSON |
G2 | Ab $0.0025 pro Aufruf | JSON |
G2 | $0.02 pro Aufruf | Asynchrones JSON |
Anleitungen:Best Review API in 2026: G2 and Trustpilot Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/g2/category-products mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.05 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: category_slug (string). Optional: page (integer). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Ein JSON-Ergebnis. Dieser Endpunkt läuft asynchron, daher zeigt die Antwort, wie Sie das fertige Ergebnis abrufen. Die README auf dieser Seite enthält eine Beispielantwort.
Nein. G2 Category Products läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für G2 API beantragen.