Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

G2 Category Products

เอกสาร API
https://api.sandbase.ai/v1/api/g2/category-products

List software products within a given G2 category. Returns products with name, slug, rating, and review count.

ราคา
$0.05USD / คำขอ
Method
POST
การตอบกลับ
Async JSON
พารามิเตอร์
1 จำเป็น · 1 ไม่บังคับ

Playground

อินพุต
Category slug from get_categories results (e.g. 'crm', 'project-management')
Page number for pagination ช่วง: -9007199254740991 ถึง 9007199254740991.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

G2 Category Products

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.

Use cases

  • Build a ranked list of the main CRM tools with their ratings and review volumes.
  • Compare how many reviews competing products have in one software category.
  • Collect product slugs for a category so you can pull details or reviews for each one.
  • Track which products appear on each page of a category over time.

Request

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.

Parameters

NameTypeRequiredDescription
category_slugstringYesCategory slug from get_categories results (e.g. 'crm', 'project-management')
pageintegerNoPage number for pagination

Example response

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"
}

Response fields

FieldMeaning
data.categoryThe category slug that the request used, for example crm.
data.pageThe page number of this result set.
data.products[].nameDisplay name of the software product.
data.products[].slugG2 slug for the product. Use it as the product input in other G2 APIs.
data.products[].ratingAverage rating of the product on G2, shown as a decimal such as 4.4.
data.products[].review_countNumber of reviews the product has on G2.
statusShows success when the call worked.

Notes

  • Get valid category_slug values from G2 Categories.
  • Increase page to read more products in the same category. The response echoes the current page in data.page.
  • Pass a product slug to G2 Product Overview for details or to G2 Product Reviews for individual reviews.

Pricing

$0.05 per successful call. Failed calls are not charged.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
G2$0.05 ต่อการเรียกAsync JSON
G2$0.05 ต่อการเรียกAsync JSON
G2$0.01 ต่อการเรียกAsync JSON
G2เริ่มต้นที่ $0.0025 ต่อครั้งJSON
G2$0.02 ต่อการเรียกAsync JSON

คู่มือ:Best Review API in 2026: G2 and Trustpilot Pricing Compared

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ G2 Category Products API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/g2/category-products โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

G2 Category Products API ราคาเท่าไร?

$0.05 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

G2 Category Products API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: category_slug (string). ตัวเลือก: page (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

G2 Category Products API ส่งคืนอะไร?

ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ G2 ไหม?

ไม่จำเป็น G2 Category Products ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง G2 API แยกต่างหาก