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 track company headcount changes?
Why can the headcount differ from a company's official number?
Can I get employee count by department?
departmentHeadcount breakdown with counts for engineeringTechnical, sales, marketing, productManagement, finance, humanResources, design, cSuite, legal, and more. Each historical snapshot also includes department data so you can track department-level trends over time.How can I identify growing companies using employee data?
observedEmployeeCount across historical snapshots to calculate growth rates over any period. Rapidly growing headcount is a strong buying signal for sales teams, a health indicator for investors, and a competitive benchmark for market research.What inputs does the API accept?
domain or id parameter. The API returns the observed employee count, employee count range, department-level headcount breakdown, and the latest 12 months of history with full department data. Pass nextCursor to page back through earlier years.How much does the Company Headcount API cost?
Do I get charged if no headcount data is found?
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