# LinkedIn Profile Posts Scraper: Export Posts, No Login (`s_actors/linkedin-profile-posts-scraper`) Actor

Scrape the latest posts of any public LinkedIn profile without login or cookies: post text, reaction count, comment count, repost note, direct link. By profile URL or username, many profiles per run.

- **URL**: https://apify.com/s_actors/linkedin-profile-posts-scraper.md
- **Developed by:** [Superior Actors](https://apify.com/s_actors) (community)
- **Categories:** Social media, Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.95 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### LinkedIn Profile Posts Scraper: Export Posts by Profile URL, No Login

**Scrape the latest posts of any public LinkedIn profile, without login or cookies**: post text, reaction count, comment count, a repost note and a direct link to the post. Give it **profile links** (`linkedin.com/in/<name>`) or just **usernames**, as many as you like in one run.

Use cases: follow what executives, founders, competitors or creators post, build a content digest for sales and recruiting outreach, feed the latest posts of a prospect to an AI agent for a personalized first line, track engagement on a list of thought leaders. A **LinkedIn profile posts API** with clean JSON, CSV or Excel.

#### What makes it different

| | |
| --- | --- |
| 🔁 **Original post or repost, on every row** | `activityType` is `post` or `repost`, `authorHandle` names who wrote it, `repostedBy` who reposted it |
| 🙅 **Own content only** | LinkedIn's activity page also lists posts the person merely liked or commented on; those are left out and never charged |
| 💬 **Reaction and comment counts on every row** | Engagement numbers are part of the post row, no extra paid step |
| 🔤 **Link or username** | Paste `https://www.linkedin.com/in/satyanadella/` or just `satyanadella` |
| 🔒 **No account, no cookies** | Only public LinkedIn pages are read; your LinkedIn account is never used or at risk |
| 🆓 **Honest empty result** | A private profile, or one that hides recent activity from visitors who are not logged in, returns a clear note and is never charged |

#### Example

Input: `https://www.linkedin.com/in/satyanadella/`, `https://www.linkedin.com/in/williamhgates/`. Real run, 22 Nov 2026:

| Profile | Text | Reactions | Comments | Reposted by |
| --- | --- | --- | --- | --- |
| satyanadella | Bringing Salesforce to Copilot as we build Copilot as the OS for work! | 4 333 | 262 | — |
| satyanadella | Just wrapped our earnings call. It was a fast start to our fiscal year... | 14 963 | 981 | — |
| satyanadella | Microsoft's goal is to build a frontier ecosystem that enables every organization... (written by `microsoft`) | 355 | 24 | Satya Nadella |

#### Input

| Field | What it does |
| --- | --- |
| **Profiles** | One per line: a profile link (`linkedin.com/in/<name>`) or a username (`satyanadella`) |
| **Max posts per profile** | LinkedIn's guest page shows only the most recent posts without login (about 8-17); this caps how many are returned per profile (1-20) |
| **Include reposts** | On by default: also return posts the profile reposted from others (`activityType = repost`). Off = original posts only |
| **Max concurrency** | How many profiles to fetch at the same time |

#### Output

| Field | Example |
| --- | --- |
| `input` | `https://www.linkedin.com/in/satyanadella/` |
| `postUrn`, `postUrl` | `urn:li:activity:7528885100705402880`, a direct link to the post |
| `text` | The post's own text |
| `reactions`, `comments` | 4333, 262 |
| `activityType`, `authorHandle` | `post` (their own) or `repost`; who wrote the post, e.g. `satyanadella`, `microsoft` |
| `repostedBy` | The profile owner on a repost, empty for an original post |
| `sourceUrl`, `checkedAt` | The profile page that was read, 2026-11-22T20:06:11+00:00 |

A profile with no public posts returns no rows and is not charged. An input that is not a LinkedIn profile returns a free row with `input` and `error`.

#### Pricing

Pay per event: **$0.001** per run and **$0.00119** per post (**$1.19 per 1 000 posts**). Apify Scale plan: $1.071 per 1 000, Business plan and above: $0.952 per 1 000. A profile with no public posts is free.

| Example | Cost |
| --- | --- |
| 10 profiles, ~10 posts each | ~$0.12 |
| 100 profiles, ~10 posts each | ~$1.19 |
| 1 000 posts | ~$1.19 |

#### FAQ

**Why did a profile return no posts?** Three honest reasons, none of them an error: the profile has no public posts, it is private, or its owner turned off showing activity to people who are not logged in (a LinkedIn privacy setting some public figures use). None of these are charged.

**Can it go further back than the newest 8-17 posts?** No. LinkedIn's guest (not-logged-in) page only shows the most recent posts and does not page further without a login.

**Why are likes not included?** A profile's activity page mixes the person's posts with posts they only liked or commented on. Those belong to other authors, so they are left out (and never charged); only own posts and reposts are returned.

**Can it search posts by keyword, or list who liked or commented?** No: LinkedIn's search and reaction lists need a login, so this Actor does not offer them.

**Do I need a LinkedIn account or cookies?** No. Only public profile pages are read, without login.

**What about company pages?** Use LinkedIn Company Posts Scraper for company page links; for company data such as exact employee count see [LinkedIn Company Scraper](https://apify.com/s_actors/linkedin-company-scraper).

#### Tips

- Schedule it daily or weekly on a short list of executives or competitors to build a content digest.
- Feed `text` and `postUrl` straight into an LLM prompt to write a personalized outreach line about someone's latest post.

# Actor input Schema

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

One per line: a LinkedIn profile link (linkedin.com/in/<name>) or just the username (satyanadella). Profiles that are private, or that hide recent activity from visitors who are not logged in, return no posts (a LinkedIn setting, not an error).

## `maxPostsPerProfile` (type: `integer`):

LinkedIn's own guest page shows only the most recent posts (about 8-17, it does not page further without login); this caps how many of them are returned per profile.

## `includeReposts` (type: `boolean`):

Also return posts the profile or page reposted from others (row field activityType = repost, repostedBy = who reposted). Turn off for original posts only. Likes and comments on other people's posts are never returned.

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

How many profiles to fetch at the same time. Lower it if you see more failed ones.

## Actor input object example

```json
{
  "profiles": [
    "https://www.linkedin.com/in/satyanadella/",
    "https://www.linkedin.com/in/williamhgates/"
  ],
  "maxPostsPerProfile": 10,
  "includeReposts": true,
  "maxConcurrency": 5
}
```

# Actor output Schema

## `overview` (type: `string`):

One row per post: text, reactions, comments, link.

## `all` (type: `string`):

Every field of every row.

# 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 = {
    "profiles": [
        "https://www.linkedin.com/in/satyanadella/",
        "https://www.linkedin.com/in/williamhgates/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("s_actors/linkedin-profile-posts-scraper").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 = { "profiles": [
        "https://www.linkedin.com/in/satyanadella/",
        "https://www.linkedin.com/in/williamhgates/",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("s_actors/linkedin-profile-posts-scraper").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 '{
  "profiles": [
    "https://www.linkedin.com/in/satyanadella/",
    "https://www.linkedin.com/in/williamhgates/"
  ]
}' |
apify call s_actors/linkedin-profile-posts-scraper --silent --output-dataset

```

## MCP server setup

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

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/Mws6Rl0T872gKNoZQ/builds/Z1NKMSBrmlRogXzFu/openapi.json
