LinkedIn API
Public-data LinkedIn endpoints.
Public-data LinkedIn endpoints.
When To Use This API
The LinkedIn API is for agent workflows that need public, platform-native data without writing a custom collector for every task. Use it when a prompt needs evidence from live public records, when a Skill needs repeatable enrichment, or when product code needs the same contract an agent discovered through MCP.
This section lists 32 live LinkedIn operations from the canonical OpenAPI spec. Each operation page documents the route, method, parameters, response envelope, pagination behavior when available, and the error vocabulary shared across UnifAPI.
- Enrich public people, companies, jobs, and posts when a research agent needs business context.
- Build lead, hiring, or competitive-intelligence workflows from browser-visible LinkedIn identifiers.
- Connect company pages, public posts, reactions, comments, and search results without custom scraping code.
Agent Contract Notes
Agents usually discover these endpoints with the hosted UnifAPI MCP server, inspect the operation schema, then call only the records needed for the current task. Developers can call the same endpoints over HTTP with an API key, which makes the path from exploratory agent run to production integration direct.
Every successful response uses a stable envelope with a request id, data payload, optional pagination cursor, and billing metadata. Errors use the same closed vocabulary across platforms, so retry logic, user-facing explanations, and cost reporting can stay consistent even when a workflow spans multiple public-data sources.
When you are choosing an operation, start from the public identifier the user already has: a profile username, post id, channel id, subreddit name, search term, or URL-derived slug. Prefer the narrowest endpoint that answers the question, then expand only when the agent needs more evidence. This keeps record usage predictable, makes citations easier to explain, and avoids turning a focused research task into an expensive crawl.
Operations
Ads
GET /linkedin/ads/{id}— Get a LinkedIn Ad Library ad — Returns one ad from the LinkedIn Ad Library by id: advertiser, creative, format, run dates and targeting.GET /linkedin/ads/search— Search LinkedIn Ad Library ads — Searches the LinkedIn Ad Library by advertiser, keyword, country and date range.
Companies
GET /linkedin/companies/{slug}/affiliated— List a LinkedIn company's affiliated pages — Returns the subsidiaries, showcase pages and other organizations LinkedIn lists as affiliated with a company.GET /linkedin/companies/{slug}/headcount— Get a LinkedIn company's headcount insights — Returns a LinkedIn company's employee count, growth over time and breakdown by function and location.GET /linkedin/companies/{slug}/jobs— List open jobs at a LinkedIn company — Returns the open job postings of a LinkedIn company with titles, locations, workplace types and posting times.GET /linkedin/companies/{slug}/posts— List posts published by a LinkedIn company page — Return posts published from a LinkedIn company page by URL slug as a cursor-paginated list.GET /linkedin/companies/{slug}— Get a LinkedIn company profile by URL slug — Return a canonicalized LinkedIn company profile by its URL slug (universal_name, e.g.GET /linkedin/companies/{slug}/similar— List LinkedIn companies similar to a company — Returns the companies LinkedIn shows as similar to a company ("Pages people also viewed").GET /linkedin/companies/batch— Get up to 50 LinkedIn companies by URL — Returns full LinkedIn company pages for up to 50 company URLs in one request (repeaturlor comma-separate).
Jobs
GET /linkedin/jobs/{id}/hiring-team— List the hiring team of a LinkedIn job — Returns the people LinkedIn lists as the hiring team for a job posting.GET /linkedin/jobs/{id}/related— List jobs viewed alongside a LinkedIn job — Returns the job postings people also viewed after viewing a LinkedIn job.GET /linkedin/jobs/{id}— Get a LinkedIn job posting by ID — Return a LinkedIn job posting by ID, including title, company, location, description, and optional skills or hiring-team data.GET /linkedin/jobs/{id}/similar— List LinkedIn jobs similar to a job — Returns job postings LinkedIn shows as similar to a job.GET /linkedin/jobs/batch— Get up to 50 LinkedIn jobs by URL — Returns full LinkedIn job postings for up to 50 job URLs in one request (repeaturlor comma-separate).
Posts
GET /linkedin/posts/{id}/comments— List top-level comments on a LinkedIn post — Return top-level comments on a LinkedIn post by activity ID as a cursor-paginated list.GET /linkedin/posts/{id}/reactions— List reactions on a LinkedIn post — Returns the people who reacted to a LinkedIn post and the reaction type of each.GET /linkedin/posts/{id}— Get a LinkedIn post by ID — Return a single LinkedIn post by its numeric ID, including author, text, media, and engagement counts.GET /linkedin/posts/{id}/transcript— Get the transcript of a LinkedIn video post — Returns the spoken-word transcript of a LinkedIn video post.
Resolve
GET /linkedin/resolve/company-id— Resolve a LinkedIn company slug to its id — Returns the numeric organization id for a LinkedIn company slug.GET /linkedin/resolve/user-id— Resolve a LinkedIn username to its entity id — Returns the entity id (ACoAA…) for a LinkedIn vanity username.
Search
GET /linkedin/search/companies— Search LinkedIn companies — Searches LinkedIn companies by keyword with headcount, industry, location and hiring filters.GET /linkedin/search/jobs— Search LinkedIn jobs by keyword and filters — Search LinkedIn job postings by keyword and filters as a cursor-paginated list.GET /linkedin/search/people— Search LinkedIn people — Searches LinkedIn members by keyword, name, title, current or past company, school, industry and location.GET /linkedin/search/posts— Search LinkedIn posts — Searches public LinkedIn posts by keyword, optionally limited to a posting date window.
Users
GET /linkedin/users/{username}/comments— List comments a LinkedIn user has written — Returns the public comments a LinkedIn user has left on posts, newest first, with the post each comment belongs to.GET /linkedin/users/{username}/experience— List a LinkedIn user's work experience — Returns a LinkedIn user's employment history: companies, titles, dates, locations and descriptions.GET /linkedin/users/{username}/interests— List a LinkedIn user's interests — Returns the companies, groups, schools, newsletters and top voices a LinkedIn user follows.GET /linkedin/users/{username}/posts— List posts authored by a LinkedIn user — Return posts authored by a LinkedIn user from the profile URL slug as a cursor-paginated list.GET /linkedin/users/{username}/recommendations— List a LinkedIn user's recommendations — Returns the recommendations a LinkedIn user has received and given.GET /linkedin/users/{username}— Get a LinkedIn user profile by URL slug — Returns the canonical LinkedIn profile for the given URL slug (public_identifier).GET /linkedin/users/{username}/similar— List LinkedIn profiles similar to a user — Returns LinkedIn profiles that LinkedIn shows as similar to a user ("People also viewed").GET /linkedin/users/batch— Get up to 50 LinkedIn profiles by URL — Returns full LinkedIn profiles for up to 50 profile URLs or usernames in one request (repeaturlor comma-separate).