Get company workforce insights
curl --request GET \
--url https://api.companyenrich.com/v2/companies/workforce \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.companyenrich.com/v2/companies/workforce', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/v2/companies/workforce"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"observedEmployeeCount": 123,
"departmentHeadcount": {
"cSuite": 123,
"productManagement": 123,
"engineeringTechnical": 123,
"design": 123,
"education": 123,
"finance": 123,
"humanResources": 123,
"informationTechnology": 123,
"legal": 123,
"marketing": 123,
"medicalHealth": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"unclassifiedHeadcount": 123,
"historyFrom": "2023-12-25",
"historyTo": "2023-12-25",
"employeeCountRange": "1-10",
"history": [
{
"date": "2023-12-25",
"observedEmployeeCount": 123,
"departmentHeadcount": {
"cSuite": 123,
"productManagement": 123,
"engineeringTechnical": 123,
"design": 123,
"education": 123,
"finance": 123,
"humanResources": 123,
"informationTechnology": 123,
"legal": 123,
"marketing": 123,
"medicalHealth": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"unclassifiedHeadcount": 123,
"employeeCountRange": "1-10"
}
],
"nextCursor": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Company · Enrichment
Get company workforce insights
Cost: 1 credit per successful page, including each earlier year of history.
Provide exactly one lookup parameter: id or domain. Returns current observed employee count, employee range, and department headcounts, together with the latest 12 months of workforce history.
Pass nextCursor from this endpoint or a company’s workforce expansion with the same company to retrieve the preceding 12-month page. Cursors expire 30 minutes after the first page.
Invalid cursors and missing companies or historical pages do not consume credits.
GET
/
v2
/
companies
/
workforce
Get company workforce insights
curl --request GET \
--url https://api.companyenrich.com/v2/companies/workforce \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.companyenrich.com/v2/companies/workforce', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.companyenrich.com/v2/companies/workforce"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain": "<string>",
"observedEmployeeCount": 123,
"departmentHeadcount": {
"cSuite": 123,
"productManagement": 123,
"engineeringTechnical": 123,
"design": 123,
"education": 123,
"finance": 123,
"humanResources": 123,
"informationTechnology": 123,
"legal": 123,
"marketing": 123,
"medicalHealth": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"unclassifiedHeadcount": 123,
"historyFrom": "2023-12-25",
"historyTo": "2023-12-25",
"employeeCountRange": "1-10",
"history": [
{
"date": "2023-12-25",
"observedEmployeeCount": 123,
"departmentHeadcount": {
"cSuite": 123,
"productManagement": 123,
"engineeringTechnical": 123,
"design": 123,
"education": 123,
"finance": 123,
"humanResources": 123,
"informationTechnology": 123,
"legal": 123,
"marketing": 123,
"medicalHealth": 123,
"operations": 123,
"sales": 123,
"consulting": 123
},
"unclassifiedHeadcount": 123,
"employeeCountRange": "1-10"
}
],
"nextCursor": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>",
"errors": {}
}{
"type": "<string>",
"title": "<string>",
"status": 123,
"detail": "<string>",
"instance": "<string>"
}Authorizations
Query Parameters
Response
OK