LinkedIn API

Get LinkedIn data as clean JSON with one key: 68 endpoints, 1 to 143 credits per call, the same response shape as every other platform.

What you get#

Onekey exposes LinkedIn as 68 endpoints behind one API key: 22 endpoints return one record (data is an object) and 46 endpoints return a list (data is an array). Every answer uses the same envelope (success, data, metadata, error), the cost is reported in metadata.credits_charged, and fields are mapped onto the unified schema so the code you write for LinkedIn also works for the rest of the jobs & professional category.

Endpoints#

EndpointWhat it doesParametersCreditsStatus
adLinkedIn ad details: advertiser, headline and copy.url*2beta needs a pack
ads_searchSearch LinkedIn ads by advertiser company.company, keyword, company_id, cursor2beta needs a pack
articleLinkedIn Pulse article: title, text, author and counts.url*2beta needs a pack
article_commentsComments on a LinkedIn Pulse article.url*, cursor2beta needs a pack
article_reactionsPeople who reacted to a LinkedIn Pulse article.url*, cursor2beta needs a pack
companyPublic LinkedIn company page card: name, tagline, follower count text, logo.company*1stable may need a pack
company_affiliated_pagesAffiliated and showcase pages of a LinkedIn company.company_id*2beta needs a pack
company_also_viewedCompany pages people also viewed, by company id.company_id, url2beta needs a pack
company_by_domainLook up a LinkedIn company page from its website domain.domain*2beta needs a pack
company_employees_countEmployee count of a LinkedIn company.company_id*2beta needs a pack
company_insightsAggregate insights about the members of a LinkedIn company.company_id*2beta needs a pack
company_job_countOpen job count of a LinkedIn company.company_id*2beta needs a pack
company_jobsJob postings of a LinkedIn company.company_id*, cursor2beta needs a pack
company_peoplePeople listed at a LinkedIn company.company_id*, cursor2beta needs a pack
company_postsRecent public posts shown on a LinkedIn company page (JSON-LD).company*3beta may need a pack
groupLinkedIn group details.group_id*2beta needs a pack
group_postsPosts in a LinkedIn group.group_id*, cursor2beta needs a pack
jobLinkedIn job details.id*2beta needs a pack
job_hiring_teamHiring team shown on a LinkedIn job, by job id.id, url2beta needs a pack
postLinkedIn post details: text, author, counts.url*2beta needs a pack
post_comment_repliesReplies to a comment on a LinkedIn post.url*, comment_id*, cursor2beta needs a pack
post_commentsComments on a LinkedIn post (by activity URN).urn*3beta needs a pack
post_reactionsPeople who reacted to a LinkedIn post.url*, cursor2beta needs a pack
post_repostsReposts of a LinkedIn post.url*, cursor2beta needs a pack
post_transcriptTranscript of a LinkedIn post video.url*2beta needs a pack
post_with_commentsA LinkedIn post together with its first comments.url*2beta needs a pack
profilePublic LinkedIn member profile card: name + headline, summary, location, connections, photo.vanity*1stable may need a pack
profile_aboutAccount freshness signals of a LinkedIn member (not the About text).url*2beta needs a pack
profile_activityWhen a LinkedIn member was last active.url*2beta needs a pack
profile_allA LinkedIn member's whole profile with counts in one call.url*2beta needs a pack
profile_articlesPulse articles published by a LinkedIn member.url*, cursor2beta needs a pack
profile_certificationsLicenses and certifications of a LinkedIn member.url*, cursor2beta needs a pack
profile_commentsComments written by a LinkedIn member.url*2beta needs a pack
profile_completeA LinkedIn member's profile with experience, education, skills and recommendations.url*2beta needs a pack
profile_contactPublic contact info of a LinkedIn member.url*2beta needs a pack
profile_educationsEducation history of a LinkedIn member.url*, cursor2beta needs a pack
profile_experiencesWork experience of a LinkedIn member.url*, cursor2beta needs a pack
profile_fullLinkedIn company page with recent posts in one call.url*2beta needs a pack
profile_honorsHonors and awards of a LinkedIn member.url*, cursor2beta needs a pack
profile_imagesImage posts of a LinkedIn member.url*2beta needs a pack
profile_interests_companiesCompanies a LinkedIn member follows.url*, cursor2beta needs a pack
profile_interests_groupsGroups a LinkedIn member follows.url*, cursor2beta needs a pack
profile_interests_newslettersNewsletters a LinkedIn member follows.url*, cursor2beta needs a pack
profile_interests_schoolsSchools a LinkedIn member follows.url*, cursor2beta needs a pack
profile_interests_top_voicesTop Voices a LinkedIn member follows.url*2beta needs a pack
profile_position_skillsPositions of a LinkedIn member with the skills on each role.url*2beta needs a pack
profile_posted_jobsJobs posted by a LinkedIn member.url*2beta needs a pack
profile_postsRecent public articles and posts shown on a LinkedIn member's public page (JSON-LD).vanity*2stable may need a pack
profile_posts_archiveA LinkedIn member's post history, capped at 10 posts per call at a flat price.url*143beta needs a pack
profile_publicationsPublications of a LinkedIn member.url*, cursor2beta needs a pack
profile_reactionsPosts a LinkedIn member reacted to.url*2beta needs a pack
profile_recommendationsRecommendations received by a LinkedIn member.url*, cursor2beta needs a pack
profile_similarLinkedIn members similar to a given profile.url*2beta needs a pack
profile_skillsSkills of a LinkedIn member.url*, cursor2beta needs a pack
profile_statsFollower and connection counts of a LinkedIn member.url*2beta needs a pack
profile_top_positionCompany page of the top position of a LinkedIn member.url*2beta needs a pack
profile_videosVideo posts of a LinkedIn member.url*2beta needs a pack
profile_volunteersVolunteer experience of a LinkedIn member.url*, cursor2beta needs a pack
profile_with_postsA LinkedIn member profile with counts and recent posts.url*2beta needs a pack
search_companiesSearch LinkedIn companies by keyword (needs a logged-in session).q*3beta needs a pack
search_hashtagSearch LinkedIn posts by hashtag.query*2beta needs a pack
search_industryResolve an industry name to LinkedIn industry ids.query*2beta needs a pack
search_jobsSearch LinkedIn jobs.query*, cursor2beta needs a pack
search_locationResolve a location to LinkedIn geocode ids.query*2beta needs a pack
search_peopleSearch LinkedIn members by keyword (needs a logged-in session).q*5beta needs a pack
search_people_by_urlSearch LinkedIn people from a search-results URL.url*2beta needs a pack
search_postsSearch public LinkedIn posts by keyword.query, from_member, from_company, cursor2beta needs a pack
search_schoolsSearch LinkedIn schools.query*, cursor2beta needs a pack

A * marks a required parameter. Each endpoint name links to its reference page with the full parameter table, caching window and a recorded response.

Make a request#

This calls linkedin.company (1 credit, stable). Replace YOUR_API_KEY with your key; sign up, no card. 1,000 free credits cover the open-platform endpoints. Hard-to-reach platforms (X, TikTok, Instagram, Reddit, and others marked on their page) need a verified email and a purchased pack.

curl "https://api.onekey.dev/v1/linkedin/company?company=microsoft" \
  -H "x-api-key: YOUR_API_KEY"

Fields you get back#

These unified fields come back from LinkedIn, with the same names as on every other platform. The count is how many of its 68 mapped endpoints return the field; a field the source lacks is null, never missing. 16 platform-specific fields (ext.<name>) come on top, documented on each endpoint page.

FieldTypeEndpoints
author.displayNamestring35
content.textstring32
author.urlURL31
content.urlURL30
entity.namestring24
content.createdAtISO 8601 date22
content.idstring20
content.titlestring18
engagement.likesinteger18
entity.urlURL15
entity.idstring13
engagement.commentsinteger12
entity.descriptionstring12
author.biostring10
engagement.sharesinteger10
entity.stats.followersinteger10
author.avatarUrlURL9
author.locationstring8
event.endDateISO 8601 date6
event.startDateISO 8601 date6
entity.categorystring5
author.followersinteger4
listing.companystring4
media.urlURL2
author.createdAtISO 8601 date1
author.idstring1
author.verifiedboolean1
author.websiteURL1
content.languagestring1
entity.stats.scorenumber1
media.thumbnailUrlURL1

The full schema is in Unified schema.

Pricing#

LinkedIn calls cost 1 to 143 credits, flat per endpoint. Free when served from cache (0.2 credit for a cached response over 100 KB). Invalid, failed or not-found calls are not charged. See pricing for credit packs.