Social Media
LinkedIn logo

LinkedIn API

linkedin.com

Public LinkedIn data: profiles, posts, comments and search.

Actions
14
Category
Social Media
Login
Not required
Output
JSON

Call the LinkedIn API

Submit a task, then poll the job until it settles. This example runs linkedin_ad_detail.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "linkedin_ad_detail",
    "params": {
      "ad_url": "https://www.linkedin.com/ad-library/detail/1633004096"
    }
  }'

14 actions on linkedin.com

Read

  • Ad Details

    linkedin_ad_detailread10 credits / call

    Get one ad from the LinkedIn Ad Library: advertiser, headline, text, ad type, call to action, landing page, image or video, run dates, impressions and targeting.

    ad_url
    string · required
  • Ad Library Search

    linkedin_ad_searchread10 credits / call

    Get an advertiser's ads from the LinkedIn Ad Library (one page, about 24 ads): headline, text, ad type, call to action, landing page, image or video, run dates, impressions and targeting.

    company
    string · required
    cursor
    string
  • Company Employees

    linkedin_company_employeesread200 credits / call

    Get a company's employees from LinkedIn, 25 per page: name, profile link, summary, location, current title and photo. Use page for more.

    company
    string · required
    page
    integer
  • Company Posts

    linkedin_company_postsread50 credits / call

    Get a company's latest LinkedIn posts (10 by default, up to 500): text, date, likes, comments, shares and images.

    company
    string · required
    limit
    integer
  • Company Profile

    linkedin_company_profileread10 credits / call

    Get a LinkedIn company page: name, tagline, description, website, industry, type, size, employees on LinkedIn, followers, founding year, headquarters and logo.

    company
    string · required
  • Job Details

    linkedin_job_detailread10 credits / call

    Get one LinkedIn job posting: title, company, location, date posted, applicants, seniority, job type, industry, salary when shown, and full description.

    job_url
    string · required
  • Job Search

    linkedin_job_searchread50 credits / call

    Search LinkedIn jobs (10 by default, up to 150): title, company, location, date posted, applicants, seniority, job type, industry, salary when shown, and full description.

    keywords
    string · required
    location
    string
    limit
    integer
  • People Search

    linkedin_people_searchread200 credits / call

    Search LinkedIn people by keyword, 25 per page: name, profile link, summary, location, current title and company, and photo. Use page for more.

    query
    string · required
    location
    string
    page
    integer
  • Person Posts

    linkedin_person_postsread50 credits / call

    Get a person's latest LinkedIn posts (10 by default, up to 500): text, date, likes, comments, shares and images.

    profile
    string · required
    limit
    integer
  • Person Profile

    linkedin_person_profileread10 credits / call

    Get a public LinkedIn profile: name, headline, about, location, followers, connections, current role, full work history and education.

    profile
    string · required
  • Post Comments

    linkedin_post_commentsread50 credits / call

    Get the comments on a LinkedIn post (10 by default, up to 500): text, date, commenter name, headline and profile link, likes and replies.

    post_url
    string · required
    limit
    integer
  • Post Details

    linkedin_post_detailread10 credits / call

    Get one LinkedIn post: text, author, date, likes, comment count and images.

    post_url
    string · required
  • Post Search

    linkedin_post_searchread50 credits / call

    Search recent LinkedIn posts by keyword (10 by default, up to 400): text, author, date, likes, comments and shares.

    query
    string · required
    limit
    integer
  • Post Video Transcript

    linkedin_post_transcriptread10 credits / call

    Get the spoken transcript of a LinkedIn post's video. Posts without speech return has_transcript false.

    post_url
    string · required

LinkedIn API questions

Is there an API for LinkedIn?
LinkedIn does not offer a public data API for this, but Anakin Wire provides 14 maintained endpoints for linkedin.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape LinkedIn data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when linkedin.com changes its markup, Anakin updates the action.
Do I need a LinkedIn account?
No. Every LinkedIn action listed here runs anonymously — no account and no credentials required.
What does the LinkedIn API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Social Media APIs

All Social Media sites