Company Headcount API
Track historical employee counts and department-level workforce trends for companies. Spot growth signals, detect layoffs, and analyze hiring patterns.
GET https://api.companyenrich.com/v2/companies/workforce?domain=lovable.dev{
"domain": "lovable.dev",
"observedEmployeeCount": 191,
"employeeCountRange": "51-200",
"departmentHeadcount": {
"engineeringTechnical": 49,
"marketing": 30,
"productManagement": 14,
// ...more departments
},
"history": [
{ "date": "2026-02-01", "observedEmployeeCount": 191, ... },
{ "date": "2025-07-01", "observedEmployeeCount": 150, ... },
// ...changes in the latest 12 months
],
"nextCursor": "..." // previous year
}Lovable Headcount Trend
+194% growth over 12 months
Trusted by the fastest growing companies
4.9 onMonthly Headcount Snapshots
Access historical employee counts going back years. Track growth trajectories, spot inflection points, and understand workforce momentum over time.
Department-Level Workforce Data
See how headcount is distributed across engineering, sales, marketing, and more. Understand where companies are investing and where they're cutting.
Detect Growth & Contraction
Identify companies that are scaling rapidly or contracting. Use growth rate metrics to trigger alerts, prioritize accounts, and time your outreach.
Massive Global Coverage
Track headcount trends across our database of 33M+ companies worldwide. From startups to enterprises, across every industry and geography.
Explore our dataWHAT YOU GET BACK
Workforce data you get back
Explore the headcount, department, and historical data returned for a company. Use the same identifiers to connect these observations to your account records.
Company & workforce size Company identifiers, observed headcount, and employee range. Explore 5 fieldsHide fields
- Company ID
companyId- Company domain
domain- Observed employee count
observedEmployeeCount- Employee count range
employeeCountRange- Headcount without a classified department
unclassifiedHeadcount
Department breakdown Employee counts across engineering, sales, marketing, and other departments. Explore 14 fieldsHide fields
- Engineering & technical
departmentHeadcount.engineeringTechnical- Sales
departmentHeadcount.sales- Marketing
departmentHeadcount.marketing- Product management
departmentHeadcount.productManagement- Operations
departmentHeadcount.operations- C-suite
departmentHeadcount.cSuite- Design
departmentHeadcount.design- Finance
departmentHeadcount.finance- Human resources
departmentHeadcount.humanResources- Information technology
departmentHeadcount.informationTechnology- Legal
departmentHeadcount.legal- Education
departmentHeadcount.education- Medical & health
departmentHeadcount.medicalHealth- Consulting
departmentHeadcount.consulting
Monthly workforce history Historical counts and department snapshots for tracking change over time. Explore 8 fieldsHide fields
Each page covers 12 months, starting with the latest year. History includes only months where headcount changed. Pass nextCursor to fetch the previous year.
- First month of the window
historyFrom- End of the window
historyTo- Snapshot month
history[].date- Observed headcount that month
history[].observedEmployeeCount- Employee count range that month
history[].employeeCountRange- Department counts that month
history[].departmentHeadcount- Unclassified headcount that month
history[].unclassifiedHeadcount- Cursor for the previous year
nextCursor
SEE IT IN CODE
See how a company's workforce is changing
Look up a domain with the Company Headcount API to get observed employee counts, department breakdowns, and available workforce history.
curl --get 'https://api.companyenrich.com/v2/companies/workforce' \
--header "Authorization: Bearer $COMPANYENRICH_API_KEY" \
--header 'Accept: application/json' \
--data-urlencode 'domain=stripe.com'import os
import requests
response = requests.get(
"https://api.companyenrich.com/v2/companies/workforce",
headers={
"Authorization": f"Bearer {os.environ['COMPANYENRICH_API_KEY']}"
},
params={
"domain": "stripe.com"
},
timeout=30,
)
response.raise_for_status()
print(response.json())const response = await fetch(
"https://api.companyenrich.com/v2/companies/workforce?domain=stripe.com",
{
method: "GET",
headers: {
Authorization: `Bearer ${process.env.COMPANYENRICH_API_KEY}`
}
}
);
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());{
"companyId": "0192577c-1d7a-715c-a5b7-1b9b530445e0",
"domain": "stripe.com",
"observedEmployeeCount": 8200,
"employeeCountRange": "5K-10K",
"departmentHeadcount": {
"engineeringTechnical": 3100,
"sales": 1200,
"marketing": 450
},
"historyFrom": "2025-11-01",
"historyTo": "2026-11-01",
"history": [
{
"date": "2026-09-01",
"observedEmployeeCount": 8100,
"departmentHeadcount": {
"engineeringTechnical": 3050
}
}
],
"nextCursor": "<opaque cursor>"
}Set COMPANYENRICH_API_KEY in your environment, then copy the request.Uses the requests package. Set COMPANYENRICH_API_KEY in your environment.Uses Node.js 18+ and its built-in fetch. Set COMPANYENRICH_API_KEY in your environment.
Illustrative response · selected fields
How you can use Company Headcount API
Turn workforce data into actionable intelligence.
Feed Your AI Agent or Workflow
Plug headcount trends into your enrichment pipeline so your agent knows if a company is growing or shrinking before it reaches out.
Detect Sales Signals Early
Prioritize accounts that are actively hiring and spending, not ones that have been flat for a year.
Track Growth Signals
Monitor which companies are scaling fast and which ones are slowing down, filtered by department and time range.
Spot Department Budget Shifts
Know where the money is going at a department level, not just the overall headcount number.
Find Companies Hiring for What You Sell
Filter for companies growing the exact teams that would buy your product.
Company Headcount API FAQs
What is historical headcount data?
How can I get historical headcount data for US companies?
How far back does the headcount history go?
nextCursor you can use to retrieve the previous year. History includes months where headcount changed.Can I track headcount growth in a specific department?
workforceGrowth filter to find companies growing a particular team.Is the headcount data real-time?
Why can headcount differ from a company’s reported employee count?
How do I find companies that are growing fast?
workforceGrowth filter on the Company Search API. Set a minimum growth ratio over 6 months, 1 year or 2 years, for the whole company or a specific department. For example, find companies whose sales team grew at least 15% over the last year. The filter adds no extra charge to the search.Can I detect layoffs or shrinking companies?
workforceGrowth: "max": -0.1 finds companies with a decline of at least 10% over the selected period. A decline alone does not confirm layoffs or explain their cause.How do I find companies with small but growing teams?
workforceSize and workforceGrowth for the same department. For example, find companies with 1–3 people in sales and positive sales-team growth over the last 6 months. To establish whether a company recently crossed a specific headcount threshold, compare its earlier and current counts.Can I get headcount for a list of company domains in bulk?
workforce expansion to batch or bulk company enrichment to retrieve workforce data alongside each matched company’s profile. It includes current observed headcount, department counts and the latest 12-month window of available history. In V2, the expansion costs 1 additional credit per company when returned.How much does historical headcount data cost?
Can I trigger outbound when a company shows headcount growth?
workforceGrowth and workforceSize filters on a schedule, then sends new matches to your CRM or sequencer. Save previous matches to avoid duplicate outreach. A weekly or monthly schedule is a practical starting point for monitoring monthly headcount trends.Can I combine headcount with funding and hiring data?
Tell us what you're building
Every integration is unique. Whether you're enriching CRM data, powering AI agents, or automating lead generation — we'll show you exactly how our API fits.
Technical questions?
Our engineers will join the call.
Pricing concerns?
We'll design a plan that scales with you.
Integration help?
Walk away with working code samples.
Amirali, Co-Founder
Zeynep, Partnership Manager
Ekin, Co-Founder & CTOGet answers, not a sales pitch
Book a demo