LinkedIn User Activity Scraper avatar

LinkedIn User Activity Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
LinkedIn User Activity Scraper

LinkedIn User Activity Scraper

Scrape the recent activity of any LinkedIn user â€" posts they liked, commented on, or reshared. Ideal for sales intelligence and competitive research.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

19 hours ago

Last modified

Share

Scrape the recent activity of any LinkedIn user — the posts they liked, commented on, or reshared. Perfect for sales intelligence (understand what prospects engage with) and competitive research (track what influencers in your space react to).


What it does

For each LinkedIn profile URL you provide, this actor fetches:

Activity TypeDescription
LikesPosts the user reacted to with any emoji reaction
CommentsPosts the user left a comment on
Posts / RepostsOriginal posts and reposts the user published
AllAll three categories in a single run

Input

FieldTypeRequiredDescription
profileUrlsArray of stringsYesLinkedIn profile URLs. Accepts https://www.linkedin.com/in/username/, regional variants (uk.linkedin.com), or bare usernames.
cookieStringYesLinkedIn session cookie. Accepts a plain li_at value or a full JSON array from a cookie export extension (EditThisCookie, etc.).
activityTypeEnumNoall (default), likes, comments, or posts.
maxActivitiesPerProfileIntegerNoMax items per profile per activity type. Default: 50, max: 500.
proxyConfigurationObjectNoApify proxy settings. Residential proxy recommended for best reliability.

The easiest way to get your cookie:

  1. Log into LinkedIn in your browser.
  2. Open DevTools → Application → Cookies → linkedin.com.
  3. Copy the value of li_at and paste it into the LinkedIn Cookie field.

For a full cookie export (more reliable): use the EditThisCookie extension → Export → paste the entire JSON array.


Output

Each result row represents a single activity item:

FieldTypeDescription
activityTypeStringlike, comment, post, or repost
originalPostUrlStringURL of the post on LinkedIn
originalPostIdStringLinkedIn activity ID
originalAuthorNameStringDisplay name of the original post author
originalAuthorProfileUrlStringLinkedIn profile URL of the original author
contentStringText content of the post
reactedAtStringISO 8601 timestamp of the activity
inputProfileUrlStringThe profile that was scraped
scrapedAtStringISO 8601 timestamp of when scraping occurred

Sample output item

{
"activityType": "like",
"originalPostUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7234567890123456789/",
"originalPostId": "7234567890123456789",
"originalAuthorName": "Satya Nadella",
"originalAuthorProfileUrl": "https://www.linkedin.com/in/satyanadella",
"content": "Excited to share our latest AI innovations...",
"reactedAt": "2024-11-15T09:32:10.000+00:00",
"inputProfileUrl": "https://www.linkedin.com/in/williamhgates",
"scrapedAt": "2024-11-20T14:00:00.000+00:00"
}

Use cases

  • Sales intelligence — See which topics and vendors your prospects engage with before outreach.
  • Competitive research — Track what content competitors react to; uncover their interests.
  • Influencer analysis — Identify which posts resonate with thought leaders in your space.
  • Lead enrichment — Enrich CRM contacts with their recent LinkedIn engagement signals.
  • Content strategy — Discover what types of posts generate engagement from your target audience.

Limitations

  • Requires a valid LinkedIn session cookie (li_at). The cookie owner must be able to view the target profile.
  • LinkedIn limits how far back activity history goes. Older activity may not be returned.
  • LinkedIn may throttle requests. The actor implements automatic retry with exponential backoff.
  • Private profiles may not return activity if the cookie owner is not connected.

FAQs

Q: Will this work on any public LinkedIn profile?
A: Activity data is accessible as long as your session cookie can view the profile. Most public profiles work. For private profiles (1st-degree connections only), you need a cookie from an account connected to the target.

Q: How many activities can I scrape?
A: Up to 500 per profile per activity type. For activityType: all, this means up to 500 likes + 500 comments + 500 posts = 1,500 items per profile.

Q: Is a proxy required?
A: Optional. The actor works from datacenter IPs, but residential proxy improves reliability. Configure under proxyConfiguration.

Q: My cookie expired — what happens?
A: The actor will detect a 401/403 response and stop immediately with a clear error message. Refresh your cookie and re-run.

Q: Can I scrape multiple profiles?
A: Yes. Add all profile URLs to the profileUrls array. The actor processes them sequentially to avoid rate limits.

Q: Why do some items not have content?
A: Some posts are purely media (images, videos) with no text. Empty fields are omitted from output.

Explore the rest of the LinkedIn suite

Need a different LinkedIn surface? Pair this actor with any of the others in the LinkedIn Suite — all published under the same publisher and built to share the same cookie format and output conventions.

ActorWhat it scrapes
LinkedIn Comments ScraperAll comments + reply threads on a post
LinkedIn Company Employees ScraperEmployee list for any company (by URN)
LinkedIn Company Info ScraperCompany About page (size, HQ, industry, specialties)
LinkedIn Company Posts ScraperPosts published from a company page
LinkedIn Events ScraperEvents by keyword/URL with full event detail
LinkedIn Hashtag Posts ScraperPosts ranked under a #hashtag
LinkedIn Jobs ScraperJob listings via the public jobs-guest API
LinkedIn Jobs Scraper UltraSame as jobs-scraper + full detail enrichment
LinkedIn Learning Courses ScraperLinkedIn Learning course catalog by keyword
LinkedIn People Search ScraperPeople search with every LinkedIn facet (role, company, school, location, etc.)
LinkedIn Post Reactions ScraperReactors on a post (name, headline, reaction type)
LinkedIn Post ScraperFull post (text, media, engagement counts, author)
LinkedIn Post Search ScraperPosts matching a keyword (with date/author/network filters)
LinkedIn Profile Posts ScraperAll posts/reposts/articles for one profile
LinkedIn Profile ScraperPublic profile fields (name, headline, positions, education, skills)
LinkedIn Profile Scraper ProProfile fields + extras (recommendations, organizations, languages)
LinkedIn Profile Scraper Pro UltraPro + premium fields (contact info, followers list when allowed)
LinkedIn Profile Scraper UltraProfile + the full upstream dash-120 surface
LinkedIn Profile Search by NameSearch profiles by person name (great for matching CSVs of names)
LinkedIn Schools Alumni ScraperAlumni list for any LinkedIn school page
LinkedIn Top Content ScraperTrending / top-engagement posts by topic

All actors share the same cookie input format (plain li_at OR full cookies JSON array) and the same omit-empty output convention.