Social platformsLive

LinkedIn API for AI agents

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

Using ChatGPT, Claude Code or another client? See the setup steps

Agent workflows

Use LinkedIn records as evidence, not glue code.

UnifAPI keeps the public LinkedIn surface discoverable through MCP and callable over HTTP. Agents can inspect the schema, fetch only the records needed for the task, and return the result with request, pagination, and billing metadata intact.

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.

Run it

Agents & Skills that use the LinkedIn API

You rarely call an API by hand. These prebuilt agents and skills already read LinkedIn records inside Claude or Codex — start from one of them, or call the endpoints below yourself.

Endpoints

32 ready-to-call endpoints

GET/linkedin/ads/{id}$min $0.003

Get a LinkedIn Ad Library ad

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.

Details →
GET/linkedin/ads/search$min $0.003

Search LinkedIn Ad Library ads

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

Details →
GET/linkedin/companies/{slug}$$min $0.03

Get a LinkedIn company profile by URL 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.

Details →
GET/linkedin/companies/{slug}/affiliated$$min $0.02

List a LinkedIn company's affiliated pages

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

Details →
GET/linkedin/companies/{slug}/headcount$$min $0.02

Get a LinkedIn company's headcount insights

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.

Details →
GET/linkedin/companies/{slug}/jobs$$min $0.02

List open jobs at a LinkedIn company

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

Details →
GET/linkedin/companies/{slug}/posts$$min $0.01

List posts published by a LinkedIn company page

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.

Details →
GET/linkedin/companies/{slug}/similar$$min $0.02

List LinkedIn companies similar to a company

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

Details →
GET/linkedin/companies/batch$$min $0.03

Get up to 50 LinkedIn companies by URL

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.

Details →
GET/linkedin/jobs/{id}$min $0.009

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. This operation is capacity-limited; the gateway makes up to 3 total attempts for transient failures.

Details →
GET/linkedin/jobs/{id}/hiring-team$min $0.009

List the hiring team of a LinkedIn job

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

Details →
GET/linkedin/jobs/{id}/related$min $0.009

List jobs viewed alongside a LinkedIn job

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

Details →
GET/linkedin/jobs/{id}/similar$min $0.009

List LinkedIn jobs similar to a job

Returns job postings LinkedIn shows as similar to a job.

Details →
GET/linkedin/jobs/batch$min $0.009

Get up to 50 LinkedIn jobs by URL

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.

Details →
GET/linkedin/posts/{id}$min $0.009

Get a LinkedIn post by 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.

Details →
GET/linkedin/posts/{id}/comments$min $0.009

List top-level comments on a LinkedIn post

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.

Details →
GET/linkedin/posts/{id}/reactions$min $0.009

List reactions on a LinkedIn post

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

Details →
GET/linkedin/posts/{id}/transcript$min $0.003

Get the transcript of a LinkedIn video post

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

Details →
GET/linkedin/resolve/company-id$min $0.009

Resolve a LinkedIn company slug to its 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.

Details →
GET/linkedin/resolve/user-id$min $0.009

Resolve a LinkedIn username to its entity 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.

Details →
GET/linkedin/search/companies$min $0.009

Search LinkedIn companies

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

Details →
GET/linkedin/search/jobs$$min $0.02

Search LinkedIn jobs by keyword and filters

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.

Details →
GET/linkedin/search/people$min $0.009

Search LinkedIn people

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

Details →
GET/linkedin/search/posts$min $0.003

Search LinkedIn posts

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

Details →
GET/linkedin/users/{username}$min $0.009

Get a LinkedIn user profile by URL slug

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

Details →
GET/linkedin/users/{username}/comments$$min $0.02

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. Paginate with `cursor`.

Details →
GET/linkedin/users/{username}/experience$$min $0.02

List a LinkedIn user's work experience

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

Details →
GET/linkedin/users/{username}/interests$$min $0.02

List a LinkedIn user's interests

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

Details →
GET/linkedin/users/{username}/posts$$min $0.02

List posts authored by a LinkedIn user

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.

Details →
GET/linkedin/users/{username}/recommendations$$min $0.02

List a LinkedIn user's recommendations

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

Details →
GET/linkedin/users/{username}/similar$$min $0.02

List LinkedIn profiles similar to a user

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

Details →
GET/linkedin/users/batch$min $0.009

Get up to 50 LinkedIn profiles by URL

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.

Details →