Company headcount by department, with history
companyenrich.companies.workforceReturns workforce insights for a single company — observed employee count, range bucket, and headcounts grouped by root departments
- Price
- $0.049/successAu prix du fournisseur
- Success rate
- 100 %Last 30 days · 5 021 calls
- Latency p50
- 575 msp95 951 ms
- Last verified
- 20 août 2026Verified working
GEThttps://toolswitch.dev/v1/tools/companyenrich.companies.workforce?domain=stripe.comPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
the strongest signal in this provider. Returns observed_employee_count, employee_count_range, department_headcount across 14 root departments (engineering_technical, sales, c_suite, …), unclassified_headcount, and a `history` array of the same shape per month — that history is what makes growth rates computable without repeated polling.
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
id | chaîne | Facultatif | CompanyEnrich company UUID — supply EXACTLY ONE of domain or id | |
domain | chaîne | Facultatif | company domain — supply EXACTLY ONE of domain or id | stripe.com |
- Paramètres de requête
idchaîneFacultatifCompanyEnrich company UUID — supply EXACTLY ONE of domain or id
domainchaîneFacultatifcompany domain — supply EXACTLY ONE of domain or id
Exemple :
stripe.com
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X GET 'https://toolswitch.dev/v1/tools/companyenrich.companies.workforce?domain=stripe.com' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/companyenrich.companies.workforce?domain=stripe.com",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/companyenrich.companies.workforce?domain=stripe.com", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.049/success, frais de service inclus.