productstringwajib
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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
productstringwajibG2 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.
Default: 50
sortBystringSort order for the returned reviews: newest first, most helpful first, highest or lowest rated first, or G2's own default ordering.
Default: "recent"
Nilai yang mungkin: recent, helpful, highest, lowest, default
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
G2 Product ReviewsAPI ini G2 | Dari $0.0025 per panggilan | JSON |
G2 | $0.05 per panggilan | JSON Asinkron |
G2 | $0.05 per panggilan | JSON Asinkron |
G2 | $0.01 per panggilan | JSON Asinkron |
G2 | $0.02 per panggilan | JSON Asinkron |
Panduan:Best Review API in 2026: G2 and Trustpilot Pricing Compared
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/g2/product-reviews dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
Mulai dari $0.0025 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: product (string). Opsional: limit (integer) dan sortBy (salah satu dari recent, helpful, highest, lowest, default). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron).
Tidak. G2 Product Reviews berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API G2 secara terpisah.