# LinkedIn API — UnifAPI

> People, companies, posts, jobs, ads, search. Search and read public LinkedIn people, companies, posts, comments, reactions, jobs and ads, with experience, headcount and batch lookups.

- Category: Social platforms
- API base URL: https://api.unifapi.com
- Auth: `Authorization: Bearer <UnifAPI API key>` (OAuth recommended for MCP clients)
- MCP server: https://mcp.unifapi.com
- Developer docs: https://docs.unifapi.com/api/linkedin
- OpenAPI spec: https://unifapi.com/openapi.json
- HTML page: https://unifapi.com/apis/linkedin
- Full catalog: https://unifapi.com/apis.md

## Agent workflows

- Search LinkedIn people, companies, posts and jobs, then hydrate profiles, experience, posts, comments and hiring teams for business research agents.
- Turn browser-visible profile and company slugs into stable API calls for lead enrichment, hiring research, and competitive intelligence.
- Keep LinkedIn context in the same response envelope as social and creator data from the rest of UnifAPI.

## Endpoints (32)

Every endpoint returns the UnifAPI JSON envelope (`request_id`, `data`, `pagination` on lists, `billing`) and bills max(records × credits per record, minimum) in credits.

### Get a LinkedIn Ad Library ad

`GET /linkedin/ads/{id}`

Returns one ad from the LinkedIn Ad Library by id: advertiser, creative, format, run dates and targeting. Returns `not_found` when the ad does not exist.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/linkedin/ads/id/get
- Docs: https://docs.unifapi.com/api/linkedin/ads/id/get

### Search LinkedIn Ad Library ads

`GET /linkedin/ads/search`

Searches the LinkedIn Ad Library by advertiser, keyword, country and date range. Paginate with `cursor`.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Details: https://unifapi.com/apis/linkedin/ads/search/get
- Docs: https://docs.unifapi.com/api/linkedin/ads/search/get

### Get a LinkedIn company profile by URL slug

`GET /linkedin/companies/{slug}`

Return a canonicalized LinkedIn company profile by its URL slug (`universal_name`, e.g. `microsoft`), including description, industry, size, headquarters, and the numeric `company_id` that related endpoints use. Useful as the entry point for any company-level research.

- Price: 1 credit per record, minimum 27 credits ($0.03) per call
- Required: `slug` (path)
- Details: https://unifapi.com/apis/linkedin/companies/slug/get
- Docs: https://docs.unifapi.com/api/linkedin/companies/slug/get

### List a LinkedIn company's affiliated pages

`GET /linkedin/companies/{slug}/affiliated`

Returns the subsidiaries, showcase pages and other organizations LinkedIn lists as affiliated with a company.

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `slug` (path)
- Details: https://unifapi.com/apis/linkedin/companies/slug/affiliated/get
- Docs: https://docs.unifapi.com/api/linkedin/companies/slug/affiliated/get

### Get a LinkedIn company's headcount insights

`GET /linkedin/companies/{slug}/headcount`

Returns a LinkedIn company's employee count, growth over time and breakdown by function and location. Returns `not_found` when the company does not exist.

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `slug` (path)
- Details: https://unifapi.com/apis/linkedin/companies/slug/headcount/get
- Docs: https://docs.unifapi.com/api/linkedin/companies/slug/headcount/get

### List open jobs at a LinkedIn company

`GET /linkedin/companies/{slug}/jobs`

Returns the open job postings of a LinkedIn company with titles, locations, workplace types and posting times. Paginate with `cursor`.

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `slug` (path)
- Details: https://unifapi.com/apis/linkedin/companies/slug/jobs/get
- Docs: https://docs.unifapi.com/api/linkedin/companies/slug/jobs/get

### List posts published by a LinkedIn company page

`GET /linkedin/companies/{slug}/posts`

Return posts published from a LinkedIn company page by URL slug as a cursor-paginated list. This operation is capacity-limited; the gateway makes up to 3 total attempts for transient failures.

- Price: 1 credit per record, minimum 12 credits ($0.01) per call
- Required: `slug` (path)
- Details: https://unifapi.com/apis/linkedin/companies/slug/posts/get
- Docs: https://docs.unifapi.com/api/linkedin/companies/slug/posts/get

### List LinkedIn companies similar to a company

`GET /linkedin/companies/{slug}/similar`

Returns the companies LinkedIn shows as similar to a company ("Pages people also viewed").

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `slug` (path)
- Details: https://unifapi.com/apis/linkedin/companies/slug/similar/get
- Docs: https://docs.unifapi.com/api/linkedin/companies/slug/similar/get

### Get up to 50 LinkedIn companies by URL

`GET /linkedin/companies/batch`

Returns full LinkedIn company pages for up to 50 company URLs in one request (repeat `url` or comma-separate). Each result carries its own lookup status; billing is per company returned.

- Price: 27 credits per record, minimum 27 credits ($0.03) per call
- Required: `url` (query)
- Details: https://unifapi.com/apis/linkedin/companies/batch/get
- Docs: https://docs.unifapi.com/api/linkedin/companies/batch/get

### Get a LinkedIn job posting by ID

`GET /linkedin/jobs/{id}`

Return a LinkedIn job posting by ID, including title, company, location, description, and optional skills or hiring-team data. This operation is capacity-limited; the gateway makes up to 3 total attempts for transient failures.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/linkedin/jobs/id/get
- Docs: https://docs.unifapi.com/api/linkedin/jobs/id/get

### List the hiring team of a LinkedIn job

`GET /linkedin/jobs/{id}/hiring-team`

Returns the people LinkedIn lists as the hiring team for a job posting.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/linkedin/jobs/id/hiring-team/get
- Docs: https://docs.unifapi.com/api/linkedin/jobs/id/hiring-team/get

### List jobs viewed alongside a LinkedIn job

`GET /linkedin/jobs/{id}/related`

Returns the job postings people also viewed after viewing a LinkedIn job.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/linkedin/jobs/id/related/get
- Docs: https://docs.unifapi.com/api/linkedin/jobs/id/related/get

### List LinkedIn jobs similar to a job

`GET /linkedin/jobs/{id}/similar`

Returns job postings LinkedIn shows as similar to a job.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/linkedin/jobs/id/similar/get
- Docs: https://docs.unifapi.com/api/linkedin/jobs/id/similar/get

### Get up to 50 LinkedIn jobs by URL

`GET /linkedin/jobs/batch`

Returns full LinkedIn job postings for up to 50 job URLs in one request (repeat `url` or comma-separate). Each result carries its own lookup status; billing is per job returned.

- Price: 9 credits per record, minimum 9 credits ($0.009) per call
- Required: `url` (query)
- Details: https://unifapi.com/apis/linkedin/jobs/batch/get
- Docs: https://docs.unifapi.com/api/linkedin/jobs/batch/get

### Get a LinkedIn post by ID

`GET /linkedin/posts/{id}`

Return a single LinkedIn post by its numeric ID, including author, text, media, and engagement counts. Useful for hydrating a known post or checking its current reach.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/linkedin/posts/id/get
- Docs: https://docs.unifapi.com/api/linkedin/posts/id/get

### List top-level comments on a LinkedIn post

`GET /linkedin/posts/{id}/comments`

Return top-level comments on a LinkedIn post by activity ID as a cursor-paginated list. This operation is capacity-limited; the gateway makes up to 3 total attempts for transient failures.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/linkedin/posts/id/comments/get
- Docs: https://docs.unifapi.com/api/linkedin/posts/id/comments/get

### List reactions on a LinkedIn post

`GET /linkedin/posts/{id}/reactions`

Returns the people who reacted to a LinkedIn post and the reaction type of each. Paginate with `cursor`.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/linkedin/posts/id/reactions/get
- Docs: https://docs.unifapi.com/api/linkedin/posts/id/reactions/get

### Get the transcript of a LinkedIn video post

`GET /linkedin/posts/{id}/transcript`

Returns the spoken-word transcript of a LinkedIn video post. Returns `not_found` when the post does not exist.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/linkedin/posts/id/transcript/get
- Docs: https://docs.unifapi.com/api/linkedin/posts/id/transcript/get

### Resolve a LinkedIn company slug to its id

`GET /linkedin/resolve/company-id`

Returns the numeric organization id for a LinkedIn company slug. Pass the id instead of the slug to /linkedin/companies/{slug}/… routes to skip the lookup.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `slug` (query)
- Details: https://unifapi.com/apis/linkedin/resolve/company-id/get
- Docs: https://docs.unifapi.com/api/linkedin/resolve/company-id/get

### Resolve a LinkedIn username to its entity id

`GET /linkedin/resolve/user-id`

Returns the entity id (`ACoAA…`) for a LinkedIn vanity username. Pass the id instead of the username to /linkedin/users/{username}/… routes to skip the lookup.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `username` (query)
- Details: https://unifapi.com/apis/linkedin/resolve/user-id/get
- Docs: https://docs.unifapi.com/api/linkedin/resolve/user-id/get

### Search LinkedIn companies

`GET /linkedin/search/companies`

Searches LinkedIn companies by keyword with headcount, industry, location and hiring filters. Paginate with `cursor`.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `keyword` (query)
- Details: https://unifapi.com/apis/linkedin/search/companies/get
- Docs: https://docs.unifapi.com/api/linkedin/search/companies/get

### Search LinkedIn jobs by keyword and filters

`GET /linkedin/search/jobs`

Search LinkedIn job postings by keyword and filters as a cursor-paginated list. Filter by salary, benefits, employer commitments, verified jobs and fair-chance jobs as well as location, experience, workplace, job type, company, function, industry and title. This operation is capacity-limited; the gateway makes up to 3 total attempts for transient failures.

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `keyword` (query)
- Details: https://unifapi.com/apis/linkedin/search/jobs/get
- Docs: https://docs.unifapi.com/api/linkedin/search/jobs/get

### Search LinkedIn people

`GET /linkedin/search/people`

Searches LinkedIn members by keyword, name, title, current or past company, school, industry and location. Paginate with `cursor`.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Details: https://unifapi.com/apis/linkedin/search/people/get
- Docs: https://docs.unifapi.com/api/linkedin/search/people/get

### Search LinkedIn posts

`GET /linkedin/search/posts`

Searches public LinkedIn posts by keyword, optionally limited to a posting date window. Paginate with `cursor`.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `query` (query)
- Details: https://unifapi.com/apis/linkedin/search/posts/get
- Docs: https://docs.unifapi.com/api/linkedin/search/posts/get

### Get a LinkedIn user profile by URL slug

`GET /linkedin/users/{username}`

Returns the canonical LinkedIn profile for the given URL slug (`public_identifier`). Returns 404 not_found if no such user exists.

- Price: 1 credit per record, minimum 9 credits ($0.009) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/linkedin/users/username/get
- Docs: https://docs.unifapi.com/api/linkedin/users/username/get

### List comments a LinkedIn user has written

`GET /linkedin/users/{username}/comments`

Returns the public comments a LinkedIn user has left on posts, newest first, with the post each comment belongs to. Paginate with `cursor`.

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/linkedin/users/username/comments/get
- Docs: https://docs.unifapi.com/api/linkedin/users/username/comments/get

### List a LinkedIn user's work experience

`GET /linkedin/users/{username}/experience`

Returns a LinkedIn user's employment history: companies, titles, dates, locations and descriptions.

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/linkedin/users/username/experience/get
- Docs: https://docs.unifapi.com/api/linkedin/users/username/experience/get

### List a LinkedIn user's interests

`GET /linkedin/users/{username}/interests`

Returns the companies, groups, schools, newsletters and top voices a LinkedIn user follows. Returns `not_found` when the user does not exist.

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/linkedin/users/username/interests/get
- Docs: https://docs.unifapi.com/api/linkedin/users/username/interests/get

### List posts authored by a LinkedIn user

`GET /linkedin/users/{username}/posts`

Return posts authored by a LinkedIn user from the profile URL slug as a cursor-paginated list. This operation is capacity-limited; the gateway makes up to 3 total attempts for transient failures.

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/linkedin/users/username/posts/get
- Docs: https://docs.unifapi.com/api/linkedin/users/username/posts/get

### List a LinkedIn user's recommendations

`GET /linkedin/users/{username}/recommendations`

Returns the recommendations a LinkedIn user has received and given. Returns `not_found` when the user does not exist.

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/linkedin/users/username/recommendations/get
- Docs: https://docs.unifapi.com/api/linkedin/users/username/recommendations/get

### List LinkedIn profiles similar to a user

`GET /linkedin/users/{username}/similar`

Returns LinkedIn profiles that LinkedIn shows as similar to a user ("People also viewed").

- Price: 1 credit per record, minimum 18 credits ($0.02) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/linkedin/users/username/similar/get
- Docs: https://docs.unifapi.com/api/linkedin/users/username/similar/get

### Get up to 50 LinkedIn profiles by URL

`GET /linkedin/users/batch`

Returns full LinkedIn profiles for up to 50 profile URLs or usernames in one request (repeat `url` or comma-separate). Each result carries its own lookup status; billing is per profile returned.

- Price: 9 credits per record, minimum 9 credits ($0.009) per call
- Required: `url` (query)
- Details: https://unifapi.com/apis/linkedin/users/batch/get
- Docs: https://docs.unifapi.com/api/linkedin/users/batch/get

## Related APIs

- [Instagram API](https://unifapi.com/apis/instagram/index.md) — Profiles, posts, reels, stories, comments, audio, search
- [TikTok API](https://unifapi.com/apis/tiktok/index.md) — Videos, creators, comments, hashtags, music
- [YouTube API](https://unifapi.com/apis/youtube/index.md) — Channels, videos, comments, captions, playlists, hashtags, search, trending
- [Amazon API](https://unifapi.com/apis/amazon/index.md) — Creator storefronts
- [Twitter / X API](https://unifapi.com/apis/twitter/index.md) — Users, posts, search, trends, lists, communities
- [Linktree API](https://unifapi.com/apis/linktree/index.md) — Link-in-bio pages
