# 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:** 5 total users, 3 monthly users, 90.9% runs succeeded, NaN 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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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`):

Number of posts to fetch per API request (max 100). Higher = fewer requests, faster scraping.

## `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`):

Maximum total number of posts to scrape (up to 500)

## `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/"
};

// 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/" }

# 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/"
}' |
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

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "LinkedIn Company Post Scraper",
        "description": "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.",
        "version": "1.0",
        "x-build-id": "fjclUppWRJa9hgRAf"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/brilliant_gum~linkedin-company-post-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-brilliant_gum-linkedin-company-post-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/brilliant_gum~linkedin-company-post-scraper/runs": {
            "post": {
                "operationId": "runs-sync-brilliant_gum-linkedin-company-post-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/brilliant_gum~linkedin-company-post-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-brilliant_gum-linkedin-company-post-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "linkedinUrl": {
                        "title": "LinkedIn Company URL",
                        "type": "string",
                        "description": "URL of the LinkedIn company page, e.g. https://www.linkedin.com/company/amazon/"
                    },
                    "linkedin_url": {
                        "title": "LinkedIn Company URL (alias)",
                        "type": "string",
                        "description": "Alternative field name. Same as linkedinUrl."
                    },
                    "cookie": {
                        "title": "li_at Cookie",
                        "type": "string",
                        "description": "Optional. Your LinkedIn li_at cookie for authentication. A default cookie is built-in. Provide your own if the default expires."
                    },
                    "count": {
                        "title": "Posts per page",
                        "minimum": 1,
                        "maximum": 100,
                        "type": "integer",
                        "description": "Number of posts to fetch per API request (max 100). Higher = fewer requests, faster scraping.",
                        "default": 50
                    },
                    "startPage": {
                        "title": "Start offset",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Starting pagination offset. Use 0 for page 1, 50 for page 2, etc.",
                        "default": 0
                    },
                    "start": {
                        "title": "Start offset (alias)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Alternative field name. Same as startPage.",
                        "default": 0
                    },
                    "maxPosts": {
                        "title": "Max posts to scrape",
                        "minimum": 1,
                        "maximum": 500,
                        "type": "integer",
                        "description": "Maximum total number of posts to scrape (up to 500)",
                        "default": 500
                    },
                    "sortBy": {
                        "title": "Sort by",
                        "enum": [
                            "recent",
                            "top"
                        ],
                        "type": "string",
                        "description": "How to sort the posts: 'recent' (newest first) or 'top' (most relevant)",
                        "default": "recent"
                    },
                    "sort_by": {
                        "title": "Sort by (alias)",
                        "enum": [
                            "recent",
                            "top"
                        ],
                        "type": "string",
                        "description": "Alternative field name. Same as sortBy."
                    },
                    "homeProxyUrl": {
                        "title": "Home Proxy URL",
                        "type": "string",
                        "description": "Optional residential proxy URL, e.g. http://user:pass@ip:port. Used first before Apify proxy."
                    },
                    "proxyConfiguration": {
                        "title": "Apify Proxy",
                        "type": "object",
                        "description": "Apify proxy configuration. Used as fallback if home proxy fails."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
