slugstring必須
Company profile slug from search_companies results.
https://api.sandbase.ai/v1/api/clutch/company-locationsGet office locations for a company including addresses, phone numbers, and employee counts per location.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns the office locations for a company listed on Clutch. Each location includes a name, street address, postal code, phone number, and an employee count range. The only input is the company slug.
curl -X POST "https://api.sandbase.ai/v1/api/clutch/company-locations" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"slug": "simform"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | Company profile slug from search_companies results. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"locations": [
{
"city": "Orlando",
"country": "United States",
"employees": "10 - 15",
"name": "Headquarters",
"phone": "3212372727",
"postal_code": "32801",
"state": "FL",
"street": "111 North Orange Avenue Suite 800"
}
],
"slug": "simform"
},
"status": "success"
}
| Field | Meaning |
|---|---|
data.slug | The company profile slug that was requested. |
data.locations[].name | Label for the office, such as Headquarters or a city and state like Los Angeles, CA. |
data.locations[].street | Street address of the office, including suite number when present. |
data.locations[].city / data.locations[].state | City and state of the office. Both can be null, so fall back to name for the place. |
data.locations[].postal_code | Postal code of the office. |
data.locations[].country | Country of the office. |
data.locations[].phone | Phone number as digits only. It can be an empty string when the office has no listed phone. |
data.locations[].employees | Employee count for the office, given as a range string such as 10 - 15. |
slug from the results of Clutch Search Companies.employees value is a text range, not a number, so parse it before you do math.outputs[0].data after the task completes.$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/clutch/company-locations" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"slug": "simform"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
slugstring必須Company profile slug from search_companies results.
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Clutch Company Locationsこの API Clutch | $0.01 / 回 | 非同期 JSON |
Clutch | $0.01 / 回 | 非同期 JSON |
Clutch | $0.02 / 回 | 非同期 JSON |
Clutch | $0.01 / 回 | 非同期 JSON |
Clutch | $0.01 / 回 | 非同期 JSON |
Clutch | $0.01 / 回 | 非同期 JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/clutch/company-locations に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.01、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: slug (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
JSON 結果です。このエンドポイントは非同期で実行されるため、レスポンスには完了した結果の取得方法が含まれます。 このページの README にサンプルレスポンスがあります。
いいえ。Clutch Company Locations は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Clutch の API アクセスを別途申請する必要はありません。