LinkedIn company page API
A LinkedIn company or showcase page: industry, description, website, company size, employees on LinkedIn, headquarters, type, founded, specialties, followers, locations, similar and affiliated pages, a few employees, and the latest posts, with the page’s own schema.org Organization.
GET /v1/linkedin/companies/{company}Beta5 credits per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/linkedin/companies/microsoft",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 5 credits{ "universal_name": "microsoft", "page_type": "company", "url": "https://www.linkedin.com/company/microsoft", "organization_id": "1035", "name": "Microsoft", "industry": "Software Development", "location": "Redmond, Washington", "description": "Every company has a mission. What's ours? To empower every person and every organization to achieve more. We believe tec…", "website": "https://news.microsoft.com/", "company_size": "10,001+ employees", "employee_count": 230440, "employees_on_linkedin": 230440, "headquarters": "Redmond, Washington", "organization_type": "Public Company", "founded": null, "specialties": [ "Business Software", "Developer Tools", "… 21 more" ], "followers_count": 29587529, "logo_url": "https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_200_200/B56ZYQ0mrGGoAM-/0/1744038948046/microsoft_…", "cover_url": "https://media.licdn.com/dms/image/v2/D4E3DAQGWOa_gAs1qXg/image-scale_325_1920/B4EZ8ZTX5SJEAI-/0/1782835937311/microsoft_…", "locations": [ { "is_primary": true, "address": "1 Microsoft Way, Redmond, Washington 98052, US" }, { "is_primary": false, "address": "1 Denison Street, North Sydney, NSW 2060, AU" }, "… 43 more" ], "job_search_company_ids": [ "3238203", "165397", "… 22 more" ], "employees": [ { "name": "Reid Hoffman", "url": "https://www.linkedin.com/in/reidhoffman", "id": "reidhoffman", "subtitle": "Co-Founder, LinkedIn, Manas AI & Inflection AI. Founding Team, PayPal. Author of Superagency. Podcaster of Possible and …", "details": [] }, { "name": "Tim Bakke", "url": "https://www.linkedin.com/in/timbakke", "id": "timbakke", "subtitle": null, "details": [] }, "… 2 more" ], "similar_pages": [ { "name": "Google", "url": "https://www.linkedin.com/company/google", "id": "google", "subtitle": "Software Development", "details": [ "Mountain View, CA" ] }, { "name": "Amazon", "url": "https://www.linkedin.com/company/amazon", "id": "amazon", "subtitle": "Software Development", "details": [] }, "… 8 more" ], "affiliated_pages": [ { "name": "GitHub", "url": "https://www.linkedin.com/company/github", "id": "github", "subtitle": "Software Development", "details": [ "San Francisco, CA" ] }, { "name": "Microsoft Learn", "url": "https://www.linkedin.com/showcase/microsoftlearn/", "id": "microsoftlearn", "subtitle": "IT Services and IT Consulting", "details": [ "Redmond, Washington" ] }, "… 50 more" ], "…": "3 more fields"}Parameters
| Name | Type | Description |
|---|---|---|
companypath · required | string | The page’s universal name (the part after /company/ or /showcase/) or its URL. Example: microsoft. |
page_typequery | "company" | "showcase" | showcase for a /showcase/ page given by name; a URL says it itself. One of company, showcase. |
Response fields
200 with a LinkedInCompany, in LinkedIn’s own schema.org JSON-LD, with the rest of the public page beside it.
| Field | Type | Description |
|---|---|---|
universal_name | string | |
page_type | "company" | "showcase" | |
url | string | |
organization_id | string | null | Numeric id: use it as company_id in jobs and ads search. |
name | string | |
industry | string | null | |
location | string | null | |
description | string | null | |
website | string | null | |
company_size | string | null | As shown, e.g. "10,001+ employees". |
employee_count | integer | null | From the JSON-LD numberOfEmployees, when present. |
employees_on_linkedin | integer | null | |
headquarters | string | null | |
organization_type | string | null | |
founded | string | null | |
specialties | string[] | |
followers_count | integer | null | |
logo_url | string | null | |
cover_url | string | null | |
locations | object[] | |
job_search_company_ids | string[] | The company ids LinkedIn’s own "See jobs" link searches (subsidiaries included). |
employees | LinkedInPageLink[] | The "Employees at" sidebar (a handful of members). |
similar_pages | LinkedInPageLink[] | |
affiliated_pages | LinkedInPageLink[] | |
posts | LinkedInFeedPost[] | The page’s latest posts. |
posts_next | string | null | Pass it as after to the company posts endpoint for the next page. |
organization | object |
Status codes
| Status | Meaning |
|---|---|
200 | The company page. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | LinkedIn has no such public page, or it was removed. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | LinkedIn is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
Can I look a company up by its numeric id or domain?
No. Logged out, LinkedIn serves company pages only by name. Use the company search for a name, or pass the name from the page URL.
LinkedIn is a trademark of LinkedIn Corporation. We are not affiliated with or endorsed by LinkedIn.