Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

G2 Category Products

Dokumentasi 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.

Harga
$0.05USD / panggilan
Metode
POST
Respons
JSON Asinkron
Parameter
1 wajib · 1 opsional

Playground

Input
Category slug from get_categories results (e.g. 'crm', 'project-management')
Page number for pagination Rentang: -9007199254740991 hingga 9007199254740991.
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik 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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
G2$0.05 per panggilanJSON Asinkron
G2$0.05 per panggilanJSON Asinkron
G2$0.01 per panggilanJSON Asinkron
G2Dari $0.0025 per panggilanJSON
G2$0.02 per panggilanJSON Asinkron

Panduan:Best Review API in 2026: G2 and Trustpilot Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API G2 Category Products?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/g2/category-products 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.

Berapa biaya API G2 Category Products?

$0.05 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API G2 Category Products?

Wajib: category_slug (string). Opsional: page (integer). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API G2 Category Products?

Hasil JSON. Endpoint ini berjalan secara asinkron, jadi responsnya memberi tahu cara mengambil hasil yang sudah selesai. README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API G2?

Tidak. G2 Category Products 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.