AI Linkedin Post Scraper avatar
AI Linkedin Post Scraper
Under maintenance

Pricing

from $0.01 / 1,000 results

Go to Apify Store
AI Linkedin Post Scraper

AI Linkedin Post Scraper

Under maintenance

Scrape viral/trending LinkedIn posts by hashtag or keyword search. Perfect for finding content inspiration and building a library of top-performing posts in your niche. Get top posts from any LinkedIn hashtag. Find posts matching specific keywords. Output formatted for AI voice analysis

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

John Rippy

John Rippy

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

3

Monthly active users

16 minutes ago

Last modified

Share

LinkedIn Post Scraper

Scrape viral/trending LinkedIn posts by hashtag or keyword search. Perfect for finding content inspiration and building a library of top-performing posts in your niche.

Features

  • Hashtag Scraping: Get top posts from any LinkedIn hashtag
  • Keyword Search: Find posts matching specific keywords
  • Engagement Filtering: Only get posts above your engagement thresholds
  • Author Info: Optionally includes author's followers and headline
  • Voice Training Ready: Output formatted for AI voice analysis

Use Cases

  1. Content Inspiration: Find what's working in your niche
  2. Trend Research: Track trending topics and formats
  3. Voice Training: Collect diverse writing styles for AI training
  4. Competitor Analysis: See what content performs best

Input

{
"searchType": "hashtag",
"hashtags": ["leadership", "marketing", "AI"],
"cookies": "[{\"name\":\"li_at\", ...}]",
"maxPostsPerSource": 50,
"minLikes": 100,
"minComments": 10,
"sortBy": "top",
"timeFilter": "past_week",
"includeAuthorInfo": true
}

Getting LinkedIn Cookies (Required)

If you have Multi-Factor Authentication (MFA/2FA) enabled on your LinkedIn account, you must use cookies - there's no alternative login method.

Step 1: Install a cookie export extension:

Step 2: Log into LinkedIn in your browser

Step 3: Click the cookie extension icon, then:

  • Cookie-Editor: Click "Export" → "Export as JSON"
  • EditThisCookie: Click the export button (looks like ↓)

Step 4: Paste the JSON array into the "cookies" field

The most important cookie is li_at - this is your LinkedIn session token.

Output

{
"posts": [
{
"id": "123",
"url": "https://linkedin.com/feed/update/...",
"text": "Post content...",
"likes": 1523,
"comments": 234,
"reposts": 89,
"postedAt": "2025-12-15T10:00:00Z",
"hashtags": ["leadership", "growth"],
"author": {
"name": "John Doe",
"headline": "CEO at Company",
"profileUrl": "https://linkedin.com/in/johndoe",
"followers": 50000
},
"hasImage": true,
"hasVideo": false,
"hasCarousel": false,
"hasDocument": true
}
],
"stats": {
"totalPosts": 150,
"avgLikes": 523,
"avgComments": 45,
"topAuthors": ["John Doe", "Jane Smith"],
"topHashtags": ["leadership", "growth", "mindset"]
}
}

Pricing

This actor uses pay-per-event pricing:

EventDescriptionPrice
apify-actor-startBase cost per run$0.10
post_scrapedPer post scraped$0.02
author_scrapedPer author profile (if includeAuthorInfo)$0.01

Example costs:

  • 50 posts basic: $0.10 + (50 × $0.02) = $1.10
  • 50 posts with author info: $0.10 + (50 × $0.02) + (50 × $0.01) = $1.60
  • 100 posts with author info: $0.10 + (100 × $0.02) + (100 × $0.01) = $3.10

Built by John Rippy | johnrippy.link


Keywords

linkedin post scraper, linkedin content scraper, linkedin data extraction, linkedin api, social media scraper, linkedin posts