# LinkedIn Profile Posts Scraper (`deepmine/linkedin-profile-posts`) Actor

Get a LinkedIn member's post history with no login or cookies: the newest posts from the profile, then every older post the web archive saved (often hundreds, years back, for well-known people), each one marked. Text, date, reactions, comments, images and reposts as JSON, CSV or Excel.

- **URL**: https://apify.com/deepmine/linkedin-profile-posts.md
- **Developed by:** [DeepMine](https://apify.com/deepmine) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 97.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.79 / 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

### What does LinkedIn Profile Posts Scraper do?

LinkedIn Profile Posts Scraper gets a **LinkedIn member's post history**: paste profile URLs or public identifiers and get the newest posts from the profile, then **every older post the web archive saved** (often hundreds for well-known people, back to 2019-2021), with full text, exact date, reactions, comments, images, videos and reposts. **No login, no cookies, no LinkedIn account.**

It is built for **researching and watching people**: pull everything a founder, executive, prospect or creator has posted, or run it on a schedule for a list of people and see what each one posted since the last run.

> **How deep it goes.** The newest posts come straight from the profile page. Older posts are found through the web archive's index of public post links and read live from LinkedIn: hundreds for well-known people and creators, a few for mid-level professionals, usually none for ordinary members. Set **Max posts per profile** to 0 to get every post found. The archive has only the posts someone saved, so older history **can have gaps of weeks or months** between two posts. Every row is marked with where it came from: `foundVia` (`profilePage` or `webArchive`), `source` (`live` or `archive`) and `archivedAt`.

### What data can I get from LinkedIn posts?

| Post | Person | Engagement |
|---|---|---|
| 📝 Full text and hashtags | 👤 Name, headline, photo | ❤️ Reaction count |
| 📅 Exact posting time (to the millisecond) | 📍 Location | 💬 Comment count |
| 🔗 Post URL and activity id | 👥 Followers | 😀 Top reaction kinds (Like, Celebrate, Love…) |
| 🖼️ Images, video poster, document cover, article link | 🏢 Current company | 🏅 Rank on the profile (1 = newest) |
| 🔁 Own post or repost, with the original author and their headline | 🔗 Profile URL | |

Rows also come in **harvestapi's shape** (`id`, `linkedinUrl`, `content`, `author`, `postedAt`, `postImages`, `engagement`), so a pipeline built for that Actor reads this one unchanged. `targetUrls` is accepted as input too.

### How do I use it?

1. Paste LinkedIn profile URLs (`https://www.linkedin.com/in/williamhgates`) or identifiers (`williamhgates`) into **LinkedIn profiles**.
2. Optional: **Posted within** (e.g. *Last 24 hours* for a daily watch), **Max posts per profile**, **Include reposts**.
3. Click **Start**. The newest posts come back in seconds; older posts from the archive take a little longer (the prefilled 50 posts in about 30 seconds).
4. Download as JSON, CSV, Excel or HTML from the **Output** tab, or call it from the API, Make, Zapier or n8n.

### Input example

```json
{
  "profileUrls": ["https://www.linkedin.com/in/williamhgates", "satyanadella"],
  "postedLimit": "week",
  "maxPosts": 100,
  "includeReposts": true
}
```

### Output example

```json
{
  "profileName": "Satya Nadella",
  "authorName": "Satya Nadella",
  "postUrl": "https://www.linkedin.com/posts/satyanadella_just-wrapped-our-earnings-call-it-was-a-activity-7521344259774660609-7i67",
  "text": "Just wrapped our earnings call. It was a fast start to our fiscal year. …",
  "reactions": 14796,
  "comments": 879,
  "postedDate": "2026-10-28T22:56:51.349Z",
  "postType": "post",
  "contentType": "image",
  "rank": 2,
  "id": "7521344259774660609",
  "author": {"publicIdentifier": "satyanadella", "type": "profile", "name": "Satya Nadella", "linkedinUrl": "https://www.linkedin.com/in/satyanadella"},
  "postedAt": {"timestamp": 1793228211349, "date": "2026-10-28T22:56:51.349Z", "postedAgoShort": "1w"},
  "engagement": {"likes": 14796, "comments": 879, "reactions": [{"type": "LIKE"}, {"type": "INTEREST"}, {"type": "PRAISE"}]},
  "profileFollowers": 12298465
}
```

### How much does it cost to scrape LinkedIn profile posts?

You pay **only for posts**: one price per post delivered, nothing per profile, no start fee. A profile with no posts (or none matching your filters) costs nothing, and so do profiles that no longer exist, profiles LinkedIn doesn't open, links that aren't profiles and repeats.

| Apify plan | Free | Starter | Scale | Business |
|---|---|---|---|---|
| Per 1,000 posts | $1.19 | **$0.99** | $0.89 | $0.79 |

At the Starter price the prefilled run (Neil Patel, up to 50 posts) gives 50 posts for about **$0.05**, a list of 20 people at the default 10 posts each (about 110 posts) about **$0.11**, and a daily watch of 100 people with *Posted within: Last 24 hours* costs only the new posts: 50 new posts in a day is **$0.05**, a day with none is **$0**.

### How many posts per profile?

Up to **Max posts per profile**, the newest first. The form starts at 50; set **0 to get every post found**. An API call that leaves it out gets up to 10, as before: 10 or less reads only the profile page, and older posts come from the archive only above 10. The first 9 are the latest posts LinkedIn shows a logged-out visitor (on a run of 60 profiles: all 60 opened, 44 showed posts, 9 in the median). Older ones come from the web archive's index: well-known people have hundreds there (191 for Sahil Bloom, 283 for Neil Patel), most ordinary members none. Rows from the archive's index carry `foundVia: webArchive`; when LinkedIn no longer gives a post page (deleted or refused), the row is read from the archive's saved copy (`source: archive`, `archivedAt`: the day it was saved, with that day's counts).

**Archive history has gaps.** The archive holds only the posts that someone saved, not every post the person made, so the older rows can skip weeks or months. On 100 posts each for five well-known creators who post almost daily, the longest jump between two rows was 54 to 148 days for four of them and 455 days for the fifth. The rows you get are real posts, newest first; the gaps are posts the archive never saw. Use `foundVia` (`profilePage` or `webArchive`), `source` (`live` or `archive`) and `archivedAt` to tell which rows came from where.

Posts come fresh from LinkedIn on every run (no cache): in that run the newest post was 18 seconds old.

### Tips

- **Daily watch:** schedule a run with *Posted within: Last 24 hours*; you get only new posts.
- **Company posts:** this Actor reads people (`/in/...`). For company pages use **LinkedIn Company Posts**.
- **Profile details** (experience, education, skills): use **LinkedIn Profile Scraper**.
- The run summary (key-value store, `OUTPUT`) lists every profile that gave no posts, by reason: showing no posts, none matching your filters, private, no longer on LinkedIn, or not opened (run those again). The run's status line names them too when there are only a few, so a watch run tells "checked, nothing new" from "not checked".

### FAQ

**Do I need a LinkedIn account or cookies?** No. The Actor reads public profile pages logged out.

**Can I get older posts?** Yes, for people the web archive has seen: set **Max posts per profile** above 10 (0 = every post found). It works best for well-known people and creators; for most ordinary members the archive has none, and you pay only for posts delivered.

**Why is an author's headline empty?** That member hides their headline from logged-out visitors, so LinkedIn shows it nowhere without a login.

**Can I get the comments of a post?** Not in this Actor: it gives the comment count. Use LinkedIn Post Scraper with the post URL.

**Is it legal?** It reads only data LinkedIn shows to any visitor without logging in. Check your own use against the laws that apply to you (GDPR and similar) when you process personal data.

**Something's wrong or missing?** Open an issue on the Issues tab: we answer fast.

### Like it?

If this Actor saves you time, please leave a quick review on the Reviews tab: it helps other people find it.

# Actor input Schema

## `profileUrls` (type: `array`):

Profile URLs (https://www.linkedin.com/in/williamhgates) or public identifiers (williamhgates), one per line. Each person's posts come back newest first, up to 'Max posts per profile'.

## `maxPosts` (type: `integer`):

How many posts to get per person, newest first. Up to 10 reads only the profile page, which shows the latest 9. Above 10, older posts come from the web archive's index of public post links (hundreds for well-known people, few or none for most members). Set 0 to get all of them. Left empty, a run gets up to 10.

## `postedLimit` (type: `string`):

Keep only posts newer than this (a repost counts from when the person reposted it). Use 24h for a daily watch.

## `postedLimitDate` (type: `string`):

Keep only posts published (or reposted) after this date: 2026-11-01, a full timestamp or epoch milliseconds. Overrides 'Posted within'.

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

Posts the person reposted appear on their profile too (the original author is in the row). Turn off to keep only their own posts.

## `maxProfiles` (type: `integer`):

Read at most this many profiles from the list (leave empty for all).

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

Apify datacenter proxy by default; that is all this Actor needs.

## Actor input object example

```json
{
  "profileUrls": [
    "https://www.linkedin.com/in/neilkpatel"
  ],
  "maxPosts": 50,
  "postedLimit": "any",
  "includeReposts": true,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

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

No description

# 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 = {
    "profileUrls": [
        "https://www.linkedin.com/in/neilkpatel"
    ],
    "maxPosts": 50
};

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

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

```

## MCP server setup

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

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/yqnGZAgX5axjxbDse/builds/pbNxaO9eaPHz6hllK/openapi.json
