# LinkedIn Company Scraper - Company Data & Posts, No Login (`headply/linkedin-company-scraper`) Actor

Scrape LinkedIn company pages without an account: website, industry, size, exact employee count, followers, HQ, founded year, specialties, every office address, affiliated and similar pages, plus the latest posts with reactions and comments.

- **URL**: https://apify.com/headply/linkedin-company-scraper.md
- **Developed by:** [Mayowa Ogedengbe](https://apify.com/headply) (community)
- **Categories:** Lead generation, Social media
- **Stats:** 2 total users, 2 monthly users, 85.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.10 / 1,000 companies

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 Scraper: Company Data & Latest Posts (No Login)

Scrape LinkedIn company pages **without a LinkedIn account, cookies or API key**. Paste company URLs (or just their URL
names) and get clean, structured company data plus the posts the company page shows, in JSON, CSV or Excel.

- **Company profile:** name, website, industry, size band, **exact employee count on LinkedIn**, followers,
  headquarters, company type, founded year, specialties, tagline, About text, logo and cover image, LinkedIn company id.
- **Every office:** all listed locations with full street addresses and which one is the primary address.
- **Related companies:** affiliated pages (subsidiaries, showcase pages) and LinkedIn's "similar pages", each with
  name, URL, industry and location. Handy for building lookalike lists.
- **Latest posts:** the posts on the company page (usually the latest ~10) with full text, **exact publish time**,
  reactions, comments, media type and repost flag.
- **Schools and showcase pages** work too.
- **Company news feed:** schedule it with "only new posts" and receive only posts you have not seen before.

### Reliable, no login needed

No LinkedIn account, cookies or API key: there is no account of yours to get banned and nothing to refresh.

Tested on 414 real companies across sectors and sizes (startups, banks, NGOs, retailers, universities): **414/414
delivered**, with the core fields (name, industry, size, followers, employees, logo) at 97–100%. Fields like founded
year, specialties or tagline appear when the company has filled them in: when one is missing, it is missing on
LinkedIn itself (we checked every gap against the live page).

### Input

```json
{
  "companies": [
    "https://www.linkedin.com/company/apify/",
    "https://uk.linkedin.com/company/monzo-bank",
    "stripe",
    "https://www.linkedin.com/school/stanford-university/"
  ],
  "includePosts": true
}
```

Any country subdomain and tracking parameters are fine. Numeric ids (`/company/1035`) are not supported, because
LinkedIn only opens those to signed-in users; use the page's URL name instead.

### Output sample

A company row:

```json
{
  "type": "company",
  "pageType": "company",
  "companyId": "10608457",
  "slug": "apify",
  "url": "https://www.linkedin.com/company/apify",
  "name": "Apify",
  "tagline": "Thousands of Actors to automate your business, get real-time web data, and equip your AI agents.",
  "website": "https://apify.com/",
  "industry": "Technology, Information and Internet",
  "companySize": "201-500 employees",
  "employeesOnLinkedIn": 274,
  "followers": 41574,
  "headquarters": "Prague",
  "organizationType": "Privately Held",
  "foundedYear": 2016,
  "specialties": ["Web scraping", "Browser automation", "AI agents", "API integration"],
  "address": { "street": "Vodickova 704/36", "city": "Prague", "region": null, "postalCode": "11100", "country": "CZ" },
  "locations": [{ "address": "Vodickova 704/36, Prague, 11100, CZ", "lines": ["Vodickova 704/36", "Prague, 11100, CZ"], "isPrimary": true }],
  "affiliatedPages": [],
  "similarPages": [{ "name": "n8n", "url": "https://www.linkedin.com/company/n8n", "industry": "Software Development", "location": "Berlin, BE" }],
  "logoUrl": "https://media.licdn.com/dms/image/...apify_logo...",
  "coverImageUrl": "https://media.licdn.com/dms/image/...apify_cover...",
  "latestPostsShown": 10,
  "scrapedAt": "2026-10-12T08:00:00Z"
}
```

A post row:

```json
{
  "type": "post",
  "postUrl": "https://www.linkedin.com/feed/update/urn:li:activity:7514964000107831296/",
  "activityId": "7514964000107831296",
  "companySlug": "apify",
  "companyName": "Apify",
  "isRepost": false,
  "originalAuthor": null,
  "text": "Agents do their best work with the right tools. Glad Apify helps the ColdIQ team get the data it needs, Michel ! 🙌",
  "mediaType": "image",
  "publishedAt": "2026-10-11T08:23:58Z",
  "reactions": 9,
  "comments": 0,
  "scrapedAt": "2026-10-12T08:00:00Z"
}
```

Field names are stable: new fields may be added, existing ones are never renamed or removed. Missing values are
explicit `null`. Each run also writes a `SUMMARY` record (companies delivered, pages that do not exist, anything
skipped and why).

### Pricing

Pay only for what is delivered. No monthly fee.

| Event | Price per 1,000 |
|---|---|
| Company | $3.00 |
| Post | $1.50 |
| Run start | $0.001 per run |

Higher Apify plans get automatic discounts. Examples: **1,000 companies ≈ $3.00**; 1,000 companies with their latest
posts (~8 each) ≈ $15.00. Turn off `includePosts` if you only need company data. Never charged: companies that do not
exist, inputs that are not company pages, and posts already delivered by an "only new posts" monitor.

### Company news feed (scheduled)

1. Add your companies and set `"onlyNewPosts": true`.
2. Save as a task and schedule it daily in Apify Console → Schedules.
3. Each run returns the current company rows (followers, employees: track growth over time) and only the posts you
   have not received before. Use different `monitorName` values for different client lists.

### API, n8n, Make

```bash
curl -X POST "https://api.apify.com/v2/acts/headply~linkedin-company-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"companies":["apify","stripe"],"includePosts":false}'
```

**n8n:** *Apify* node → *Run actor and get dataset*, actor `headply/linkedin-company-scraper`; connect Google Sheets, a
CRM or Slack. Make's Apify module works the same way.

### FAQ and limits

- **Do I need a LinkedIn account or cookies?** No.
- **How many posts per company?** The ones LinkedIn shows on the public company page: usually the latest ~10. Older
  posts need a signed-in account, so they are not included; schedule the Actor to collect new posts as they appear.
- **Employee lists or people search?** Not included: LinkedIn shows those only to signed-in users. You do get the exact
  number of employees on LinkedIn.
- **Can I search companies by keyword?** Not in this Actor: give it company URLs or URL names.
- **Company does not exist or was removed?** It is listed in the run summary and not charged.
- **Speed:** about 3–4 companies per second with posts.

# Actor input Schema

## `companies` (type: `array`):

LinkedIn company, school or showcase page URLs (any country subdomain), or just the URL name ('apify'). One per line. Numeric ids (/company/1035) are not supported: LinkedIn only opens them to signed-in users.

## `includePosts` (type: `boolean`):

Also return the posts LinkedIn shows on the company page (usually the latest ~10), with text, exact publish time, reactions, comments and media type. Billed per post.

## `onlyNewPosts` (type: `boolean`):

For scheduled runs: return only posts this monitor has not returned before (company rows are always returned). Turns the Actor into a company news feed.

## `monitorName` (type: `string`):

Separate memories for different schedules or client lists.

## Actor input object example

```json
{
  "companies": [
    "https://www.linkedin.com/company/apify/",
    "https://www.linkedin.com/company/microsoft/"
  ],
  "includePosts": true,
  "onlyNewPosts": false,
  "monitorName": "default"
}
```

# 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 = {
    "companies": [
        "https://www.linkedin.com/company/apify/",
        "https://www.linkedin.com/company/microsoft/"
    ]
};

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

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

```

## MCP server setup

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