LinkedIn Company Data API: Followers, Employee Count and Company Posts
To get LinkedIn company data through an API, call GET /v1/profile?platform=linkedin&username=COMPANY on SocialLens, where COMPANY is the company's LinkedIn slug or its full company URL. The response returns the follower count, the employee count, the headquarters location, the website, the description and the logo as JSON. This guide shows the real response, explains how to target companies and people, covers what LinkedIn does not expose, and ends with a tested script that enriches a list of companies.
The short answer
curl "https://api.sociallens.dev/v1/profile?platform=linkedin&username=microsoft" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
Response read on November 22, 2026. The description, image URLs and note are shortened here.
{
"exists": true,
"platform": "linkedin",
"type": "company",
"name": "Microsoft",
"handle": "microsoft",
"followers": 29570468,
"employee_count": 230547,
"industry": null,
"founded": null,
"description": "Every company has a mission. What's ours? To empower every person and every organization to achieve more. ...",
"location": {
"city": "Redmond",
"state": "Washington",
"country": "US"
},
"website": "https://news.microsoft.com/",
"logo": "https://media.licdn.com/dms/image/v2/.../company-logo_200_200/...",
"cover": "https://media.licdn.com/dms/image/v2/.../image-scale_325_1920/...",
"id": "1035",
"note": "followers and employee_count are read live. industry and founded are not provided by the source yet; ...",
"fetched_at": "2026-11-22T23:53:23Z",
"cached": false,
"source_cached": false,
"credits": {
"source": "free",
"charged": 1,
"balance": 0,
"free_reads_total": 250,
"free_reads_left": 243
}
}
The company page had 29,570,468 followers and 230,547 employees on LinkedIn at the time of the read.
The response, field by field
LinkedIn company pages are entities, not creator accounts, so the response has its own shape, marked by type: "company".
| Field | Meaning |
|---|---|
type |
company for a company page, person for a member profile. |
name |
Company name as shown on the page. |
handle |
The slug in the company URL (linkedin.com/company/<handle>). |
followers |
Followers of the company page, full integer. |
employee_count |
The number of employees LinkedIn shows for the company, full integer. |
description |
The "about" text of the page. |
location |
Headquarters as an object with city, state and country. |
website |
The website listed on the page. |
logo, cover |
Image URLs. They can expire, so download them if you need to keep them. |
id |
LinkedIn's numeric ID of the company. Stable if the slug changes. |
industry, founded |
Present in the schema and null today, because the source does not provide them. |
note |
Informational text about the fields above. Ignore it in parsers. |
Two fields, industry and founded, are worth a comment. They are classic company attributes and most data models expect them, so they are part of the response. They come as null instead of being guessed. If you need industry classification today, take it from another source and join on handle or on the website domain.
How to target a company or a person
LinkedIn is one platform with two kinds of profile, and the username parameter handles both.
A company by slug. The slug is the last part of the company URL. For linkedin.com/company/microsoft it is microsoft. A name without any other hint is read as a company, since that is the most common request.
A company by URL. Send the full URL and the path decides the type:
curl -G "https://api.sociallens.dev/v1/profile" \
--data-urlencode "platform=linkedin" \
--data-urlencode "username=https://www.linkedin.com/company/google" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
A person. Add type=person to a profile slug, or send a /in/ URL:
curl "https://api.sociallens.dev/v1/profile?platform=linkedin&username=williamhgates&type=person" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
One common mistake: the slug is not the display name. Microsoft Corporation or The Coca-Cola Company will not resolve. Use the text from the URL, which contains only letters, digits, dots, underscores and hyphens.
Followers and employee count are different signals
They are often shown next to each other and they answer different questions.
employee_count describes the size of the organization. It is the standard input for firmographic work: bucketing accounts into size bands, scoring leads, sizing a market segment, or filtering a prospect list to "companies between 200 and 1,000 employees".
followers describes audience and brand reach. A company can be small and heavily followed, or large and nearly invisible.
The ratio between the two is a quick indicator of brand pull. From live reads on the same day:
| Company | Followers | Employees | Followers per employee |
|---|---|---|---|
| Microsoft | 29,570,518 | 230,547 | 128.3 |
| 42,749,894 | 332,826 | 128.4 | |
| Shopify | 1,122,848 | 30,424 | 36.9 |
Both numbers are full integers, so you can also store them over time. A weekly reading of employee_count gives a headcount trend, which is a useful proxy for hiring or contraction, and a weekly reading of followers gives audience growth. LinkedIn publishes neither series, so the history is something you build from your own readings. The storage pattern is described in How to Track TikTok Follower Growth Programmatically and applies here unchanged.
Reading a person's profile
A member profile answers with type: "person".
{
"exists": true,
"platform": "linkedin",
"type": "person",
"username": "williamhgates",
"name": "Bill Gates",
"followers": 40842787,
"followers_rounded": 40842787,
"is_exact": true,
"connections": null,
"bio": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founder of Microsoft. ...",
"avatar": "https://media.licdn.com/dms/image/v2/.../profile-displayphoto-shrink_200_200/...",
"location": "Seattle, Washington, United States",
"experience": [
{ "name": "Gates Foundation", "url": "https://www.linkedin.com/company/gates-foundation", "start_year": 2000 },
{ "name": "Breakthrough Energy ", "url": "https://www.linkedin.com/company/breakthrough-energy", "start_year": 2015 },
{ "name": "Microsoft", "url": "https://www.linkedin.com/company/microsoft", "start_year": 1975 }
],
"fetched_at": "2026-11-22T23:53:27Z"
}
What you get is the public face of the profile: name, exact follower count, the "about" text, location, and the organizations in the experience section with their LinkedIn URL and start year.
What you do not get is equally important. connections is null, because LinkedIn no longer shows a connection count publicly. Job titles are not included in experience, only the organization and the year. There are no emails or phone numbers. This is a read of public profile data, not a contact database.
The url inside each experience item is a company URL, which means you can pass it straight back to the same endpoint to read that company. That makes a simple chain: person, then their current company, then that company's size and reach.
Company posts: what is there and what is not
/v1/profile-posts lists the recent posts of a company page.
curl "https://api.sociallens.dev/v1/profile-posts?platform=linkedin&username=microsoft&limit=2" \
-H "Authorization: Bearer sk_live_YOUR_KEY"
{
"exists": true,
"username": "microsoft",
"platform": "linkedin",
"private": false,
"count": 1,
"has_more": false,
"next_cursor": null,
"is_exact": false,
"posts": [
{
"id": "7529683750469681152",
"url": "https://www.linkedin.com/posts/microsoft_msignite-activity-7529683750469681152-seh_",
"caption": "Thousands of people, countless ideas, and a shared excitement for what’s possible. That's a wrap on #MSIgnite!",
"published_at": "2026-11-20T23:15:00Z",
"likes": null,
"views": null,
"comments": null,
"shares": null,
"likes_hidden": true
}
],
"fetched_at": "2026-11-22T23:53:55Z"
}
You get the text, the date and the link of each post. You do not get reactions, comments or shares: those counters come as null, with likes_hidden: true and is_exact: false to make the absence explicit. LinkedIn does not expose post engagement in the public data this endpoint reads, and the API does not fill the gap with estimates.
That still supports real uses: measuring how often a company posts, monitoring what competitors announce, or feeding post text into a summarizer. It does not support engagement benchmarking on LinkedIn, and it is better to know that before you design a report around it.
Enrich a list of companies in Python
A complete script, run as shown. It accepts slugs and URLs in the same list and writes a CSV.
import csv
import os
import sys
import time
import requests
API = "https://api.sociallens.dev/v1/profile"
KEY = os.environ["SOCIALLENS_KEY"]
# A company can be given as its LinkedIn slug or as the full company URL.
COMPANIES = [
"microsoft",
"https://www.linkedin.com/company/google",
"shopify",
]
def read_company(target):
for _ in range(3):
r = requests.get(
API,
params={"platform": "linkedin", "username": target, "type": "company"},
headers={"Authorization": f"Bearer {KEY}"},
timeout=60,
)
if r.status_code in (409, 429, 503):
time.sleep(int(r.headers.get("Retry-After", 5)))
continue
break
return r.status_code, r.json()
out = csv.writer(sys.stdout)
out.writerow(["handle", "name", "followers", "employees", "followers_per_employee", "city", "country", "website"])
for target in COMPANIES:
status, c = read_company(target)
if status != 200 or not c.get("exists"):
out.writerow([target, f"not available ({status})", "", "", "", "", "", ""])
continue
loc = c.get("location") or {}
followers, employees = c["followers"], c["employee_count"]
ratio = round(followers / employees, 1) if followers and employees else ""
out.writerow([c["handle"], c["name"], followers, employees, ratio,
loc.get("city"), loc.get("country"), c["website"]])
Output:
handle,name,followers,employees,followers_per_employee,city,country,website
microsoft,Microsoft,29570518,230547,128.3,Redmond,US,https://news.microsoft.com/
google,Google,42749894,332826,128.4,Mountain View,US,https://goo.gle/3DLEokh
shopify,Shopify,1122848,30424,36.9,Ottawa,CA,https://www.shopify.com
The script runs the reads one after another. Reads for the same API account are processed in sequence, so a parallel pool would not finish sooner and can return 409 account_busy. Each successful read is one credit, and error responses are not charged. A new account includes 250 free reads with no card, which covers a list of 250 companies.
What people build with company data
- CRM enrichment. Add employee count, headquarters country and website to each account record, then route or prioritize on those fields.
- Lead scoring. Size bands built from the real employee count are more precise than a self reported "company size" form field.
- Market sizing. Read every company on a target list and count how many fall in each size band and country.
- Competitor watch. A weekly reading of
employee_countandfollowersfor a handful of competitors shows who is hiring and whose audience is growing. - Investment and partner research. Headcount growth over months is a simple traction signal that is hard to get elsewhere for private companies.
- Content monitoring. The posts endpoint gives the text and date of what a company publishes, enough for alerts and summaries.
All of these use the same single request per company, and the same request shape reads the company's other social profiles. If the company list lives in Clay, the request runs from an HTTP API column: see Enrich a Clay Table with Instagram, TikTok, YouTube and LinkedIn Follower Counts via HTTP API.
The official LinkedIn API or a public data API?
LinkedIn's official APIs are offered through developer programs that require approval for each product, and their organization endpoints are designed around pages your authenticated member administers and around advertising. They are the right path when you manage a company page, publish on its behalf or run campaigns, because only they can act as the page and return its private analytics.
For reading public facts about any company, such as its follower count, size and location, a public data API needs no approval process and no member login. You send a slug, you get the JSON. The same request shape also reads Instagram, TikTok, YouTube, X and other networks, which helps when the company record you are building has a column for each network.
What this endpoint does not cover
- Industry and founding year. In the schema,
nulltoday. - Lists of employees. The API returns the count, not the people.
- Post engagement. Company posts come without reaction or comment counts.
- Contact details. No emails or phone numbers, for companies or people.
- Lookup by domain or display name. You need the slug or the URL of the page.
- Private data of any kind. Only what the public page shows.
Frequently asked questions
Is there an API to get a LinkedIn company's follower count?
Yes. GET /v1/profile?platform=linkedin&username=SLUG returns followers for the company page as a full integer, together with employee_count, location and website.
Is the employee count exact?
It is the full number LinkedIn shows for the company, returned as an integer, not a size band such as "10,001+".
Can I get the list of people who work at a company?
No. The API returns the employee count. It does not return employee lists or any contact data.
Can I read a personal LinkedIn profile?
Yes, with type=person or a /in/ URL. You get the name, exact follower count, about text, location and the organizations in the experience section. Connection count and job titles are not publicly exposed and come empty.
Can I look up a company by its website?
Not directly. The input is the LinkedIn slug or company URL. Once read, the response includes the company website, which you can use to join with other datasets.
Is there a free way to check one company?
The LinkedIn company followers tool and the LinkedIn employee count tool run the same read in the browser without an account. For other networks with the same request, see Follower Count API.