category_slugstringआवश्यक
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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
category_slugstringआवश्यकCategory slug from get_categories results (e.g. 'crm', 'project-management')
pageintegerPage number for pagination
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
G2 Category Productsयह API G2 | $0.05 प्रति कॉल | असिंक्रोनस JSON |
G2 | $0.05 प्रति कॉल | असिंक्रोनस JSON |
G2 | $0.01 प्रति कॉल | असिंक्रोनस JSON |
G2 | $0.0025 प्रति कॉल से | JSON |
G2 | $0.02 प्रति कॉल | असिंक्रोनस JSON |
गाइड्स:Best Review API in 2026: G2 and Trustpilot Pricing Compared
प्रश्न
https://api.sandbase.ai/v1/api/g2/category-products पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.05 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: category_slug (string)। वैकल्पिक: page (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON result। यह endpoint asynchronously चलता है, इसलिए response आपको बताता है कि तैयार result कैसे प्राप्त करना है। इस पेज का README एक sample response शामिल करता है।
नहीं। G2 Category Products SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से G2 API access के लिए आवेदन करने की आवश्यकता नहीं है।