AI Linkedin Post Scraper
Pricing
from $0.01 / 1,000 results
AI 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. 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
Actor stats
0
Bookmarked
34
Total users
22
Monthly active users
2 days ago
Last modified
Categories
Share
LinkedIn Post Scraper - Viral Content & Trending Topics
Scrape viral and trending LinkedIn posts by hashtag or keyword. Find top-performing content for inspiration and voice training. Features: - Search posts by hashtag or keyword - Filter by engagement metrics - Get full post content and reactions - Analyze content patterns - Identify viral hooks and formats - Track trending topics Data Collected: - Post text and media - Reaction counts (likes, comments, shares) - Author profile info - Post date and time - Hashtags used - Content format (text, image, video, carousel) Ideal for: - Content inspiration - Voice training data - Trend analysis - Competitive research - Content strategy. Built by John Rippy (https://www.linkedin.com/in/johnrippy/ | https://johnrippy.link/).
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
- Comments Scraping: Get actual comment text, authors, and engagement
- Reactions Breakdown: Detailed breakdown by reaction type (like, celebrate, support, love, insightful, funny)
- AI Sentiment Analysis: Analyze post and comment sentiment with your choice of AI provider
- Voice Training Ready: Output formatted for AI voice analysis
AI Sentiment Analysis + Emotional Intelligence (Foreplay-Inspired)
Enable AI-powered sentiment analysis to understand the tone, emotional appeal, and persuasion techniques of posts and comments. Now includes Foreplay-inspired emotional intelligence for deeper creative analysis:
What's Analyzed
| Field | Description | Example Values |
|---|---|---|
score | Sentiment score (-1 to 1) | 0.72 |
label | Classification | positive, neutral, negative |
tone | Primary tone | professional, inspirational, humorous |
emotionalTriggers | Emotional hooks used | fear, urgency, curiosity, fomo, aspiration |
persuasionTechniques | Persuasion methods | scarcity, authority, storytelling, social_proof |
targetEmotions | Emotions content aims to evoke | excited, inspired, motivated, empowered |
Supported Providers
| Provider | Model | Best For |
|---|---|---|
| OpenAI | GPT-4o-mini | Fast, affordable analysis |
| Anthropic | Claude Haiku | Nuanced understanding |
| Gemini Flash | Cost-effective at scale | |
| Mistral | Mistral Small | European data residency |
| Cohere | Command-R | Enterprise deployments |
{"enableSentimentAnalysis": true,"aiProvider": "openai","aiApiKey": "sk-..."}
Quick Start
Try it first (Free - Demo Mode)
{"demoMode": true}
This returns sample viral posts so you can see the output format without any charges.
Scrape by Hashtag (Requires LinkedIn cookies)
{"searchType": "hashtag","hashtags": ["marketing", "leadership"],"cookies": "[paste your exported cookies here]","maxPostsPerSource": 20,"minLikes": 50,"demoMode": false}
Scrape by Keyword Search
{"searchType": "keyword","keywords": ["AI marketing trends"],"cookies": "[paste your exported cookies here]","maxPostsPerSource": 20,"demoMode": false}
Note: LinkedIn requires authentication. You'll need to export cookies from your browser - see the LinkedIn Profile Scraper documentation for cookie export instructions.
Demo Mode
Set demoMode: true to test with sample data (no charges). When you're ready for real results, set demoMode: false or omit it.
{"demoMode": true,...}
Input Parameters
{"searchType": "hashtag","hashtags": ["leadership", "marketing", "AI"],"cookies": "[{\"name\":\"li_at\", ...}]","maxPostsPerSource": 50,"minLikes": 100,"minComments": 10,"sortBy": "top","timeFilter": "past_week","includeAuthorInfo": true,"includeCommentText": true,"maxCommentsPerPost": 10,"includeReactionsBreakdown": true,"enableSentimentAnalysis": true,"aiProvider": "openai","aiApiKey": "sk-your-api-key"}
Comments & Reactions Options
| Parameter | Type | Default | Description |
|---|---|---|---|
includeCommentText | boolean | false | Scrape actual comment text and authors |
maxCommentsPerPost | integer | 10 | Max comments to scrape per post (1-50) |
includeReactionsBreakdown | boolean | false | Get breakdown by reaction type |
AI Sentiment Options
| Parameter | Type | Default | Description |
|---|---|---|---|
enableSentimentAnalysis | boolean | false | Enable AI sentiment analysis |
aiProvider | string | "none" | AI provider: openai, anthropic, google, mistral, cohere |
aiApiKey | string | - | Your AI provider API key |
aiModel | string | - | Custom model override (optional) |
Output Format
{"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,"reactionsBreakdown": {"total": 1523,"like": 1200,"celebrate": 150,"support": 80,"love": 50,"insightful": 35,"funny": 8},"commentsList": [{"author": "Jane Smith","authorHeadline": "VP Marketing","text": "Great insights!","likes": 45,"sentiment": {"score": 0.85,"label": "positive","confidence": 0.92,"tone": "appreciative"}}],"sentiment": {"score": 0.72,"label": "positive","confidence": 0.88,"summary": "Inspirational leadership advice with urgency to take action","tone": "motivational","emotionalTriggers": ["aspiration", "urgency", "social_proof"],"persuasionTechniques": ["storytelling", "authority", "future_pacing"],"targetEmotions": ["inspired", "motivated", "empowered"]},"overallCommentSentiment": {"score": 0.78,"label": "positive","confidence": 0.85}}],"stats": {"totalPosts": 150,"avgLikes": 523,"avgComments": 45,"topAuthors": ["John Doe", "Jane Smith"],"topHashtags": ["leadership", "growth", "mindset"]}}
Common Problems & Solutions
"I'm getting demo data instead of real posts"
Cause: demoMode is set to true or cookies are missing/expired.
Fix: Set demoMode: false AND paste valid LinkedIn cookies.
"No posts found" for my hashtag
Cause: The hashtag might be spelled wrong, have low volume, or cookies are invalid. Fix:
- Check hashtag spelling (without the #)
- Try a more popular hashtag like "marketing" or "leadership"
- Re-export your LinkedIn cookies
"Session expired" or cookie errors
Cause: LinkedIn sessions expire periodically. Fix: Log into LinkedIn again and re-export your cookies.
Posts seem outdated or limited
Cause: LinkedIn limits how far back you can search. Fix:
- Use
timeFilter: "past_week"for recent posts - Lower
maxPostsPerSource(LinkedIn may limit older results) - Some hashtags have less content than others
Pricing
This actor uses pay-per-event billing:
| Event | Description | Price |
|---|---|---|
apify-actor-start | Base cost per run | $0.10 |
post_scraped | Per post scraped | $0.02 |
author_scraped | Per 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
🏆 2025 Zapier Automation Hero of the Year — Project Phoenix: A 95-step AI sales pipeline cutting development time by 50%. Read more →
Use Cases
- Content Inspiration: Find what's working in your niche
- Trend Research: Track trending topics and formats
- Voice Training: Collect diverse writing styles for AI training
- Competitor Analysis: See what content performs best
Built by John Rippy | Actor Arsenal