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; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| 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 |
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/clutch/company-locations, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.01 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: slug (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-результат. Этот endpoint работает асинхронно, поэтому ответ подсказывает, как получить готовый результат. В README на этой странице приведен пример ответа.
Нет. Clutch Company Locations работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Clutch.