productstringrequerido
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.
Su salida aparecerá aquí
Complete las entradas y luego haga clic en Ejecutar.
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.
Empiece a construir
Endpoint de la API de la plataforma con autenticación unificada y seguimiento de uso.
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"
}'Configure su clave de API de SandBase en el entorno de su servidor. Las solicitudes usan autenticación Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserve su clave en el servidor. No la exponga en código del navegador.
productstringrequeridoG2 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.
Valor predeterminado: 50
sortBystringSort order for the returned reviews: newest first, most helpful first, highest or lowest rated first, or G2's own default ordering.
Valor predeterminado: "recent"
Valores posibles: recent, helpful, highest, lowest, default
Respuesta de ejemplo guardada para esta API; no se realiza ninguna solicitud en vivo al verla.
No se ha publicado ninguna respuesta guardada. Ejecute la API en Playground para inspeccionar su respuesta.
Explorar más
| API | Precio | Respuesta |
|---|---|---|
G2 Product ReviewsEsta API G2 | Desde $0.0025 por llamada | JSON |
G2 | $0.05 por llamada | JSON asíncrono |
G2 | $0.05 por llamada | JSON asíncrono |
G2 | $0.01 por llamada | JSON asíncrono |
G2 | $0.02 por llamada | JSON asíncrono |
Guías:Best Review API in 2026: G2 and Trustpilot Pricing Compared
Preguntas
Envía una solicitud POST a https://api.sandbase.ai/v1/api/g2/product-reviews con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.
Desde $0.0025 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.
Requeridos: product (string). Opcionales: limit (integer) y sortBy (una de recent, helpful, highest, lowest, default). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.
Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica).
No. G2 Product Reviews funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de G2 por separado.