LinkedIn company page API
A company page as a signed-out visitor sees it.
- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
Description, website, industry, size, headquarters, specialties, locations, followers, employee count, affiliated and similar pages.
You send url.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/linkedin/company" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'url=https://www.linkedin.com/company/microsoft'import os
import requests
params = {
"url": "https://www.linkedin.com/company/microsoft",
}
res = requests.get(
"https://api.socialscrape.io/v1/linkedin/company",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/linkedin/company");
url.search = new URLSearchParams({
url: "https://www.linkedin.com/company/microsoft",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape LinkedIn company page",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/linkedin/company",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "url",
"value": "https://www.linkedin.com/company/microsoft"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | yes | Company page URL (linkedin.com/company/<slug>). |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_effcd4396c0e4af796ebf091",
"data": {
"object": "profile",
"platform": "linkedin",
"id": "1035",
"handle": "microsoft",
"name": "Microsoft",
"headline": null,
"url": "https://www.linkedin.com/company/microsoft",
"kind": "company",
"bio": "Every company has a mission. What's ours? To empower every person and every organization to achieve more. We believe technology can and should be a force for...",
"avatar_url": "https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_200_200/B56ZYQ0mrGGoAM-/0/1744038948046/microsoft_logo?e=2147483647&v=beta&t=ts9MGrTk7L...",
"banner_url": "https://media.licdn.com/dms/image/v2/D4E3DAQGWOa_gAs1qXg/image-scale_325_1920/B4EZ8ZTX5SJEAI-/0/1782835937311/microsoft_cover?e=2147483647&v=beta&t=z_r5wUbur...",
"verified": null,
"is_private": null,
"external_url": "https://news.microsoft.com/",
"links": [
{
"title": "Website",
"url": "https://news.microsoft.com/"
}
],
"location": "Redmond, Washington",
"category": "Software Development",
"created_at": null,
"stats": {
"followers": 29402101,
"following": null,
"posts": null,
"likes": null,
"views": null
},
"extra": {
"address": "1 Microsoft Way, Redmond, Washington, 98052, US",
"affiliated_pages": [
{
"name": "GitHub",
"slug": "github",
"url": "https://www.linkedin.com/company/github"
},
{
"name": "Microsoft Learn",
"slug": "microsoftlearn",
"url": "https://www.linkedin.com/showcase/microsoftlearn/"
},
{
"name": "Microsoft Azure",
"slug": "microsoft-azure",
"url": "https://www.linkedin.com/showcase/microsoft-azure/"
}
],
"company_size": "10,001+ employees",
"employees_count": 231133,
"employees_on_linkedin": 231133,
"employees_sample": [
{
"name": "Reid Hoffman",
"url": "https://www.linkedin.com/in/reidhoffman"
}
]
}
},
"cursor": null,
"has_more": null
}Fields
One Profile in data.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "profile" | ||
platform | Platform | yes | |
id | string or null | ||
handle | string or null | ||
name | string or null | ||
headline | string or null | a short tagline apart from the bio (LinkedIn's headline) | |
url | string or null | ||
kind | "person" or "creator" or "channel" or "page" or "company" or "artist" or "organization" or "shop" or "unknown" | ||
bio | string or null | ||
avatar_url | string or null | ||
banner_url | string or null | ||
verified | boolean or null | ||
is_private | boolean or null | ||
external_url | string or null |
Show the other 6 fields
| Field | Type | Always | Notes |
|---|---|---|---|
links | Link[] or null | ||
location | string or null | ||
category | string or null | ||
created_at | string (ISO 8601 date-time) or null | ||
stats | ProfileStats | ||
extra | object or null |
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
Is there an SDK call for it?
The preview Python client has client.linkedin.company(...) and the TypeScript client client.linkedin.company(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.