# LinkedIn Company Post Scraper (`brilliant_gum/linkedin-company-post-scraper`) Actor

Scrape LinkedIn company posts — text, likes, comments, all 6 reaction types, images & videos. Up to 500 posts per run. Sort by recent or top. No browser needed.

- **URL**: https://apify.com/brilliant\_gum/linkedin-company-post-scraper.md
- **Developed by:** [Yuliia Kulakova](https://apify.com/brilliant_gum) (community)
- **Categories:** Social media, Automation, Developer tools
- **Stats:** 16 total users, 4 monthly users, 94.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $25.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## LinkedIn Company Post Scraper

![LinkedIn Company Post Scraper](https://i.imgur.com/mkfz3to.png)

Extract posts from any LinkedIn company page — with full engagement data, media links, reaction breakdowns, and poster details. No browser. No manual work. Just clean, structured data.

***

### What it does

Point it at any LinkedIn company URL and get back every post they've published — complete with likes, comments, reposts, all six reaction types, images, videos, and more. Works for Fortune 500s, startups, and everything in between.

Perfect for:

- **Competitive intelligence** — track what competitors are posting and how audiences respond
- **Content strategy** — see which post formats and topics drive the most engagement
- **Social listening** — monitor brand presence and audience sentiment
- **Lead generation** — identify active companies and their key voices
- **Market research** — analyze industry trends through company announcements

***

### Output fields

Each post returns a clean JSON object with:

| Field | Description |
|---|---|
| `text` | Full post text |
| `posted` | Publication date & time (UTC) |
| `time` | Relative time (e.g. "2 days ago") |
| `url` | Direct link to the post |
| `urn` | LinkedIn post identifier |
| `poster.name` | Name of the author (company or person) |
| `poster.linkedin_url` | Author's LinkedIn profile or page URL |
| `num_likes` | Like count |
| `num_comments` | Comment count |
| `num_reposts` | Repost count |
| `num_empathy` | Love reactions |
| `num_interests` | Insightful reactions |
| `num_appreciations` | Support reactions |
| `num_praises` | Celebrate reactions |
| `num_entertainment` | Funny reactions |
| `total_reactions` | Total reaction count |
| `reaction_types` | Full breakdown by reaction type |
| `images` | Array of image URLs |
| `video` | Video stream URL, duration, and thumbnail |
| `reshared` | Whether the post is a reshare |
| `reshared_from` | Original post info (if reshared) |

***

### Input options

| Field | Description | Default |
|---|---|---|
| `linkedinUrl` | LinkedIn company page URL | *(required)* |
| `maxPosts` | Maximum number of posts to scrape (up to 500) | `500` |
| `sortBy` | `recent` (newest first) or `top` (most relevant) | `recent` |
| `count` | Posts per API request (max 100) | `50` |
| `startPage` | Pagination offset (0 = start from beginning) | `0` |

#### Example input

```json
{
  "linkedinUrl": "https://www.linkedin.com/company/openai/",
  "maxPosts": 100,
  "sortBy": "recent"
}
```

***

### Example output

```json
{
  "text": "Introducing GPT-Realtime-2 in the API: our most intelligent voice model yet.",
  "posted": "2026-05-07 17:27:02",
  "time": "1 week ago",
  "url": "https://www.linkedin.com/feed/update/urn:li:activity:7458205768849367040",
  "urn": "7458205768849367040",
  "poster": {
    "name": "OpenAI",
    "linkedin_url": "https://www.linkedin.com/company/openai/"
  },
  "num_likes": 1862,
  "num_comments": 131,
  "num_reposts": 223,
  "num_empathy": 112,
  "num_interests": 39,
  "num_appreciations": 6,
  "num_praises": 130,
  "num_entertainment": 3,
  "total_reactions": 2152,
  "reaction_types": {
    "LIKE": 1862,
    "PRAISE": 130,
    "EMPATHY": 112,
    "INTEREST": 39,
    "APPRECIATION": 6,
    "ENTERTAINMENT": 3
  },
  "images": [],
  "video": {
    "stream_url": "https://dms.licdn.com/playlist/vid/...",
    "duration": 243466,
    "thumbnail": "https://media.licdn.com/dms/image/..."
  },
  "reshared": false,
  "reshared_from": null
}
```

***

### Pricing

**$0.025 per result** — that's $25 per 1,000 posts scraped.

A typical run scraping 500 posts from one company costs ~$0.50 + a small Actor start fee. Pay only for what you get.

***

### Integrations

Export results as JSON, CSV, or Excel directly from the Apify dataset. Plug into your workflow via:

- Apify API
- Webhooks
- Make (Integromat), n8n, Zapier

***

### FAQ

**Which companies can I scrape?**
Any public LinkedIn company page. Just paste the URL in the `linkedinUrl` field.

**Does it capture posts from related showcases and employees?**
Yes. LinkedIn often surfaces posts from a company's showcase pages and key employees — the scraper captures all of them as they appear on the company feed.

**Can I scrape more than 500 posts?**
500 is the current maximum per run. For deeper history, use `startPage` to offset and run in batches.

**What's the difference between `recent` and `top`?**
`recent` returns posts in chronological order (newest first). `top` returns the most relevant and engaging posts as ranked by LinkedIn.

**Does it capture video content?**
Yes — for video posts you get the stream URL, video duration in milliseconds, and a thumbnail image URL.

**How fresh is the data?**
Data is fetched live on every run — always up to date.

# Actor input Schema

## `linkedinUrl` (type: `string`):

URL of the LinkedIn company page, e.g. https://www.linkedin.com/company/amazon/

## `linkedin_url` (type: `string`):

Alternative field name. Same as linkedinUrl.

## `cookie` (type: `string`):

Optional. Your LinkedIn li\_at cookie for authentication. A default cookie is built-in. Provide your own if the default expires.

## `count` (type: `integer`):

How many posts you want to scrape in total. Each request to LinkedIn is internally paginated — you just say the total.

## `startPage` (type: `integer`):

Starting pagination offset. Use 0 for page 1, 50 for page 2, etc.

## `start` (type: `integer`):

Alternative field name. Same as startPage.

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

Backward-compatible alias for 'count'. Use 'count' for new runs.

## `sortBy` (type: `string`):

How to sort the posts: 'recent' (newest first) or 'top' (most relevant)

## `sort_by` (type: `string`):

Alternative field name. Same as sortBy.

## `homeProxyUrl` (type: `string`):

Optional residential proxy URL, e.g. http://user:pass@ip:port. Used first before Apify proxy.

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

Apify proxy configuration. Used as fallback if home proxy fails.

## Actor input object example

```json
{
  "linkedinUrl": "https://www.linkedin.com/company/amazon/",
  "count": 50,
  "startPage": 0,
  "start": 0,
  "maxPosts": 500,
  "sortBy": "recent"
}
```

# Actor output Schema

## `text` (type: `string`):

Full text content of the post.

## `posted` (type: `string`):

Date and time the post was published (UTC).

## `time` (type: `string`):

Human-readable relative time, e.g. '2 days ago'.

## `url` (type: `string`):

Direct URL to the LinkedIn post.

## `urn` (type: `string`):

LinkedIn internal URN identifier of the post.

## `poster` (type: `string`):

Name and LinkedIn URL of the post author (company or person).

## `num_likes` (type: `string`):

Number of Like reactions.

## `num_comments` (type: `string`):

Number of comments on the post.

## `num_reposts` (type: `string`):

Number of times the post was reposted.

## `num_empathy` (type: `string`):

Number of Love (empathy) reactions.

## `num_interests` (type: `string`):

Number of Insightful reactions.

## `num_appreciations` (type: `string`):

Number of Support (appreciation) reactions.

## `num_praises` (type: `string`):

Number of Celebrate (praise) reactions.

## `num_entertainment` (type: `string`):

Number of Funny (entertainment) reactions.

## `total_reactions` (type: `string`):

Sum of all reaction types.

## `reaction_types` (type: `string`):

Object with counts per reaction type (LIKE, EMPATHY, PRAISE, INTEREST, APPRECIATION, ENTERTAINMENT).

## `images` (type: `string`):

Array of image URLs attached to the post.

## `video` (type: `string`):

Video info: stream\_url, duration (ms), and thumbnail URL. Null if no video.

## `reshared` (type: `string`):

True if this post is a reshare of another post.

## `reshared_from` (type: `string`):

Original post info if reshared, otherwise null.

# 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 = {
    "linkedinUrl": "https://www.linkedin.com/company/amazon/",
    "count": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("brilliant_gum/linkedin-company-post-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 = {
    "linkedinUrl": "https://www.linkedin.com/company/amazon/",
    "count": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("brilliant_gum/linkedin-company-post-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "linkedinUrl": "https://www.linkedin.com/company/amazon/",
  "count": 50
}' |
apify call brilliant_gum/linkedin-company-post-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=brilliant_gum/linkedin-company-post-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/xJnedo941JcaVhvmF/builds/7tG2XYNgR9lqZjUwh/openapi.json
