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.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
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.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォーム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キーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
category_slugstring必須The slug of the category from get_software_categories (e.g. 'accounting', 'project-management', 'human-resource').
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Capterra | $0.01 / 回 | 非同期 JSON |
Capterra | $0.01 / 回 | 非同期 JSON |
Capterra | 1回あたり $0.0077 から | JSON |
Capterra | $0.01 / 回 | 非同期 JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/capterra/category-products に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: category_slug (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
JSON 結果です。このエンドポイントは非同期で実行されるため、レスポンスには完了した結果の取得方法が含まれます。 このページの README にサンプルレスポンスがあります。
いいえ。Capterra Category Products は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Capterra の API アクセスを別途申請する必要はありません。