# LinkedIn Company Posts Scraper (`fetch_cat/linkedin-company-posts-scraper`) Actor

Monitor public LinkedIn company posts, media, timestamps, and engagement metadata without login.

- **URL**: https://apify.com/fetch_cat/linkedin-company-posts-scraper.md
- **Developed by:** [Fetch Cat](https://apify.com/fetch_cat) (community)
- **Categories:** Social media, Lead generation, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.48 / 1,000 post saveds

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 Company Posts Scraper

Monitor public LinkedIn company and showcase-page posts without supplying an account or cookies. Export stable activity IDs, canonical post URLs, company attribution, post text, timestamps, media, and engagement counts LinkedIn exposes publicly.

### Who is it for?

B2B marketers, competitive-intelligence teams, and social-listening agencies use this Actor to detect new company announcements, compare campaigns, and refresh engagement snapshots.

### Example input

```json
{
  "companyUrls": ["https://www.linkedin.com/company/linkedin/"],
  "maxPostsPerCompany": 5,
  "postedAfter": "2026-01-01T00:00:00.000Z"
}
```

### Example output

```json
{
  "postId": "7247998907798978560",
  "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7247998907798978560",
  "companyName": "LinkedIn",
  "companyUrl": "https://www.linkedin.com/company/linkedin/",
  "text": "No is a complete sentence.",
  "postedAt": "2024-09-27T17:00:00.000Z",
  "reactionCount": 7999,
  "commentCount": 359,
  "media": [{ "type": "image", "url": "https://media.licdn.com/dms/image/..." }],
  "scrapedAt": "2026-09-30T00:00:00.000Z"
}
```

Unavailable public engagement values are omitted rather than guessed.

### Inputs

| Field | Description | Default |
|---|---|---:|
| `companyUrls` | Public `linkedin.com/company/...` or `linkedin.com/showcase/...` URLs | required |
| `maxPostsPerCompany` | Maximum rows saved for each company, 1–1000 | `20` |
| `postedAfter` | Optional ISO date/time lower bound for incremental exports | none |

Personal profiles, private groups, messages, and authenticated-only feeds are not supported. Invalid or non-company URLs fail with a clear validation error.

### Output fields

Each row contains `postId`, `postUrl`, `companyName`, `companyUrl`, `text`, `media`, and `scrapedAt`. `postedAt`, `reactionCount`, `commentCount`, and `repostCount` appear only when the public source exposes them. `postId` is the stable LinkedIn activity ID and is suitable for deduplication across scheduled runs.

The `RUN_SUMMARY` key-value-store record reports requested companies, saved rows, per-company failures, and a `complete`, `partial`, `empty`, or `failed` status. A future `postedAfter` can therefore complete successfully with an explicit empty result.

### Pricing

The Actor uses pay per event: a one-time start charge for each run and a post charge for every result saved to the dataset. See the [live Pricing tab](https://apify.com/fetch_cat/linkedin-company-posts-scraper/pricing) for current rates and plan discounts.

### Tips and limits

- Start with a small per-company limit while validating a monitoring workflow.
- Use the canonical company page URL; activity-page suffixes are normalized.
- Engagement values are snapshots and can change between runs.
- Discovery depends on public search-index coverage. Posts LinkedIn has not exposed to that index may be absent.
- Every discovered candidate is verified against LinkedIn's anonymous first-party embed and exact company attribution before it is saved.
- LinkedIn or the public index may rate-limit requests. The Actor reports a source failure rather than emitting fabricated rows.
- Schedule repeated runs and deduplicate by `postId` to detect new posts.

### Input recipes

#### Monitor one company's latest announcements

```json
{
  "companyUrls": ["https://www.linkedin.com/company/linkedin/"],
  "maxPostsPerCompany": 5
}
```

#### Compare recent campaigns from three companies

```json
{
  "companyUrls": [
    "https://www.linkedin.com/company/linkedin/",
    "https://www.linkedin.com/company/microsoft/",
    "https://www.linkedin.com/company/adobe/"
  ],
  "maxPostsPerCompany": 3
}
```

#### Refresh an incremental engagement watch

```json
{
  "companyUrls": ["https://www.linkedin.com/company/linkedin/"],
  "maxPostsPerCompany": 10,
  "postedAfter": "2026-09-01T00:00:00.000Z"
}
```

Use these inputs in the Actor UI, API, schedules, webhooks, integrations, or MCP-compatible Apify tools.

### API example

```bash
curl -X POST "https://api.apify.com/v2/acts/fetch_cat~linkedin-company-posts-scraper/runs?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"companyUrls":["https://www.linkedin.com/company/linkedin/"],"maxPostsPerCompany":5}'
```

### Related Actors

- [LinkedIn Company Profiles Scraper](https://apify.com/fetch_cat/linkedin-company-profiles-scraper) — export public company profile details
- [LinkedIn Posts Scraper](https://apify.com/fetch_cat/linkedin-posts-scraper) — refresh known post URLs or activity URNs
- [LinkedIn Post Comments Scraper](https://apify.com/fetch_cat/linkedin-post-comments-scraper) — collect comments from public posts
- [LinkedIn Ad Library Scraper](https://apify.com/fetch_cat/linkedin-ad-library-scraper) — research public LinkedIn ads
- [LinkedIn Jobs Scraper](https://apify.com/fetch_cat/linkedin-jobs-scraper) — export public job listings

### Support

Open an issue from the Actor page with a public company URL, run ID, expected result, and observed result. Never include cookies or private credentials.

# Changelog

This Actor's version history is a separate document: https://apify.com/fetch_cat/linkedin-company-posts-scraper/changelog.md

# Actor input Schema

## `companyUrls` (type: `array`):

Public LinkedIn company or showcase page URLs.

## `maxPostsPerCompany` (type: `integer`):

Maximum number of public post rows saved for each supplied company.

## `postedAfter` (type: `string`):

Optional ISO date/time lower bound for incremental monitoring.

## Actor input object example

```json
{
  "companyUrls": [
    "https://www.linkedin.com/company/linkedin/"
  ],
  "maxPostsPerCompany": 20
}
```

# Actor output Schema

## `overview` (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 = {
    "companyUrls": [
        "https://www.linkedin.com/company/linkedin/"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fetch_cat/linkedin-company-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 = { "companyUrls": ["https://www.linkedin.com/company/linkedin/"] }

# Run the Actor and wait for it to finish
run = client.actor("fetch_cat/linkedin-company-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 '{
  "companyUrls": [
    "https://www.linkedin.com/company/linkedin/"
  ]
}' |
apify call fetch_cat/linkedin-company-posts-scraper --silent --output-dataset

```

## MCP server setup

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