Skip to Content

Platforms

LinkedIn

Read LinkedIn members' profiles, posts and articles, companies with their posts and jobs, posts with their comments and captions, job search by place and company, and the Ad Library.

Read a member's profile with its posts and articles, a company with its posts and open jobs, a post with its first comments and its video's captions, an article, job search with its filters, the members of a name, and LinkedIn's Ad Library.

Quick Reference

PropertyValue
Endpoints17
Members and companies byhandle or url
Posts byurl or id
A member's postsIts latest, about 10
A company's postsAbout 70, 10 a page
CommentsThe first, about 10
Jobs a page10, up to 1,000
Ads a page24
TranscriptsYes
CountsExact followers; reactions and comments on posts

Accounts

EndpointReturnsCredits
profileA member's public profile with its followers.1
profile/articlesA member's articles, up to 10.1
profile/postsA member's latest posts, about 10.1

Read a Profile

import { SocialAPI } from "@socialapihq/sdk";

const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });

const { data } = await client.linkedin.profile({ handle: "williamhgates" });
Response
{
  "data": {
    "id": "williamhgates",
    "username": "williamhgates",
    "displayName": "Bill Gates",
    "bio": "Chair of the Gates Foundation. Founder of Breakthrough Energy. Co-founder of Microsoft. Voracious reader. Avid traveler. Active blogger.",
    "avatarUrl": "https://media.licdn.com/dms/image/v2/D5603AQF-RYZP55jmXA/profile-displayphoto-shrink_200_200/B56ZRi8g.aGsAY-/0/1736826818802?e=2147483647&v=beta&t=bKWfN6UwwtiCqFWsG7rBELbd48qJOAMLdxhBzzkJV0k",
    "url": "https://www.linkedin.com/in/williamhgates",
    "verified": false,
    "private": false,
    "followers": 40865050,
    "following": null,
    "likes": null,
    "posts": null,
    "externalUrl": "https://gatesnot.es/sourcecode-li",
    "createdAt": null,
    "ext": {
      "headline": "Chair, Gates Foundation and Founder, Breakthrough Energy",
      "location": "Seattle, Washington, United States",
      "country": "US",
      "connections": 8,
      "connectionsMore": false,
      "labels": [
        "Creator",
        "Top Voice"
      ],
      "influencer": true,
      "coverUrl": "https://media.licdn.com/dms/image/v2/D5616AQEjhPbTCeblYg/profile-displaybackgroundimage-shrink_200_800/B56ZcytR5SGsAc-/0/1748902420393?e=2147483647&v=beta&t=a-tBeZkxzWTHWYY6MAjxt0oTEuxlW33EUkK3gm5_te4",
      "current": [
        {
          "name": "Gates Foundation",
          "url": "https://www.linkedin.com/company/gates-foundation"
        }
      ],
      "schools": [
        {
          "name": "Harvard University",
          "url": "https://www.linkedin.com/school/harvard-university/"
        }
      ],
      "hidden": false,
      "experience": [
        {
          "title": "Co-chair",
          "subtitle": "Gates Foundation",
          "url": "https://www.linkedin.com/company/gates-foundation",
          "starts": "2000",
          "ends": null,
          "current": true,
          "location": null,
          "description": null
        },
        {
          "title": "Founder",
          "subtitle": "Breakthrough Energy",
          "url": "https://www.linkedin.com/company/breakthrough-energy",
          "starts": "2015",
          "ends": null,
          "current": true,
          "location": null,
          "description": null
        },
        {
          "title": "Co-founder",
          "subtitle": "Microsoft",
          "url": "https://www.linkedin.com/company/microsoft",
          "starts": "1975",
          "ends": null,
          "current": true,
          "location": null,
          "description": null
        }
      ],
      "education": [
        {
          "title": "Harvard University",
          "subtitle": null,
          "url": "https://www.linkedin.com/school/harvard-university/",
          "starts": "1973",
          "ends": "1975",
          "current": false,
          "location": null,
          "description": null
        },
        {
          "title": "Lakeside School",
          "subtitle": null,
          "url": "https://www.linkedin.com/school/lakeside-school/",
          "starts": null,
          "ends": null,
          "current": false,
          "location": null,
          "description": null
        }
      ],
      "volunteering": [],
      "certifications": [],
      "publications": [],
      "patents": [],
      "projects": [],
      "honors": [],
      "languages": [],
      "courses": [],
      "testScores": [],
      "organizations": [],
      "skills": [],
      "recommendations": [],
      "websites": [
        "https://gatesnot.es/sourcecode-li"
      ],
      "similar": [
        {
          "name": "Melinda French Gates",
          "url": "https://www.linkedin.com/in/melindagates",
          "subtitle": "Pivotal",
          "location": "United States",
          "followers": 7000000
        },
        {
          "name": "Tyler Alterman",
          "url": "https://www.linkedin.com/in/tyleralterman",
          "subtitle": "Fractal University",
          "location": "Brooklyn, NY",
          "followers": 7000
        },
        {
          "name": "Todd J. Duckett",
          "url": "https://www.linkedin.com/in/toddjduckett",
          "subtitle": "Duckett Enterprises",
          "location": "Lansing, MI",
          "followers": 9000
        }
      ]
    }
  }
}
  • A member's followers is exact, and its ext.connections is shown up to 500 (connectionsMore past it).
  • Its ext has its location, its current company and school, its websites and every section it filled in: volunteering, certifications, publications, patents, projects, honors, languages, courses, test scores, organizations, skills and recommendations, and similar profiles.
  • Positions and schools are whole for members LinkedIn features, such as Top Voices. For most members LinkedIn hides them: ext.hidden is true, and ext.current and ext.schools name the current company and school.

Posts and Articles

  • A member's posts are its latest, about 10, each with its reactions and, where its page counts them, comments.
  • Its articles are its latest 10, each with its title and cover; /v1/linkedin/article reads one whole.

Companies

EndpointReturnsCredits
companyA company's page with its followers and employees.1
company/jobsA company's open jobs, 10 a page.1
company/postsA company's posts, newest first.1
search/companiesCompanies matching a name, with their ids.1

Company Fields

  • A company has its exact followers, its members on LinkedIn (ext.employees), its industry, size, headquarters, type, founding year, specialties and addresses, and its affiliated and similar pages.
  • A showcase page (a brand's or a product's) is read the same way, by its link or its name.
  • Its posts come newest first, about 70 in all, including the members' posts it reposted (ext.repostedBy).
  • Its jobs are the ones its page lists, its subsidiaries' included. By its companyId they are its own jobs alone, with no page read first.
  • Search companies finds the companies of a name, up to 10, the best match first, each with the id that companyId takes.

Posts

EndpointReturnsCredits
articleAn article with its text, reactions and comments.1
postOne post with its reactions and comments.1
post/commentsA post's first comments, about 10.1
post/transcriptA post's video's captions as text, with timings.10

Post Fields

  • A post's id is its activity's number, and its time comes from it, to the millisecond.
  • The stats have reactions as likes, and comments. LinkedIn shows no views.
  • Its media has its pictures, or its video with its file and poster; ext.linkPreview the link it shares, and ext.reshared the post it shares.
  • Its comments are the first ones its page shows, about 10, each with its author, time and reactions.

Transcripts

A transcript is LinkedIn's own captions of a post's video, whole, with generated set when LinkedIn made them from its speech. It costs 10 credits and is kept 30 days. A post without a captioned video returns 404, at no cost.

Jobs

EndpointReturnsCredits
jobOne job posting with its description.1
search/jobsJob postings for a search, 10 a page.1
search/locationsPlaces matching a name, with their ids.1
  • Job search takes query and a place, and filters by posted (day, week, month), type, experience and workplace, each a comma-separated list; sort is relevance or recent.
  • The place is a location as written, or a locationId from Search Locations, which finds the places of a name (Berlin, Berlin, Germany, Berlin, Connecticut, United States) so the one meant is searched.
  • Results come 10 a page, up to 1,000, each with its company, location, the day it was posted, its pay where given and LinkedIn's notes on it.
  • A job's posting has its whole text, its applicants, its seniority, employment type, job function and industries.

Ads

EndpointReturnsCredits
adOne ad with who paid for it and its reach.1
ads/searchAds from LinkedIn's Ad Library, 24 a page.1
  • Ad search finds the ads of an advertiser, a payer or with words (query), shown in a country and over a period, up to a year back.
  • An ad has its advertiser, payer, format, text, media and link.
  • An ad shown in the EU also has when it ran, its impressions and their split by country, and its targeting.

Discovery

EndpointReturnsCredits
search/usersMembers with a first and last name, up to 50.1

Search users finds the members of a first and a last name, up to 50, each with their location and current companies.