LinkedIn Posts Scraper [NO COOKIE NEEDED] avatar
LinkedIn Posts Scraper [NO COOKIE NEEDED]

Pricing

$4.93 / 1,000 posts

Go to Store
LinkedIn Posts Scraper [NO COOKIE NEEDED]

LinkedIn Posts Scraper [NO COOKIE NEEDED]

Developed by

Rizuan

Rizuan

Maintained by Community

Extract posts from LinkedIn profiles, company pages, search results, and direct post URLs. Pagination is automatic - no need to track page numbers or pagination tokens manually. And no LinkedIn cookies required, so your own profile is 100% safe from restrictions.

0.0 (0)

Pricing

$4.93 / 1,000 posts

1

Total users

9

Monthly users

9

Runs succeeded

>99%

Last modified

5 days ago

LinkedIn Posts Scraper

This Apify actor allows you to scrape posts from LinkedIn profiles, company pages, content search results, and individual posts without any login required. Extract detailed post information including text content, engagement metrics, author details, and media attachments.

Why use this actor?

This LinkedIn Posts Scraper offers several advantages over other similar actors:

  • All-in-one solution: With just one actor, scrape unlimited posts from personal profiles, company pages, search result links, and individual post URLs. No need to use different actors for different LinkedIn content types.

  • Automatic pagination: Simply specify the maximum number of posts you want to scrape per URL, and the actor handles all pagination automatically until it reaches your desired limit or exhausts all available posts. No manual re-running or managing pagination tokens.

  • No LinkedIn credentials required: Scrape LinkedIn data without providing your LinkedIn cookies or risking your personal LinkedIn account.

  • Built-in error handling: The actor automatically retries failed requests up to 5 times before moving on, ensuring maximum data collection with minimal supervision.

Features

  • Scrape posts from four different LinkedIn sources:

    • Personal profiles (e.g., https://www.linkedin.com/in/username/)
    • Company pages (e.g., https://www.linkedin.com/company/companyname/)
    • Content search results (e.g., https://www.linkedin.com/search/results/content/?keywords=search%20term)
    • Individual post URLs (e.g., https://www.linkedin.com/posts/username_post-id or https://www.linkedin.com/feed/update/post-id)
  • Extract comprehensive post data:

    • Post text content and URLs
    • Publication timestamps
    • Detailed author information
    • Complete engagement metrics (likes, comments, reactions by type)
    • Media attachments (images, videos, article links)
  • Filter posts by date range to get exactly the content you need

Input parameters

FieldTypeDescription
urlsArrayRequired. List of LinkedIn URLs to scrape posts from. All URLs must begin with 'https://'. Supports personal profiles, company pages, content search results, and individual post URLs.
limitIntegerOptional. Maximum number of posts to scrape per URL. Default: 100
published_beforeStringOptional. Only scrape posts published on or before this date (YYYY-MM-DD format).
published_afterStringOptional. Only scrape posts published on or after this date (YYYY-MM-DD format).

Output format

For each post, the actor extracts the following fields:

FieldDescription
urnUnique identifier for the post (LinkedIn's internal ID)
posted_atISO timestamp when the post was published
textFull text content of the post
urlDirect URL to the post
post_typeType of post (e.g., article, image, video)
author_nameFull name of the post author
author_first_nameFirst name of the author (for personal profiles)
author_last_nameLast name of the author (for personal profiles)
author_headlineAuthor's headline or description (for personal profiles)
author_usernameLinkedIn username of the author
author_profile_urlURL to the author's LinkedIn profile
author_profile_pictureURL to the author's profile picture
total_reactions_countTotal number of reactions on the post
like_countNumber of "Like" reactions
celebrate_countNumber of "Celebrate" reactions
support_countNumber of "Support" reactions
love_countNumber of "Love" reactions
insightful_countNumber of "Insightful" reactions
funny_countNumber of "Funny" reactions
comments_countTotal number of comments on the post
reposts_countTotal number of reposts/shares
media_typeType of media attached (image, video, article)
media_urlURL to the media attachment (for videos and articles)
media_imagesArray of image URLs (for posts with images)

Usage examples

Scrape posts from a LinkedIn company page

{
"limit": 20,
"published_before": "2025-05-01",
"urls": [
"https://www.linkedin.com/company/linkedin/",
"https://www.linkedin.com/company/microsoft/",
"https://www.linkedin.com/company/amazon/"
]
}

Scrape posts from a personal profile

{
"limit": 50,
"urls": [
"https://www.linkedin.com/in/williamhgates/"
]
}

Scrape posts from a search query

{
"limit": 100,
"published_after": "2024-01-01",
"urls": [
"https://www.linkedin.com/search/results/content/?keywords=artificial%20intelligence"
]
}

Scrape a specific post

{
"urls": [
"https://www.linkedin.com/posts/satyanadella_i-am-inspired-by-the-ways-people-are-using-activity-7168624777101824000-aH-g"
]
}

Error handling and limitations

  • The actor will make up to 5 retry attempts for each URL in case of failed requests
  • For each URL type, the actor implements specific error handling to ensure maximum data collection
  • Date filtering works on posts with valid timestamps
  • Some posts may have incomplete data depending on their visibility settings