Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

G2 Category Products

Tài liệu 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.

Giá
$0.05USD / lượt gọi
Phương thức
POST
Phản hồi
JSON bất đồng bộ
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
Category slug from get_categories results (e.g. 'crm', 'project-management')
Page number for pagination Phạm vi: -9007199254740991 đến 9007199254740991.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
G2$0.05 mỗi lần gọiJSON bất đồng bộ
G2$0.05 mỗi lần gọiJSON bất đồng bộ
G2$0.01 mỗi lần gọiJSON bất đồng bộ
G2Từ $0.0025 mỗi lần gọiJSON
G2$0.02 mỗi lần gọiJSON bất đồng bộ

Hướng dẫn:Best Review API in 2026: G2 and Trustpilot Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API G2 Category Products?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/g2/category-products với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API G2 Category Products có giá bao nhiêu?

$0.05 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API G2 Category Products chấp nhận những tham số nào?

Bắt buộc: category_slug (string). Tùy chọn: page (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API G2 Category Products trả về gì?

Kết quả JSON. Endpoint này chạy bất đồng bộ, nên phản hồi sẽ cho bạn biết cách lấy kết quả hoàn tất. README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của G2 không?

Không. G2 Category Products chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của G2.