category_slugstringจำเป็น
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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก 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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
category_slugstringจำเป็นThe slug of the category from get_software_categories (e.g. 'accounting', 'project-management', 'human-resource').
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Capterra Category ProductsAPI นี้ Capterra | $0.01 ต่อการเรียก | Async JSON |
Capterra | $0.01 ต่อการเรียก | Async JSON |
Capterra | เริ่มต้นที่ $0.0077 ต่อครั้ง | JSON |
Capterra | $0.01 ต่อการเรียก | Async JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/capterra/category-products โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: category_slug (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
ผลลัพธ์ JSON จุดเชื่อมต่อนี้ทำงานแบบอะซิงโครนัส ดังนั้นการตอบกลับจะบอกวิธีดึงผลลัพธ์ที่เสร็จแล้ว README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Capterra Category Products ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Capterra API แยกต่างหาก