productstringerforderlich
G2 product slug, for example hubspot-marketing-hub. A full G2 product URL is also accepted and reduced to its slug.
https://api.sandbase.ai/v1/api/g2/product-reviewsPull G2 software reviews for any product: star rating, what reviewers like and dislike, problems solved, market segment, and G2's rating rubric as clean JSON.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
Pull G2 software reviews for any product: star rating, what reviewers like and dislike, problems solved, market segment, and G2's rating rubric as clean JSON.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "g2/product-reviews", "limit": 50, "sortBy": "recent", "product": "hubspot-marketing-hub"}'
The result is returned in outputs[0].data. Lookups that find nothing fail with a not-found error.
| Name | Type | Required | Description |
|---|---|---|---|
product | string | Yes | G2 product slug, for example hubspot-marketing-hub. A full G2 product URL is also accepted and reduced to its slug. |
limit | integer | No | Maximum number of reviews to return. The minimum is 50 because G2 review sources will not serve a smaller page. You are billed per returned result, so a lower limit costs less. |
sortBy | string | No | Sort order for the returned reviews: newest first, most helpful first, highest or lowest rated first, or G2's own default ordering. One of: recent, helpful, highest, lowest, default. |
Billed at the actual cost of each call: about $5e-05 per result returned (about $0.0025 for 50 results). A call can cost more when the first data source fails and another one answers. Failed calls and lookups that find nothing are not charged.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
curl -X POST "https://api.sandbase.ai/v1/api/g2/product-reviews" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 50,
"sortBy": "recent",
"product": "hubspot-marketing-hub"
}'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.
productstringerforderlichG2 product slug, for example hubspot-marketing-hub. A full G2 product URL is also accepted and reduced to its slug.
limitintegerMaximum number of reviews to return. The minimum is 50 because G2 review sources will not serve a smaller page. You are billed per returned result, so a lower limit costs less.
Standard: 50
sortBystringSort order for the returned reviews: newest first, most helpful first, highest or lowest rated first, or G2's own default ordering.
Standard: "recent"
Mögliche Werte: recent, helpful, highest, lowest, default
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 Product ReviewsDiese API G2 | Ab $0.0025 pro Aufruf | JSON |
G2 | $0.05 pro Aufruf | Asynchrones JSON |
G2 | $0.05 pro Aufruf | Asynchrones JSON |
G2 | $0.01 pro Aufruf | Asynchrones 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/product-reviews 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.
Ab $0.0025 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Erforderlich: product (string). Optional: limit (integer) und sortBy (eines von recent, helpful, highest, lowest, default). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron).
Nein. G2 Product Reviews 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.