Platforms/LinkedIn

LinkedIn

LinkedIn API

Read public LinkedIn profiles, company and school pages with their posts, a post's comments and video transcript, job postings and job search, the Ad Library and members by name, as JSON. Every call reads what a logged-out visitor sees: no LinkedIn account and no developer app.

LinkedIn endpoints

12 endpoints, each a GET request with your key in the x-api-key header.

EndpointRequestReturns
ProfileGET /v1/linkedin/profile?handle=williamhgatesA member's profile: name, headline, location, about, followers and connections, experience and education.
Profile postsGET /v1/linkedin/profiles/posts?handle=williamhgatesA member's latest posts: the ones their profile's Activity section shows logged out, about 8.
CompanyGET /v1/linkedin/companies?slug=googleA company's or school's page: its name, industry, description, website, size, employees and followers, headquarters, type, founding year and specialties.
Company postsGET /v1/linkedin/companies/posts?slug=googleA company's or school's posts, newest first, about 10 a page: as many pages as LinkedIn shows a logged-out visitor, 7.
PostGET /v1/linkedin/posts?post_id=7449849039522545666A post or an article: its text, author, date, reactions and comments, and its image or video.
Post commentsGET /v1/linkedin/posts/comments?post_id=7449849039522545666A post's top comments: the ones its page shows logged out, up to 10.
Post transcriptGET /v1/linkedin/posts/transcript?post_id=7465082408409870337A video post's captions, the ones LinkedIn makes from its speech, as one text and as timed segments.
JobGET /v1/linkedin/jobs?job_id=4480251608A job posting: its title, company, location, pay, applicants, description and criteria, and whether it still takes applications.
Job searchGET /v1/linkedin/jobs/search?keyword=software+engineer&location=United+StatesJob postings, as LinkedIn's logged-out job search finds them: 10 a page, up to 1,000 jobs.
AdGET /v1/linkedin/ad-library/ads?ad_id=1600913504An ad in LinkedIn's Ad Library: its advertiser, who paid for it, its format, text, headline and image or video.
Ad searchGET /v1/linkedin/ad-library/ads/search?company=microsoftAds in LinkedIn's Ad Library, newest first, 24 a page: by advertiser (company or company_id) or by keyword, in the countries and dates given.
People searchGET /v1/linkedin/people/search?first_name=Bill&last_name=GatesMembers by first and last name, from LinkedIn's public directory: up to 50.

Your first request

Save your key and the base URL, then call the profile endpoint:

export API_KEY="your-api-key"
export API_URL="https://api.socialparse.dev"

curl -H "x-api-key: $API_KEY" "$API_URL/v1/linkedin/profile?handle=williamhgates"

Every answer has the same envelope on every platform: data, page for the next page, and meta. See Responses and Errors.

Compared with LinkedIn's own API

LinkedIn's own APIs are for approved partners, and most of them only act for the member who signed in. Reading any public profile or company page isn't one of them. Social Parse needs neither: it reads the public pages, and you pay per successful call.

Pricing

One credit per successful call, whichever endpoint; errors cost nothing and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Do I need LinkedIn credentials or developer approval?

No. Social Parse reads LinkedIn's public pages as a logged-out visitor does, so you only need an API key.

What does each LinkedIn call cost?

One credit per successful call, live or cached; a page of results is one call, and errors cost nothing. New accounts get 100 free credits.

What about private LinkedIn content?

Only what a logged-out visitor can see is read. Content behind a login answers 403 LOGIN_REQUIRED, and something deleted answers 404 NOT_FOUND.

How fresh is the data?

Each call reads the live page. The same call within a few minutes is answered from a short cache, and deleted content is never served from it.

Other platforms