# Linkedin Company Post Scraper (`bestscrapers/linkedin-company-post-scraper`) Actor

The **Linkedin Company Post Scraper** is a powerful tool designed to extract detailed post data from public LinkedIn companies — without the need for cookies or login.

- **URL**: https://apify.com/bestscrapers/linkedin-company-post-scraper.md
- **Developed by:** [Linkedin Scrapers](https://apify.com/bestscrapers) (community)
- **Categories:** Lead generation, Social media, Developer tools
- **Stats:** 351 total users, 117 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$8.00 / 1,000 processing data

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

## 🚀 LinkedIn Company Post Scraper

The **Linkedin Company Post Scraper** is a powerful tool designed to extract detailed post data from public LinkedIn companies — without the need for cookies or login.

### ✨ Features

- 👤 **Full Posts Detail Extraction**

- 🍪 **No Cookies Required**\
  The scraper works without any LinkedIn login or cookies — simplifying setup and execution.

### ✨ You may also want to check out my other powerful actors:

#### For people:

- https://apify.com/bestscrapers/fresh-linkedin-profile-data
- https://apify.com/bestscrapers/linkedin-open-profile-status
- https://apify.com/bestscrapers/linkedin-open-to-work-status
- https://apify.com/bestscrapers/linkedin-detect-activity-time

#### For Sales Navigator searches:

- https://apify.com/bestscrapers/linkedin-sales-navigator-scraper
- https://apify.com/bestscrapers/linkedin-sales-account-scraper

#### For companies:

- https://apify.com/bestscrapers/linkedin-company-scraper
- https://apify.com/bestscrapers/linkedin-company-insights-scraper
- https://apify.com/bestscrapers/linkedin-company-by-domain
- https://apify.com/bestscrapers/linkedin-company-custom-headcount

#### For jobs:

- https://apify.com/bestscrapers/linkedin-job-details-scraper
- https://apify.com/bestscrapers/linkedin-job-scraper

#### For posts:

- https://apify.com/bestscrapers/linkedin-post-scraper
- https://apify.com/bestscrapers/get-post-details
- https://apify.com/bestscrapers/linkedin-company-post-scraper
- https://apify.com/bestscrapers/linkedin-post-comments-scraper
- https://apify.com/bestscrapers/reaction-scraper

### 🛠️ How It Works

1. 🔗 **Input**\
   Provide a valid LinkedIn company URL.

2. ▶️ **Run the Scraper**\
   Start the actor to extract rich company post data in real time — results will be available in Apify's Dataset tab.

### 💰 Pricing

1. Paid users: $0.008/1 request = 1 "processing" events / 1 request ($8/1000 requests).
2. Free users: $0.8/1 request = 100 "processing" events/ 1 request ($800/1000 requests).

### ✨ Go to my profile for more powerful actors: https://apify.com/bestscrapers

### 📥 Input Example

```json
{
  "linkedin_url": "https://www.linkedin.com/in/sample-profile",
  "pagination_token": "",
  "sort_by": "recent",
  "start": 0
}
```

### 📤 Output Example

```json
{
  "data": [
    {
      "images": [
        {
          "url": "https://media.licdn.com/dms/image/D4E10AQH9T8_nJedHHw/image-shrink_1280/0/1717684804684?e=1718874000&v=beta&t=6ex59K23DtlQfOgdMjK8y6Z3syZkLmCVLQWBZDaGe-s"
        },
        {
          "url": "https://media.licdn.com/dms/image/D4E10AQHVKwU_eNrv4A/image-shrink_1280/0/1717684806255?e=1718874000&v=beta&t=CLPbM97-LpL8JyGCaevLRQYvFofREGGcY87hMJKXkU4"
        },
        {
          "url": "https://media.licdn.com/dms/image/D4E10AQHHwAasOZSO2A/image-shrink_1280/0/1717684821209?e=1718874000&v=beta&t=Cw12phf1qdByFurjGKcIeG1hRoov9xWR52IBqSHq5UE"
        },
        {
          "url": "https://media.licdn.com/dms/image/D4E10AQEPRPF-Ap2mMA/image-shrink_1280/0/1717684810274?e=1718874000&v=beta&t=9xTh2mreiDAnXOfjJtVWc_8rDhMiLhWRapYHQkrugV8"
        },
        {
          "url": "https://media.licdn.com/dms/image/D4E10AQFQrhWYfLnsCA/image-shrink_1280/0/1717684814565?e=1718874000&v=beta&t=4AjlE4PcSf4_3oltNyISkBYDmDVzzU6P3OWYtgE44o4"
        }
      ],
      "num_appreciations": 32,
      "num_comments": 173,
      "num_empathy": 139,
      "num_interests": 4,
      "num_likes": 4084,
      "num_praises": 264,
      "num_reposts": 68,
      "posted": "2024-06-06 14:40:25",
      "poster": {
        "linkedin_url": "https://www.linkedin.com/company/amazon/",
        "name": "Amazon"
      },
      "reshared": false,
      "text": "🏋️‍♂️ Meet Amazon's very own strongman! 🏋️‍♂️ \n\nThis weekend, 27-year-old Luke Sperduti from Bristol, England will be competing for the title of UK’s Strongest Man. 💪 \n\nSince joining Amazon in 2020, Luke has risen to the role of Operations Supervisor and will soon take on a new challenge. His journey to strength started in the Corps of Royal Engineers, where he developed his passion for powerlifting.\n\nFuelled by an impressive diet, Luke's daily intake includes porridge, tortellini pasta, and 4-5 meals a day, totaling around 6000 calories. 🍽️ \n\nEveryone wish Luke good luck ahead of his competition! Go, Luke!",
      "time": "6 days ago",
      "url": "https://www.linkedin.com/posts/amazon_meet-amazons-very-own-strongman-activity-7204492333600440320-wHUk",
      "urn": "7204492333600440320"
    },
    {
      "images": [],
      "num_appreciations": 4,
      "num_comments": 50,
      "num_empathy": 26,
      "num_interests": 4,
      "num_likes": 658,
      "num_praises": 16,
      "num_reposts": 20,
      "posted": "2024-06-12 16:20:25",
      "poster": {
        "linkedin_url": "https://www.linkedin.com/company/amazon/",
        "name": "Amazon"
      },
      "reshared": false,
      "text": "Watch below as Amazon leaders share their best pieces of career advice. In this compilation from our Meet the Leader series, they answered some hard-hitting questions – including Star Wars vs. Star Trek. What are your best leadership tips? ⭐ Drop them in the comments below. ⬇️ \n\nLearn more here: https://amzn.to/3xfURO0",
      "time": "16 hours ago",
      "url": "https://www.linkedin.com/posts/amazon_watch-below-as-amazon-leaders-share-their-activity-7206691829314985984-Rz7z",
      "urn": "7206691829314985984",
      "video": {
        "duration": 70033,
        "stream_url": "https://dms.licdn.com/playlist/vid/D5610AQGEcfAZO6QVMg/mp4-720p-30fp-crf28/0/1718209216781?e=1718874000&v=beta&t=_130UyLU3-PDvfTo528vLArWVIhH0DziFAIRYgIB9Vk"
      }
    },
    {
      "images": [
        {
          "url": "https://media.licdn.com/dms/image/D5622AQHHxgGS8rs2TA/feedshare-shrink_2048_1536/0/1717535596269?e=1721260800&v=beta&t=pgcKf8fEt7vWsoV-fqXfgeK5kux-exAYje6qaAzjLZc"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQF1HuhfRhu32g/feedshare-shrink_2048_1536/0/1717535602131?e=1721260800&v=beta&t=Iv7gpIJSUYOu8VKuQXm6P8OCCohdLzNKujSTnmo-SY8"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQHYzBGc2Q3wsg/feedshare-shrink_2048_1536/0/1717535616893?e=1721260800&v=beta&t=BvKJQ74H6Zv6V3uqn3gRifvCBUCcMNih0BbXkLdZQ7I"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQFrYSTVbYABVg/feedshare-shrink_2048_1536/0/1717535594242?e=1721260800&v=beta&t=1fcIAXG1DWqoT9vf7T1R9JquMYAMU8ehgPGBXoIlQHU"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQFeoXH3az3blQ/feedshare-shrink_2048_1536/0/1717535598522?e=1721260800&v=beta&t=mpXSxcrJEpNeegspt3DtmqlnnsNNq8cZgjHh4pnbeKo"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQEsAHB2JCCBAw/feedshare-shrink_2048_1536/0/1717535594141?e=1721260800&v=beta&t=luITk8khWrwvWuDYcyS1TX0y_GmFrfADpzthhll50yA"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQHfBuikow6YAQ/feedshare-shrink_2048_1536/0/1717535601368?e=1721260800&v=beta&t=DMU870ARVmHQPrqXXFoIy9yAWHPb7x8GJglMZqyHYrw"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQG-YaftVVOmSA/feedshare-shrink_2048_1536/0/1717535612990?e=1721260800&v=beta&t=psZFzo6mCKYKvQnM_7fvWM4LVdpdRktyu0Y4vB9IyhU"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQHjzCXI7mne5Q/feedshare-shrink_2048_1536/0/1717535599960?e=1721260800&v=beta&t=p889GU-XJuR8ghgskmdK5eQCYDN5fma02trNC6SxApY"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQHHj0dkOm-E4w/feedshare-shrink_2048_1536/0/1717535600793?e=1721260800&v=beta&t=SkAkyBirLwC0oEjUZiM1lL4-I4z0uKw3lXQ-CkZQ_QE"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQFo-FRWwotOaA/feedshare-shrink_2048_1536/0/1717535597873?e=1721260800&v=beta&t=UvAGAJGK8aqojqgLkVXC8V_Qhc2goVKkTHM9rT3EPkM"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQFWZbAJj-riaQ/feedshare-shrink_2048_1536/0/1717535600220?e=1721260800&v=beta&t=7YTARjZQUw0W4Auo168iKkEkYHTD5floVkjU174C3T0"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQEWatC2ZsMQqw/feedshare-shrink_2048_1536/0/1717535600480?e=1721260800&v=beta&t=PZ2zQft7VLVufJyNOvIxxJIjlUEk2QgtEchAFTtz3u4"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQGMsATtQSvwxQ/feedshare-shrink_2048_1536/0/1717535599828?e=1721260800&v=beta&t=My2myx2v9DBLJ7_NWU3BRB9Cirw89V-OGgRUxAVLgu8"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQGDDH4bJf7u4w/feedshare-shrink_2048_1536/0/1717535594489?e=1721260800&v=beta&t=tkErVzijrnm6YnixwZuR_TgasP-fG135DgVL7PV4fWA"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQG1FeQpRAIlMg/feedshare-shrink_2048_1536/0/1717535614892?e=1721260800&v=beta&t=kBxoAV3_0kfKkDpReN7VhOdziKBr_8s_Tprecg2t48s"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQE5779z4qWNeQ/feedshare-shrink_2048_1536/0/1717535601245?e=1721260800&v=beta&t=XQyDqWqHpq5uSeeWTi9dj3ivPHI07GvDsPbpj9XcdG8"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQHFe0TVi9r7Fw/feedshare-shrink_2048_1536/0/1717535601894?e=1721260800&v=beta&t=V4ELrDOswobrdcR2sftCrCWuLSqHiysMQkD_8lX_T-g"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQGX4MRhwWV49g/feedshare-shrink_2048_1536/0/1717535600426?e=1721260800&v=beta&t=KMyqcaWN2eGjUYvihY8Bk1qFJZarnblyUEG5PqMXh3o"
        },
        {
          "url": "https://media.licdn.com/dms/image/D5622AQEc0lFtjaedXw/feedshare-shrink_2048_1536/0/1717535596576?e=1721260800&v=beta&t=IU0UNclV3Bc4cvBlJj_0al7pzR0tzIjDch8RDUn1fEk"
        }
      ],
      "num_appreciations": 65,
      "num_comments": 142,
      "num_empathy": 310,
      "num_interests": 2,
      "num_likes": 2676,
      "num_praises": 141,
      "num_reposts": 91,
      "posted": "2024-06-05 14:30:06",
      "poster": {
        "linkedin_url": "https://www.linkedin.com/company/amazon/",
        "name": "Amazon"
      },
      "reshared": false,
      "text": "Love who you want to love. Be who you want to be. Here's to equality. Here's to Pride. 🏳️‍🌈 🏳️‍⚧️",
      "time": "1 week ago",
      "url": "https://www.linkedin.com/posts/amazon_love-who-you-want-to-love-be-who-you-want-activity-7204127350152650752-mQvO",
      "urn": "7204127350152650752"
    }
  ],
  "message": "ok",
  "paging": {
    "count": 2,
    "pagination_token": "1247279610-1718268950008-fa53e44d1ea06676a45aa23622f567cb",
    "start": 0
  }
}

```

# Actor input Schema

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

The public LinkedIn company URL to scrape

## `pagination_token` (type: `string`):

Required when fetching the next result page. Please use the token from the result of your previous call.

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

Default value: top. Possible values: top, recent.

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

Use this param to fetch posts of the next result page: 0 for page 1, 50 for page 2, etc.

## Actor input object example

```json
{
  "linkedin_url": "https://www.linkedin.com/company/amazon/",
  "pagination_token": "1247279610-1718268950008-fa53e44d1ea06676a45aa23622f567cb",
  "sort_by": "top"
}
```

# 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 = {
    "linkedin_url": "https://www.linkedin.com/company/amazon/",
    "pagination_token": "1247279610-1718268950008-fa53e44d1ea06676a45aa23622f567cb",
    "sort_by": "top",
    "start": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("bestscrapers/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 = {
    "linkedin_url": "https://www.linkedin.com/company/amazon/",
    "pagination_token": "1247279610-1718268950008-fa53e44d1ea06676a45aa23622f567cb",
    "sort_by": "top",
    "start": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("bestscrapers/linkedin-company-post-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 '{
  "linkedin_url": "https://www.linkedin.com/company/amazon/",
  "pagination_token": "1247279610-1718268950008-fa53e44d1ea06676a45aa23622f567cb",
  "sort_by": "top",
  "start": 0
}' |
apify call bestscrapers/linkedin-company-post-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bestscrapers/linkedin-company-post-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/dROPwXpqeCOK9ZRGG/builds/2FYnCbtanlKEdOOrH/openapi.json
