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 | 每次呼叫 $0.01 | 非同步 JSON |
Clutch | 每次呼叫 $0.01 | 非同步 JSON |
Clutch | 每次呼叫 $0.02 | 非同步 JSON |
Clutch | 每次呼叫 $0.01 | 非同步 JSON |
Clutch | 每次呼叫 $0.01 | 非同步 JSON |
Clutch | 每次呼叫 $0.01 | 非同步 JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/clutch/company-locations。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.01,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:slug (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
JSON 結果。此端點為非同步執行,因此回應會告訴您如何取得完成的結果。 本頁的 README 包含範例回應。
不需要。Clutch Company Locations 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Clutch API 存取權。