category_slugstringbắt buộc
The slug of the category from get_software_categories (e.g. 'accounting', 'project-management', 'human-resource').
https://api.sandbase.ai/v1/api/capterra/category-productsRetrieve products listed within a specific software category. Returns product names, numeric IDs, URL slugs, and full URLs.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns the list of software products that Capterra lists under one software category. You send a category_slug such as accounting, and each product comes back with its ID, name, slug, and Capterra URL.
curl -X POST "https://api.sandbase.ai/v1/api/capterra/category-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"category_slug": "accounting"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
category_slug | string | Yes | The slug of the category from get_software_categories (e.g. 'accounting', 'project-management', 'human-resource'). |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"products": [
{
"id": "76",
"name": "Sage Intacct",
"slug": "Intacct",
"url": "https://www.capterra.com/p/76/Intacct/"
}
]
},
"status": "success"
}
| Field | Meaning |
|---|---|
data.products[] | List of products in the category. |
data.products[].id | Numeric product ID on Capterra, returned as a string (for example 76). It also appears in the product URL. |
data.products[].name | Display name of the product, for example Xero. |
data.products[].slug | URL slug of the product, for example Intacct. It is the last part of the product URL. |
data.products[].url | Full Capterra page URL for the product. It has the form https://www.capterra.com/p/{id}/{slug}/. |
status | Shows success when the call worked. |
category_slug values from the software categories API on SandBase. Examples are accounting, project-management and human-resource.category_slug.id and slug values with Capterra Product Details or Capterra Product Reviews to get more about a product.outputs[0].data.$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/capterra/category-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"category_slug": "accounting"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
category_slugstringbắt buộcThe slug of the category from get_software_categories (e.g. 'accounting', 'project-management', 'human-resource').
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Capterra Category ProductsAPI này Capterra | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Capterra | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Capterra | Từ $0.0077 mỗi lần gọi | JSON |
Capterra | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/capterra/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.
$0.01 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ý.
Bắt buộc: category_slug (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
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.
Không. Capterra 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 Capterra.