Skip to main content
To track headcount by department, use the Company Headcount API. GET /v2/companies/workforce returns a company’s headcount in each of 14 departments with a month-by-month history. On company search, the workforceGrowth and workforceSize filters find companies by how one department grew or how large it is. A lookup costs 1 credit.

Get headcount by department for one company

departmentHeadcount has one number for each department the company has people in. This example is shortened and shows a fictional company.
The 14 departments have one name in a response and another in a search filter: Every key is optional, so read a department with a default. People who could not be assigned to a department are counted in unclassifiedHeadcount. The later examples on this page reuse the client and the workforce response from this one.

See how one department changed

Each point in history has its own departmentHeadcount, so the same response shows how a team grew over the last 12 months. This example prints the sales headcount at each point.
history lists the months in which the headcount changed, newest first. To go back further than 12 months, see Get a company’s headcount history.

Find companies where a department is growing

On company search, set department in the workforceGrowth filter to measure one team. This search finds companies in the United States whose sales team grew at least 20% in the last year and now has 10 or more people.
The two filters do different jobs. workforceGrowth matches the change over 6 months, 1 year, or 2 years, and needs a period and a department. workforceSize matches the current headcount of a department, or of the whole company when you leave department out. A filter search costs 1 credit per company returned, and these filters add nothing to that price.

Find companies that are building a team

To find companies that are starting a function, look for a small department. Use workforceSize with a min and a max. This filter matches companies with 11 to 200 employees that have 1 to 5 people in sales:
In the CLI, this is companyenrich company search --employees 11-50,51-200 --headcount sales=1..5.

Common questions

Can I track headcount by role or job title?

The headcount data is grouped into 14 departments, not into job titles. To find the people in a role at a company, such as its sales directors, use the People Search API.

Why do the department numbers not add up to the total?

People who could not be assigned to a department are counted in unclassifiedHeadcount, so the department numbers on their own come to less than observedEmployeeCount.

Why are the department names different in the filters?

Responses use camel case keys, such as engineeringTechnical, and the search filters use underscores, such as engineering_technical. The table above lists both.

Can I add department headcount to a list of companies?

Yes. The workforce expansion on enrichment and search adds the same data to each company for 1 extra credit. See Get a company’s employee count.

What does department data cost?

1 credit for a lookup, which includes every department and 12 months of history. The search filters cost nothing on top of the search.

Company Headcount API

Response fields, history, search filters, pricing, and limits.

Field values

The workforce departments and their names.

Find fast-growing companies

Search by overall growth with industry and size.

People Search API

Find the people in a department by title and seniority.