slugstringbắt buộc
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.
Đầ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 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.
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/clutch/company-locations" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"slug": "simform"
}'Đặ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.
slugstringbắt buộcCompany profile slug from search_companies results.
Đâ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 |
|---|---|---|
Clutch Company LocationsAPI này Clutch | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Clutch | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Clutch | $0.02 mỗi lần gọi | JSON bất đồng bộ |
Clutch | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Clutch | $0.01 mỗi lần gọi | JSON bất đồng bộ |
Clutch | $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/clutch/company-locations 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: 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. Clutch Company Locations 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 Clutch.