Platforms
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
| Property | Value |
|---|---|
| Endpoints | 17 |
| Members and companies by | handle or url |
| Posts by | url or id |
| A member's posts | Its latest, about 10 |
| A company's posts | About 70, 10 a page |
| Comments | The first, about 10 |
| Jobs a page | 10, up to 1,000 |
| Ads a page | 24 |
| Transcripts | Yes |
| Counts | Exact followers; reactions and comments on posts |
Accounts
| Endpoint | Returns | Credits |
|---|---|---|
profile | A member's public profile with its followers. | 1 |
profile/articles | A member's articles, up to 10. | 1 |
profile/posts | A 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" });{
"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
followersis exact, and itsext.connectionsis shown up to 500 (connectionsMorepast it). - Its
exthas 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.hiddenistrue, andext.currentandext.schoolsname 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/articlereads one whole.
Companies
| Endpoint | Returns | Credits |
|---|---|---|
company | A company's page with its followers and employees. | 1 |
company/jobs | A company's open jobs, 10 a page. | 1 |
company/posts | A company's posts, newest first. | 1 |
search/companies | Companies 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
companyIdthey 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
idthatcompanyIdtakes.
Posts
| Endpoint | Returns | Credits |
|---|---|---|
article | An article with its text, reactions and comments. | 1 |
post | One post with its reactions and comments. | 1 |
post/comments | A post's first comments, about 10. | 1 |
post/transcript | A post's video's captions as text, with timings. | 10 |
Post Fields
- A post's
idis its activity's number, and its time comes from it, to the millisecond. - The
statshave reactions aslikes, and comments. LinkedIn shows no views. - Its
mediahas its pictures, or its video with its file and poster;ext.linkPreviewthe link it shares, andext.resharedthe 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
| Endpoint | Returns | Credits |
|---|---|---|
job | One job posting with its description. | 1 |
search/jobs | Job postings for a search, 10 a page. | 1 |
search/locations | Places matching a name, with their ids. | 1 |
- Job search takes
queryand a place, and filters byposted(day,week,month),type,experienceandworkplace, each a comma-separated list;sortisrelevanceorrecent. - The place is a
locationas written, or alocationIdfrom 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
| Endpoint | Returns | Credits |
|---|---|---|
ad | One ad with who paid for it and its reach. | 1 |
ads/search | Ads from LinkedIn's Ad Library, 24 a page. | 1 |
- Ad search finds the ads of an
advertiser, apayeror with words (query), shown in acountryand over aperiod, 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
| Endpoint | Returns | Credits |
|---|---|---|
search/users | Members 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.