LinkedIn Post Scraper
"Find Viral LinkedIn Content in Any Niche" 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 →
---
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:- Cookie-Editor by Moustachauve - Clean interface, supports Chrome/Firefox/Edge/Safari
- EditThisCookie by Francesco Capano - Chrome extension, classic choice
- Cookie-Editor: Click "Export" → "Export as JSON"
- EditThisCookie: Click the export button (looks like ↓)
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:
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 →
---
Keywords
linkedin post scraper, linkedin content scraper, linkedin data extraction, linkedin api, social media scraper, linkedin posts