LinkedIn Company Custom Headcount Scraper avatar

LinkedIn Company Custom Headcount Scraper

Pricing

from $10.00 / 1,000 company headcount results

Go to Apify Store
LinkedIn Company Custom Headcount Scraper

LinkedIn Company Custom Headcount Scraper

Real LinkedIn employee counts by location, function, school, skill or field of study, plus the official company headcount and breakdown tables. No login, no cookies. MCP-ready.

Pricing

from $10.00 / 1,000 company headcount results

Rating

0.0

(0)

Developer

Khadin Akbar

Khadin Akbar

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Features

Limited permissions

Share

What is LinkedIn Company Custom Headcount Scraper?

Paste public LinkedIn company pages and get each company's official employee count. Add a location, job function, school, skill or field of study and get LinkedIn's real count of people at that company who match it, plus the full top-15 breakdown tables. No LinkedIn login, no cookies, no Sales Navigator seat.

You getFieldExample
Official headcountemployeeCount212408
Real count for your filtercustomHeadcount50000 engineers
Share of the companyfacetCounts[].shareOfCompany0.24
Top-15 tablesbreakdownlocations, functions, schools, skills, fields of study
Plain sentence for agentsagentSummaryone line with the key numbers

Built for sales teams sizing accounts, recruiters comparing talent pools, and researchers counting a competitor set. Two optional extras, both off by default: a public profile sample for your keywords, and growth tracking (headcount change since your last run).

Best fit for this Actor

  • Starting point: a public /company/ URL or vanity slug such as apple.
  • Output: one row per company with the official count and, when you set filters, the real LinkedIn count for each filter.
  • Want company profile fields (website, founded, followers)? Use LinkedIn Company Details Scraper. Want a list of employees? Use LinkedIn Company Employees Scraper. This Actor stays on counts, breakdowns and samples.

Who it is for

  • Account executives: size a target account and see how many engineers or sales staff it has before outreach.
  • Recruiters: compare how many people in a role sit in each city.
  • Market researchers: bulk-count a competitor set, then schedule it and track growth.
  • AI agents: one call with companyUrls returns numbers, countMethod, agentSummary and an honest outcome.

Input reference

FieldTypeDefaultWhat it controls
companyUrlsarray (required)1 Apple URLPublic /company/ URLs or vanity slugs, up to 100 (10 on the free plan)
locationsstring arrayemptye.g. San Francisco, United States
functionsstring arrayemptye.g. Engineering, Sales
skillsstring arrayemptye.g. Python
schoolsstring arrayemptye.g. Stanford University
fieldsOfStudystring arrayemptye.g. Computer Science
includeBreakdownbooleanfalseReturn the top-15 tables even with no filter
includeKeywordSamplebooleanfalseOptional extra: sample of public profiles
keywordsstringemptyPhrase for the sample only, e.g. software engineer
maxSampleProfilesinteger10Sample size, 1 to 30
trackGrowthbooleanfalseOptional extra: change since your last run
maxCompaniesinteger25Most companies billed in a run
includeSubsidiariesbooleanfalseAccepted for compatibility; subsidiaries are not expanded

Older numeric LinkedIn ID fields still work and map to the same labels.

Quick start input

{
"companyUrls": ["https://www.linkedin.com/company/apple"],
"maxCompanies": 1
}

Example: real engineers at one company

{
"companyUrls": ["https://www.linkedin.com/company/apple"],
"functions": ["Engineering"],
"maxCompanies": 1
}

How filters are counted (read this once)

LinkedIn publishes, for each company, the top 15 values for locations, functions, schools, skills and fields of study, with real counts. Your filter is matched against those lists.

  • One filter found in the list: customHeadcount is the real count and countMethod is linkedin_people_stats.
  • Two or more filters: LinkedIn gives separate counts that cannot be combined. You get every count in facetCounts and customHeadcountUpperBound (the true combined number is at most that), with countMethod linkedin_people_stats_separate.
  • Value not in the top 15: status is NOT_IN_TOP_LIST and countAtMost shows the 15th value, so you know it is smaller than that.
  • A close text match (for example San Francisco for San Francisco Bay Area) is marked matchType: close.

What data you receive

{
"companyName": "Apple",
"employeeCount": 212408,
"employeeRange": "10,001+ employees",
"customHeadcount": 50000,
"countMethod": "linkedin_people_stats",
"facetCounts": [
{
"facet": "functions",
"requested": "Engineering",
"matched": "Engineering",
"matchType": "exact",
"count": 50000,
"shareOfCompany": 0.2354,
"status": "FOUND"
}
],
"breakdown": { "locations": [], "functions": [], "schools": [], "skills": [], "fieldsOfStudy": [] },
"breakdownStatus": "DELIVERED",
"outcome": "FOUND"
}

Every run also writes OUTPUT and RUN_SUMMARY with a named outcome and per-company counters.

Optional extras

Public profile sample (includeKeywordSample): public LinkedIn profiles that match your keywords and filters, up to 10 per search page. A sample is not a headcount. Pages that return nothing are not charged.

Growth tracking (trackGrowth): the Actor saves each company's headcount in your own Apify account. On the next run it returns growth with the change in people and percent since the last run. The first run only saves a baseline and is not charged for this extra.

Workflow story

A sales-ops lead keeps 12 competitor pages in a sheet. She runs them weekly with functions: ["Engineering"] and trackGrowth: true, then sorts by growth.changePercent to see who is hiring engineers fastest.

Use through the API

curl -X POST "https://api.apify.com/v2/acts/khadinakbar~linkedin-company-custom-headcount-scraper/runs?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"companyUrls": ["https://www.linkedin.com/company/apple"], "maxCompanies": 1}'

Also exposed through Apify MCP as apify--linkedin-company-custom-headcount-scraper.

Use with AI agents through Apify MCP

For these LinkedIn company URLs return the official employeeCount and the real number of Engineering staff. Read agentSummary, and check outcome before retrying.

Cap maxCompanies so spend stays predictable. NOT_FOUND is a finished empty lookup, not a reason to retry.

Connect the workflow

Pricing

Pay per event, platform usage included. Charged only for what is delivered:

EventCharged when
Actor startOnce per run
Company headcountOne company returns its official count
People breakdownOne company returns real filter counts and tables (only when you set a filter or includeBreakdown)
Public profile sample pageOne search page returned public profiles (extra, off by default)
Headcount growthOne company returns a change since last run (extra, off by default)

Invalid URLs, unknown companies and unavailable breakdowns are not charged. The live Pricing tab shows current prices, with Store discounts for higher plans. Use a spending limit on your run to cap cost.

FAQ

Is the filter count a real number or an estimate? Real, from LinkedIn's own company people statistics, for values in the top 15.

Why is customHeadcount empty? Two or more filters (see customHeadcountUpperBound), the breakdown was unavailable, or the value is not in the top 15. outcome, breakdownStatus and facetCounts[].status say which.

Do I need to log in? No. No cookies, no credentials.

What happens if the data source is down? The run ends with a named failure or PARTIAL outcome. Nothing is charged for what was not delivered.

Responsible use

Use this Actor on public LinkedIn company data you are authorized to process for legitimate sales, recruiting or research. It does not log into LinkedIn or use your cookies, and it is not a private org chart. Follow GDPR, CCPA, LinkedIn's terms and local law. You are responsible for how you use the output.