productstringआवश्यक
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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर 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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
productstringआवश्यकG2 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.
डिफ़ॉल्ट: 50
sortBystringSort order for the returned reviews: newest first, most helpful first, highest or lowest rated first, or G2's own default ordering.
डिफ़ॉल्ट: "recent"
संभावित मान: recent, helpful, highest, lowest, default
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
G2 Product Reviewsयह API G2 | $0.0025 प्रति कॉल से | JSON |
G2 | $0.05 प्रति कॉल | असिंक्रोनस JSON |
G2 | $0.05 प्रति कॉल | असिंक्रोनस JSON |
G2 | $0.01 प्रति कॉल | असिंक्रोनस JSON |
G2 | $0.02 प्रति कॉल | असिंक्रोनस JSON |
गाइड्स:Best Review API in 2026: G2 and Trustpilot Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/g2/product-reviews पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.0025 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: product (string)। वैकल्पिक: limit (integer) और sortBy (recent, helpful, highest, lowest, default में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।
नहीं। G2 Product Reviews SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से G2 API access के लिए आवेदन करने की आवश्यकता नहीं है।