Workforce Intelligence

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

Feb 2026
191
Jul 2025
150
Jan 2025
65
Jul 2024
28

+194% growth over 12 months

Trusted by the fastest growing companies

4.9 on G2 G2
Clay Cargo Lempire treg Salesforge Clay Cargo Lempire treg Salesforge
Historical Data

Monthly Headcount Snapshots

Access historical employee counts going back years. Track growth trajectories, spot inflection points, and understand workforce momentum over time.

Lovable — Total Headcount +22% YoY
Apr '25 Mar '26
Department Breakdown

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.

engineeringTechnical 49 +40%
marketing 30 +150%
productManagement 14 +367%
finance 14 +75%
design 7
Growth Signals

Detect Growth & Contraction

Identify companies that are scaling rapidly or contracting. Use growth rate metrics to trigger alerts, prioritize accounts, and time your outreach.

Vercel — Engineering +34%
142 → 190 in 3 months
Acme Corp — Sales -22%
310 → 242 in 2 months
Notion — Total Headcount +18%
820 → 968 in 6 months
33M+ Companies

Massive Global Coverage

Track headcount trends across our database of 33M+ companies worldwide. From startups to enterprises, across every industry and geography.

Explore our data
33M+
Companies tracked
Monthly
Data granularity
10+
Departments
Years
Of history

WHAT 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.

GET /v2/companies/workforce API reference
cURL request
curl --get 'https://api.companyenrich.com/v2/companies/workforce' \
  --header "Authorization: Bearer $COMPANYENRICH_API_KEY" \
  --header 'Accept: application/json' \
  --data-urlencode 'domain=stripe.com'

Example 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.

Illustrative response · selected fields

How you can use Company Headcount API

Turn workforce data into actionable intelligence.

AI & Automation

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.

Sales Intelligence

Detect Sales Signals Early

Prioritize accounts that are actively hiring and spending, not ones that have been flat for a year.

Growth Monitoring

Track Growth Signals

Monitor which companies are scaling fast and which ones are slowing down, filtered by department and time range.

Department Insights

Spot Department Budget Shifts

Know where the money is going at a department level, not just the overall headcount number.

Targeted Prospecting

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?
Historical headcount data is a time series of employee counts for a company, captured as monthly snapshots. It shows how a company's workforce has grown or contracted over time, including department-level breakdowns for each period.
How can I track company headcount changes?
Use the Company Headcount API to query any company by domain. The API returns the current observed employee count along with monthly snapshots for the latest 12 months. Pass the returned nextCursor to fetch each earlier year, so you can compare headcount across any time period and track changes programmatically.
Why can the headcount differ from a company's official number?
The API returns an observed employee count, based on the professional profiles linked to a company. It can differ from the number a company reports, for example when employees have no public profile. Use the trend over time to compare companies and spot growth.
Can I get employee count by department?
Yes. Every response includes a 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?
Compare the 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?
You can look up workforce data using the 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?
Pricing is based on our credit system, where each API call has its own credit usage. For the most current and detailed information on credit costs and monthly plans, please visit our pricing page.
Do I get charged if no headcount data is found?
No. You are only charged credits when the API successfully returns headcount data. If the company is not found or no headcount data is available, no credits are deducted.

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 Amirali, Co-Founder
Zeynep, Partnership Manager Zeynep, Partnership Manager
Ekin, Co-Founder & CTO Ekin, Co-Founder & CTO
CompanyEnrich CompanyEnrich

Get answers, not a sales pitch

Book a demo