# LinkedIn Posts Scraper 💰 $1/1K · Commenters · No Login (`first-penguin/linkedin-posts-scraper-commenters`) Actor

Scrape public LinkedIn posts with no login from company pages, profiles, post URLs or keywords: full text, author, exact date, reactions, comment count, plus the people who commented (name, profile URL, comment). Only new posts mode alerts Slack, Discord or webhooks. Failed inputs are free.

- **URL**: https://apify.com/first-penguin/linkedin-posts-scraper-commenters.md
- **Developed by:** [First Penguin](https://apify.com/first-penguin) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 posts

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### What does LinkedIn Posts Scraper do?

Give it **LinkedIn company pages, personal profiles, post URLs or keywords** and get **one row per public post**: full text, author, exact date, reactions, comment count, reaction types and media. No LinkedIn account, no cookies.

Turn on **Get commenters** to also get **the people and companies who commented** on each post (name, profile URL, comment text, when) – a ready list of people who just showed interest in a topic.

Turn on **Only new posts** and schedule it to get **only posts you have not seen before**, sent to **Slack, Discord or any webhook** (Zapier, Make, n8n).

Inputs that cannot be read come back as a free row with the reason, so you always know why something is missing.

#### Know the limits first (no login)

- **Company and personal pages: about the 10 most recent posts.** That is what LinkedIn shows logged-out visitors. Older posts are not available.
- **Personal profiles: many people hide their profile from logged-out visitors** (about half of randomly chosen profiles in our tests). Those return `unavailable` and are free. Creators and active posters are usually visible.
- **Keywords: about 10 posts per keyword**, found through Google (LinkedIn's own search needs a login). Results are not sorted by date. Use several keyword variations for more.
- **Commenters: up to about 10 per post** – the comments LinkedIn shows on the public post page. The full comment list and the list of people who reacted need a login and are not available.

### Who uses it, and for what

| Who | What for | What to turn on |
|---|---|---|
| **Sales, agencies, founders** | Reach out to prospects while they are talking about a topic. Turn people who comment on a post into leads. | `searchQueries` or `companies` + **Get commenters** |
| **Competitive monitoring** | Get every new post from 10 competitors each morning in Slack. | `companies` + **Only new posts** + Slack webhook + Schedule |
| **Marketers, social listening** | Find public posts about your brand, competitor or topic. | `searchQueries` |
| **Ghostwriters and creators** | Study what top voices post and what gets engagement. | `profiles` |
| **Automations and AI agents** | Read a post's text and comments from n8n, Make, Zapier or an LLM. | `posts` |

### How it works

1. **Give inputs** – company URLs or names, profile URLs, post URLs or IDs, keywords. Duplicates are removed, so you never pay twice.
2. **Read public pages** – the company or profile page lists recent posts. The post page is opened only when needed (text cut off, commenters requested, or a post/keyword input). The post date comes from the post ID, so **posts outside your date range are skipped before they are opened and are not billed**.
3. **One row per post** – on profiles, posts the person only liked or reposted are left out by default. Every input that returned nothing gets a free row with a `reason`.

### How is it different?

| | This Actor | Typical LinkedIn post Actor |
|---|---|---|
| Login / cookies | Not needed ✅ | Not needed ✅ |
| **People who commented** | Name, profile URL and text, ~10 per post ✅ | Needs a separate Actor, or not returned ❌ |
| Only new posts | Returns only posts you have not seen ✅ | Returns everything every time ❌ |
| New-post alerts | Slack, Discord, webhook ✅ | None ❌ |
| Inputs | Companies, profiles, posts and keywords in one run ✅ | Often one input type per Actor |
| When something is missing | A reason per input, free ✅ | A count in the log, or nothing ❌ |
| Posts the person only reacted to | Left out by default ✅ | Mixed in |
| Posts per page or keyword | About 10 ❌ | Some promise full history (logged-in scraping) ✅ |

### Pricing

| | Price |
|---|---|
| Post returned | **$1 per 1,000 posts** |
| Commenter (only with Get commenters) | $1 per 1,000 commenters |
| Keyword searched | $0.01 per keyword |
| Actor start | $0.00005 |
| Inputs not returned, posts seen before, posts outside the date range | **Free** |

1,000 posts cost at most $1 (plus commenters if you turn them on).

### Input

| Field | What it does |
|---|---|
| `companies` | Company page URLs or names (`hubspot`) |
| `profiles` | Profile URLs (`linkedin.com/in/username`) |
| `posts` | Post URLs or IDs |
| `searchQueries` | Keywords (searched on Google, ~10 posts each) |
| `maxPostsPerSource` | Max posts per company, profile or keyword (default 10) |
| `maxItems` | Max posts in total (default 1,000) |
| `dateFrom` / `dateTo` | Only posts in this date range |
| `includeCommenters` | Also return commenters (billed per commenter) |
| `includeOthersPosts` | On profiles, also return posts the person only reacted to or reposted |
| `onlyNewPosts` / `monitorName` | Monitoring: only posts not returned before |
| `slackWebhookUrl`, `discordWebhookUrl`, `webhookUrl` | Where to send new posts |

Smallest input:

```json
{ "companies": ["hubspot"] }
```

Sales example – posts about a topic and the people who commented:

```json
{ "searchQueries": ["AI agents", "RevOps"], "includeCommenters": true, "dateFrom": "2026-01-01" }
```

Monitoring example – put this on a daily Schedule:

```json
{ "companies": ["competitor-a", "competitor-b"], "onlyNewPosts": true, "monitorName": "competitors", "slackWebhookUrl": "https://hooks.slack.com/services/..." }
```

### Output

| Input | You get | You don't get |
|---|---|---|
| Company page | The ~10 most recent posts | Older posts |
| Profile | The person's own recent posts, if the profile is public | Hidden profiles (`unavailable`), older posts |
| Post URL / ID | Text, author, date, reactions, reaction types, comment count, commenters (~10) | People who reacted, all comments |
| Keyword | ~10 posts found on Google | A complete, date-sorted feed |

Example row (fictional data):

```json
{
  "status": "ok",
  "postId": "7528801289783361536",
  "postUrl": "https://www.linkedin.com/posts/jane-example_hello-activity-7528801289783361536-AbCd",
  "postedAt": "2026-11-18T12:48:25.847Z",
  "text": "We just launched our new onboarding flow...",
  "textTruncated": false,
  "author": { "name": "Jane Example", "url": "https://www.linkedin.com/in/jane-example", "type": "person" },
  "reactions": 321,
  "comments": 12,
  "reactionTypes": ["LIKE", "PRAISE", "EMPATHY"],
  "media": "image",
  "commenters": [
    { "name": "Max Muster", "profileUrl": "https://www.linkedin.com/in/max-muster", "type": "person", "headline": null, "text": "Congrats, looks great!", "relativeTime": "5h" }
  ],
  "source": { "type": "profile", "input": "https://www.linkedin.com/in/jane-example" },
  "detailsFromPostPage": true,
  "isNew": null,
  "scrapedAt": "2026-11-19T10:00:00.000Z"
}
```

A free row for an input that could not be read:

```json
{ "status": "failed", "reason": "unavailable", "detail": "LinkedIn refused the page repeatedly to logged-out visitors...", "source": { "type": "profile", "input": "linkedin.com/in/someone" } }
```

Reasons: `unavailable`, `not_found`, `post_unavailable`, `login_wall`, `no_recent_posts`, `no_public_posts`, `no_search_results`, `numeric_id_needs_login`, `not_a_company_url`, `not_a_profile_url`, `not_a_post_url`, `invalid_input`.

`RUN_SUMMARY` (key-value store) shows pages read, posts seen and saved, and how many were skipped as seen before, out of the date range or someone else's post.

### Only new posts (monitoring)

- Post IDs already returned are stored **only in your own Apify account** (a named key-value store per `monitorName`). Nothing is kept on the developer's side.
- Posts seen before are skipped before they are opened – free. Older posts that LinkedIn did not show last time (its logged-out page shows a slightly different set of recent posts each time) are not reported as new: only posts newer than the newest post seen before for that company, profile or keyword (with a 2-day grace period).
- When there are new posts, one message per run goes to Slack, Discord or your webhook (not on the first run, when everything is new). If sending fails, the error is in `RUN_SUMMARY.notifyErrors` and the data is still saved.
- Combine with an Apify Schedule (daily or hourly).

### Measured results

Tested on Apify in November 2026 with no login. Companies and part of the profiles were picked at random from Wikidata; keywords were generic topics.

| Input | Tried | Result |
|---|---|---|
| Company pages | 20 | 16 read (2 refused by LinkedIn, free). 14 had recent posts: **140 posts**, 10 each. 4 showed no recent posts (free row with the reason). |
| Personal profiles | 10 | 6 returned posts (**38 posts**, all by the person – 22 posts they only reacted to were left out). 4 hidden from logged-out visitors (free). Random profiles: 1 of 5. Active posters: 5 of 5. |
| Post URLs / IDs | 4 | 3 returned. 1 ID that does not exist came back as a free row with the reason. |
| Keywords | 3 | 10 posts each (posted 2023–2026, not sorted by date) |
| Commenters | 211 posts | **538 commenters** (508 people, 30 companies) on 117 posts, all with profile URL and comment text |

Every returned post had the date, reactions and comment count; 209 of 211 had text (2 image posts had no caption).

Monitoring test: 10 companies, first run 100 posts. After marking 3 posts as unseen, the next run returned exactly those 3 and skipped 101 for free.

### FAQ

**Why did some inputs return nothing?** LinkedIn hides some pages from logged-out visitors. You get a row with the reason and are not charged. Try again later, or pass post URLs directly.

**Why only about 10 posts per company or profile?** That is what LinkedIn shows logged-out visitors. Run it on a schedule with Only new posts to build up history from now on.

**Why only about 10 posts per keyword?** Keywords are searched on Google, which returns about 10 LinkedIn posts per keyword. Use variations (`"AI agents" hiring`, `"AI agents" startup`).

**Why are some fields empty?** The author hid reaction counts, the post is a video with a short caption, or the text was cut off and the post page could not be opened (`textTruncated: true`, not billed).

**Why don't I get all comments?** The public post page shows about 10 comments. The rest need a login.

**Can my LinkedIn account get restricted?** No. No account is used.

### Use with AI agents

Callable through the [Apify MCP server](https://mcp.apify.com) from Claude and other agents. No LinkedIn login. Minimal input: `{"posts": ["<post URL>"], "includeCommenters": true}`. One row per post, billed per post (and per commenter if on).

### Support & feature requests

Found a bug, a missing field, or need another field or integration? Open an issue in the **Issues** tab. We add it to this Actor so you can use it right here on Apify. We aim to reply within one working day.

### Disclaimer

This Actor reads only what LinkedIn shows logged-out visitors. Results contain personal data (names of authors and commenters). You are responsible for having a lawful basis to process it (GDPR and similar laws) and for following anti-spam rules if you contact people. The developer does not store your results and is not the controller of your data. This Actor is not affiliated with or endorsed by LinkedIn.

### Keywords

linkedin posts scraper, linkedin post scraper, linkedin post commenters, linkedin comments scraper, linkedin post search, linkedin company posts, linkedin profile posts, linkedin new post alert, linkedin post monitor, linkedin scraper no login, linkedin scraper no cookies, linkedin engagement data, linkedin leads from comments

### Related Actors

- [LinkedIn Profile Scraper](https://apify.com/first-penguin/linkedin-profile-scraper-monitor) – profiles with change alerts
- [LinkedIn Company Scraper](https://apify.com/first-penguin/linkedin-company-scraper-monitor) – company data with change alerts
- [LinkedIn Jobs Scraper](https://apify.com/first-penguin/linkedin-jobs-scraper-alerts) – jobs with new-job alerts

# Actor input Schema

## `companies` (type: `array`):

LinkedIn company page URLs or the name in the URL, e.g. https://www.linkedin.com/company/hubspot/ or hubspot. Returns the company's recent posts (about 10, what LinkedIn shows logged-out visitors).

## `profiles` (type: `array`):

LinkedIn profile URLs, e.g. https://www.linkedin.com/in/username. Returns the person's own recent posts. LinkedIn hides many profiles from logged-out visitors; those come back with a reason and are free.

## `posts` (type: `array`):

LinkedIn post URLs (linkedin.com/posts/... or /feed/update/urn:li:activity:...) or plain post IDs. Works for any public post.

## `searchQueries` (type: `array`):

Topics, brands or competitor names. Finds public LinkedIn posts through Google (LinkedIn is not searched directly), about 10 posts per keyword, not sorted by date. Use several variations for more.

## `maxPostsPerSource` (type: `integer`):

Logged-out visitors see about 10 recent posts per page, so higher values rarely return more.

## `maxItems` (type: `integer`):

Stop the run after this many posts. You are never billed for more.

## `dateFrom` (type: `string`):

YYYY-MM-DD. Posts outside the range are skipped before they are opened and are not billed.

## `dateTo` (type: `string`):

YYYY-MM-DD (inclusive).

## `includeCommenters` (type: `boolean`):

Open each post and return the people and companies who commented (name, profile URL, comment text, when), up to the ~10 comments LinkedIn shows on the public post page. Billed per commenter.

## `includeOthersPosts` (type: `boolean`):

A profile's activity also lists other people's posts the person liked, commented on or reposted. Off: only the person's own posts.

## `onlyNewPosts` (type: `boolean`):

Return only posts not returned by earlier runs with the same monitor name. Posts seen before are skipped for free. Put this on a schedule. The list of seen post IDs is stored in your own Apify account only.

## `monitorName` (type: `string`):

Keeps separate 'seen' lists for different monitors, e.g. competitors or prospects.

## `slackWebhookUrl` (type: `string`):

With Only new posts: one Slack message per run listing the new posts. Not sent on the first run.

## `discordWebhookUrl` (type: `string`):

With Only new posts: one Discord message per run.

## `webhookUrl` (type: `string`):

With Only new posts: one POST per run with the new posts as JSON.

## `maxConcurrency` (type: `integer`):

Pages read in parallel.

## `proxyConfiguration` (type: `object`):

Residential proxy is used by default for LinkedIn. Google searches always use Apify's Google SERP proxy.

## Actor input object example

```json
{
  "companies": [
    "hubspot"
  ],
  "maxPostsPerSource": 10,
  "maxItems": 1000,
  "includeCommenters": false,
  "includeOthersPosts": false,
  "onlyNewPosts": false,
  "monitorName": "default",
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `posts` (type: `string`):

One row per post, plus one free row per input that could not be read (with the reason).

## `summary` (type: `string`):

Pages read, posts seen and saved, posts skipped (seen before, out of date range, someone else's post) and why inputs were not returned.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "companies": [
        "hubspot"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("first-penguin/linkedin-posts-scraper-commenters").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "companies": ["hubspot"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("first-penguin/linkedin-posts-scraper-commenters").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "companies": [
    "hubspot"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call first-penguin/linkedin-posts-scraper-commenters --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,first-penguin/linkedin-posts-scraper-commenters"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/t5RSSGzIagwRTeelJ/builds/ZBOJtkb7sxQrabrDE/openapi.json
