LinkedIn Comments Scraper — Post Leads & Discussions avatar

LinkedIn Comments Scraper — Post Leads & Discussions

Pricing

$0.25 / 1,000 scraped linkedin comment leads

Go to Apify Store
LinkedIn Comments Scraper — Post Leads & Discussions

LinkedIn Comments Scraper — Post Leads & Discussions

Extract LinkedIn post comments, author names, profile URLs, job headlines, and lead-magnet replies without a browser on 256MB RAM.

Pricing

$0.25 / 1,000 scraped linkedin comment leads

Rating

0.0

(0)

Developer

Hector

Hector

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

LinkedIn Comments Scraper — Post Leads & Discussions Official Logo

LinkedIn Comments Scraper — Post Leads & Discussions

LinkedIn Comments Scraper extracts structured LinkedIn Comments records, B2B lead metadata, and canonical URLs in real time. Built on a zero-browser HTTP/2 engine running in 256 MB RAM, it delivers clean datasets with zero null fields ready for CSV, Excel, JSON, or API pipelines.

Looking for related LinkedIn scrapers? Check out LinkedIn Jobs Scraper, LinkedIn Company Scraper, LinkedIn Posts Scraper, LinkedIn Profile Scraper, or browse our full catalog on Apify.


What does LinkedIn Comments Scraper do?

Extract LinkedIn post comments, author names, profile URLs, job headlines, and lead-magnet replies without a browser on 256MB RAM.

  • 1-Click Ready Execution: Pre-filled defaults allow instant testing from the Apify Console without manual setup.
  • Zero-Browser 256 MB Architecture: Uses pure Node.js HTTP/2 and Cheerio HTML/JSON-LD parsing — no heavy Chromium instances.
  • Multi-Format Export: Download normalized datasets in JSON, CSV, Excel (XLSX), XML, or HTML Table.
  • Optional BYOC Session Support: Works out-of-the-box in zero-cookie public mode, with optional li_at cookie support for deeper authenticated pagination.

Beyond the Official LinkedIn API

  • No Partner App Approvals: Start extracting public LinkedIn Comments data immediately without restrictive LinkedIn Marketing Developer approvals.
  • Predictable Pay-Per-Event Pricing: Priced at $0.00025 per record ($0.25 / 1,000 items — up to 10x cheaper than leading alternatives at $2.50 / 1K), with your 1st run 100% free.

What data can you scrape from LinkedIn Comments?

Comment ID (commentId)Post URL (postUrl)Post Author Name (postAuthorName)
Author Name (authorName)Author Profile URL (authorProfileUrl)Author Headline (authorHeadline)
Comment Text (commentText)Word Count (wordCount)Likes Count (likesCount)
Created At (createdAt)Is Author Reply (isAuthorReply)Scraped At (scrapedAt)
Data CategoryExtracted Fields & Data Points
Core Record & IdentitycommentId, postUrl, postAuthorName, authorName
Context & MetricsauthorProfileUrl, authorHeadline, commentText, wordCount
Links & TimestampslikesCount, createdAt, isAuthorReply, scrapedAt

Why scrape LinkedIn Comments? (Typical Use Cases)

  • Lead Magnet Harvesting: Extract every prospect who commented "GUIDE", "AI", or "INTERESTED" on viral B2B posts for instant social selling.
  • Competitor Audience Poaching: Monitor comments on competitors' product launches and extract decision makers asking questions.
  • Outreach Personalization (Clay / HubSpot): Pipe commenter names, profile URLs, and exact comment text into AI personalization sequences.
  • Community Sentiment & Voice-of-Customer: Analyze hundreds of LinkedIn discussions to uncover recurring pain points and feature requests.
  • AI Agents, RAG & Automated Workflows: Connect live comment streams to Make.com, n8n, Zapier, or Claude via the Apify MCP Server.

How to scrape LinkedIn Comments data

  1. Open the Input tab in the Apify Console — realistic default values are already pre-filled for a 1-Click Run.
  2. Customize your targets (URLs, keywords, filters, or optional sessionCookie) or keep the defaults to test immediately.
  3. Click Start — the actor executes in seconds on 256 MB RAM.
  4. Export or integrate your dataset as JSON, CSV, Excel, or connect via Make, Zapier, n8n, REST API, or MCP Server.

⬇️ Input Configuration & Examples

ParameterTypeDefaultDescription
postUrlsarray["https://www.linkedin.com/posts/artificial-intelligence2026_most-people-are-using-generative-ai-but-ugcPost-7515590415371296768-mFTg"]Direct URLs of LinkedIn posts to extract comments and commenter leads from.
maxItemsinteger50Maximum number of comments to return across all target posts.
searchTopicstring""Optional topic or keyword to automatically discover public LinkedIn posts and harvest their comments.
filterKeywordstring""Only return comments containing this keyword or lead-magnet trigger (e.g., 'GUIDE', 'interested', 'AI').
minWordCountinteger0Skip ultra-short comments below this word count threshold.
onlyWithBiobooleanfalseFilter out anonymous or unlinked comments without a verifiable profile URL or headline.
includeAuthorRepliesbooleantrueKeep replies posted by the original post author in the dataset.
sessionCookiestring"" (Secret)Optional 'li_at' cookie for deep paginated comment extraction via authenticated Voyager API. Leave empty for zero-cookie mode.
proxyConfigurationobject""Optional Apify Proxy configuration for high-volume extraction.
maxExecutionTimeSecsinteger75Safety timeout in seconds (15 to 90s) to protect compute budget.

Example 1: 1-Click Quick Start

{
"postUrls": [
"https://www.linkedin.com/posts/artificial-intelligence2026_most-people-are-using-generative-ai-but-ugcPost-7515590415371296768-mFTg"
],
"maxItems": 50
}

Example 2: Targeted B2B Filtering

{
"searchTopic": "B2B SaaS growth",
"filterKeyword": "GUIDE",
"minWordCount": 3,
"onlyWithBio": true,
"maxItems": 200
}

⬆️ Output Example (Table View, JSON & Fields Reference)

Table View (CSV / Excel Preview)

Author NameAuthor HeadlineComment TextLikes CountAuthor Profile URL
Edward VargasLinkedIn MemberAt Synov Gloo, we address this through rol2https://co.linkedin.com/in/edwardvargas-sc

JSON Output Example

{
"commentId": "cmt_b6c0352fd882",
"postUrl": "https://www.linkedin.com/posts/artificial-intelligence2026_most-people-are-using-generative-ai-but-ugcPost-7515590415371296768-mFTg",
"postAuthorName": "Artificial intelligence",
"authorName": "Edward Vargas",
"authorProfileUrl": "https://co.linkedin.com/in/edwardvargas-scm",
"authorHeadline": "LinkedIn Member",
"commentText": "At Synov Gloo, we address this through role-based and document-level permissions and a controlled gateway to AWS Bedrock.",
"wordCount": 20,
"likesCount": 2,
"createdAt": "1mo",
"isAuthorReply": false,
"hasProfileLink": true,
"scrapedAt": "2026-11-13T08:52:27.269Z"
}

Output Fields Reference

FieldTypeDescription
commentIdstringUnique identifier of the comment
postUrlstringCanonical URL of the LinkedIn post
postAuthorNamestringAuthor of the parent LinkedIn post
authorNamestringFull name of the commenter
authorProfileUrlstringDirect LinkedIn profile or company URL of the commenter
authorHeadlinestringProfessional headline or role of the commenter
commentTextstringFull text content of the comment
wordCountintegerNumber of words in the comment
likesCountintegerNumber of reactions/likes on the comment
createdAtstringISO timestamp or relative age of the comment
isAuthorReplybooleanWhether the comment was posted by the original post author
scrapedAtstringISO timestamp of extraction

ActorSlugPrimary Use Case
LinkedIn Jobs Scraperrbbscrap/linkedin-jobs-scraperExtract job listings, salaries, company metadata, and apply URLs.
LinkedIn Company Scraperrbbscrap/linkedin-company-scraperExtract firmographics, headcount, industry, headquarters, and websites.
LinkedIn Posts Scraperrbbscrap/linkedin-posts-scraperSearch and extract LinkedIn posts, engagement metrics, and media links.
LinkedIn Profile Scraperrbbscrap/linkedin-profile-scraperExtract personal bios, career history, education, and corporate email patterns.
LinkedIn Reactions Scraperrbbscrap/linkedin-reactions-scraperExtract post likers, reaction types, headlines, and warm B2B leads.
LinkedIn Events Scraperrbbscrap/linkedin-events-scraperScrape B2B webinars, schedules, speaker lists, and organizer links.

⚠️ Error Items & Resilience Reference

LinkedIn Comments Scraper is built with fail-fast timeout guards and graceful per-target isolation so a single unavailable or authwalled URL never crashes an entire batch.

Status / BehaviorMeaningResolution
OKTarget extracted and normalizedRecord pushed cleanly with zero null fields
EMPTY_RESULTSFilters matched 0 itemsBroaden filterKeyword / jobTitleFilters or increase maxItems
INVALID_TARGETMalformed URL skipped gracefullyVerify URL format in input; remaining batch items continue
AUTHWALL_FALLBACKGuest page restricted by LinkedInAutomatic SERP/JSON-LD fallback triggered, or supply optional sessionCookie

❓ Frequently Asked Questions (FAQ)

How much does scraping LinkedIn Comments cost?

LinkedIn Comments Scraper uses transparent PAY_PER_EVENT pricing (comment-scraped) at $0.00025 per item ($0.25 per 1,000 records — far below standard $2.50/1K tools). Your very first run on Apify is 100% free ($0.00 event charges), and Apify's Free Plan includes $5/month in platform credits. See Apify Pricing.

Can I integrate LinkedIn Comments Scraper with Make, Zapier, n8n, or Google Sheets?

Yes. Every run produces a structured dataset that connects natively via Apify Integrations to Make.com, Zapier, n8n, Clay, HubSpot, Airtable, and Google Sheets, or triggers webhooks upon completion.

Can I use LinkedIn Comments Scraper with the Apify API (Python & Node.js)?

Yes. Call the actor programmatically with the official apify-client SDK:

Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("rbbscrap/linkedin-comments-scraper").call(run_input={"postUrls":["https://www.linkedin.com/posts/artificial-intelligence2026_most-people-are-using-generative-ai-but-ugcPost-7515590415371296768-mFTg"],"maxItems":50})
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items)

Node.js (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_API_TOKEN' });
const run = await client.actor('rbbscrap/linkedin-comments-scraper').call({"postUrls":["https://www.linkedin.com/posts/artificial-intelligence2026_most-people-are-using-generative-ai-but-ugcPost-7515590415371296768-mFTg"],"maxItems":50});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

Can I use LinkedIn Comments Scraper as an MCP Server (Claude, Cursor, AI Agents)?

Yes. Connect LinkedIn Comments Scraper directly to Claude Desktop, Cursor, or Windsurf using the Apify MCP Server to invoke scraping tools in natural language.

Do I need residential proxies or login cookies?

No. LinkedIn Comments Scraper runs on a lightweight Zero-Browser HTTP/2 engine (256 MB RAM) and works in zero-cookie public mode by default. For high-volume automation or member-only pagination, you can optionally configure Apify Proxy or pass your own li_at cookie in the sessionCookie field.

This scraper only processes publicly accessible web pages and metadata (or data you are authorized to view when supplying your own session cookie). Personal data is governed by GDPR (EU Regulation 2016/679) and applicable regional privacy laws — always ensure you have a legitimate legal basis for processing personal profiles.

Need help, custom features, or found an issue?

Please open a ticket directly on the actor's Issues tab in the Apify Console.