Linkedin Profile Scraper
Pricing
from $0.01 / 1,000 results
Linkedin Profile Scraper
Scrape LinkedIn profiles and their recent posts for personal branding analysis. Perfect for building a voice profile of your LinkedIn presence or analyzing top performers in your niche.
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer

John Rippy
Actor stats
0
Bookmarked
4
Total users
1
Monthly active users
10 hours ago
Last modified
Categories
Share
LinkedIn Profile Scraper - Personal Branding & Voice Analysis
Scrape LinkedIn profiles and their recent posts for personal branding analysis. Get follower counts, engagement metrics, and post performance data. Perfect for voice training and content analysis. Features: - Profile data extraction (name, headline, about, experience) - Follower and connection counts - Recent posts with engagement metrics - Content performance analysis - Voice pattern detection - Industry and expertise identification Ideal for: - Personal branding analysis - Voice training data collection - Competitor research - Content strategy planning - Influencer identification. Built by John Rippy (https://www.linkedin.com/in/johnrippy/ | https://johnrippy.link/).
Features
- Profile Data: Followers, connections, headline, about section, experience
- Post Scraping: Recent posts with full text, engagement metrics
- Engagement Metrics: Likes, comments, reposts per post
- Comments Scraping: Get actual comment text, authors, and engagement on posts
- 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
- Content Analysis Ready: Output formatted for AI voice analysis
AI Sentiment Analysis
Enable AI-powered sentiment analysis to understand the tone and emotional appeal of a profile's content. Supports multiple 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": "anthropic","aiApiKey": "sk-ant-..."}
Quick Start
Try it first (Free - Demo Mode)
{"demoMode": true}
This returns sample data so you can see the output format without any charges.
Real scraping (Requires LinkedIn cookies)
{"profileUrls": ["https://www.linkedin.com/in/johnrippy/"],"cookies": "[paste your exported cookies here]","maxPosts": 10,"demoMode": false}
Note: LinkedIn requires authentication. See "Getting LinkedIn Cookies" below for setup 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
{"profileUrls": ["https://linkedin.com/in/username"],"cookies": "[{\"name\":\"li_at\", ...}]","maxPosts": 20,"includeComments": true,"maxCommentsPerPost": 10,"includeReactionsBreakdown": true,"enableSentimentAnalysis": true,"aiProvider": "openai","aiApiKey": "sk-your-api-key"}
Comments & Reactions Options
| Parameter | Type | Default | Description |
|---|---|---|---|
includeComments | boolean | false | Scrape top comments on each post |
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) |
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
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 Format
{"profile": {"name": "John Doe","headline": "CEO at Company","followers": 15000,"connections": 500,"about": "...","overallSentiment": {"score": 0.75,"label": "positive","confidence": 0.88,"summary": "Optimistic, motivational tone focused on leadership and growth"}},"posts": [{"id": "123","text": "Post content...","likes": 150,"comments": 23,"reposts": 5,"postedAt": "2025-12-15T10:00:00Z","reactionsBreakdown": {"total": 150,"like": 120,"celebrate": 15,"support": 8,"love": 5,"insightful": 2},"commentsList": [{"author": "Jane Smith","authorHeadline": "VP Marketing","text": "Great insights!","likes": 12,"sentiment": {"score": 0.85,"label": "positive","tone": "appreciative"}}],"sentiment": {"score": 0.72,"label": "positive","confidence": 0.90,"tone": "inspirational"}}],"stats": {"avgLikes": 145,"avgComments": 18,"postingFrequency": "3x per week"}}
Common Problems & Solutions
"I'm getting demo data instead of real profiles"
Cause: demoMode is set to true or cookies are missing/expired.
Fix: Set demoMode: false AND paste valid LinkedIn cookies.
"Invalid cookies" or "Session expired" error
Cause: Your LinkedIn session has expired or cookies were copied incorrectly. Fix:
- Log into LinkedIn again in your browser
- Re-export cookies using Cookie-Editor
- Make sure you copy the ENTIRE JSON array (starts with
[and ends with])
"Profile not found" or empty results
Cause: The profile URL is incorrect, the profile is private, or the account is restricted. Fix:
- Check the URL format:
https://www.linkedin.com/in/username/ - Make sure the profile is publicly visible
- Some profiles restrict data visibility - try a different profile
"Rate limited" or scraping stops
Cause: LinkedIn has anti-scraping measures that detect unusual activity. Fix:
- Reduce
maxPoststo 10-20 - Scrape fewer profiles per run (1-3)
- Wait 30-60 minutes between runs
- Use residential proxies if available
Pricing
This actor uses pay-per-event billing:
| Event | Description | Price |
|---|---|---|
apify-actor-start | Base cost per run | $0.10 |
profile_scraped | Per profile scraped | $0.10 |
post_scraped | Per post scraped | $0.01 |
Example costs:
- 1 profile with 10 posts: $0.10 + $0.10 + (10 × $0.01) = $0.30
- 5 profiles with 20 posts each: $0.10 + (5 × $0.10) + (100 × $0.01) = $1.60
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
- Personal Branding: Analyze your own LinkedIn content performance
- Competitor Research: Study how top performers in your niche write
- Voice Training: Collect posts to train AI on your writing style
- Content Strategy: Identify what posts perform best
Built by John Rippy | Actor Arsenal