# LinkedIn Company Scraper (`api_creators/linkedin-company-scraper`) Actor

Extract public LinkedIn company profiles by page URL or company name, with no login or cookies.

- **URL**: https://apify.com/api_creators/linkedin-company-scraper.md
- **Developed by:** [API Creators](https://apify.com/api_creators) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.50 / 1,000 company profiles

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 Scraper

Turn public LinkedIn company pages into structured company profiles. Give the Actor company page URLs, page slugs, or company names; it returns available details in a dataset you can export as JSON, CSV, or Excel. No LinkedIn account or cookies are required.

This independent Actor is not affiliated with or endorsed by LinkedIn.

### What you can extract

- Company name, LinkedIn ID, page URL, tagline, and website
- Industry, company type, specialties, founding year, and description
- Employee and follower counts when available, plus the declared company-size range
- Headquarters, locations, logo, cover images, affiliated and similar pages
- Recent posts when LinkedIn includes them on the public page

Fields can be missing or incomplete when they are not available on the public page. Counts and posts are snapshots and can change. This Actor does not retrieve lists of individual employees.

### Input

Add one or both types of input:

- **Company LinkedIn URLs or slugs:** public `/company/`, `/showcase/`, or `/school/` page URLs; a bare value is treated as a `/company/` page slug.
- **Company names:** names to look up through LinkedIn's public company suggestions. Candidate pages are checked against the selected LinkedIn company ID.

```json
{
  "companies": ["https://www.linkedin.com/company/stripe/"],
  "searches": ["Netflix"],
  "maxConcurrency": 2,
  "maxRetries": 6
}
```

Use an exact page URL when you know it. A slug is an address, not a name search, and LinkedIn may redirect it to a different page type or entity. For name searches, a company may be ambiguous or its page URL may not be discoverable; check the returned name, ID, and URL against your intended company.

The Actor automatically retries temporary failures. You can set `maxRetries` from 0 to 6; lower values can reduce work but can also reduce successful results. Values under 3 do not reach the backup proxy. `maxConcurrency` ranges from 1 to 4.

### Output

Each successful company is returned once per run, even if multiple inputs lead to the same company. The `input` field identifies the input associated with the emitted result. An unsuccessful input produces an item with `error`, `errorDescription`, and `input`. Examples of error codes include `invalid_url`, `company_not_found`, `company_url_not_found`, `company_failed`, and `search_failed`.

The following is a shortened example; the full output includes additional fields:

```json
{
  "input": "https://www.linkedin.com/company/stripe/",
  "id": "2135371",
  "name": "Stripe",
  "universalName": "stripe",
  "linkedinUrl": "https://www.linkedin.com/company/stripe",
  "pageType": "company",
  "website": "https://stripe.com",
  "industries": ["Technology, Information and Internet"]
}
```

The run's `SUMMARY` record reports result, retry, and error counts. You can inspect all dataset items in the Output tab or retrieve them through the Apify API.

### Pricing

The Actor costs **$0.005 per run** plus **$2.50 per 1,000 distinct company results** ($0.0025 per company). The run fee applies even if no company is returned. Error items and duplicate companies do not incur a company-result charge. The run memory is fixed at 1 GB, so Apify's start event is charged once per run. Set a maximum cost per run to limit your spending.

For example, a run returning 10 companies costs $0.030: $0.005 for the run and $0.025 for the results.

### Limitations

LinkedIn can change its public pages or temporarily restrict access. Name matching follows the site's suggestions and verifies the selected company ID, but it cannot resolve every name. Deleted pages, private data, individual member profiles, and complete post histories are outside this Actor's output. A temporary block or parsing failure is reported as an error rather than a successful company.

# Actor input Schema

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

Public company, showcase, or school page URLs, or company slugs.

## `searches` (type: `array`):

Company names to look up. The selected result is verified against its LinkedIn company ID.

## `maxConcurrency` (type: `integer`):

Maximum number of requests handled at once. Chromium limits this to four.

## `maxRetries` (type: `integer`):

Additional attempts after a temporary error or block. DataImpulse is used starting with retry 3, so fewer than 3 retries will not reach it. Lower values may reduce successful results.

## Actor input object example

```json
{
  "companies": [
    "https://www.linkedin.com/company/stripe/",
    "https://www.linkedin.com/company/microsoft/"
  ],
  "searches": [
    "Netflix"
  ],
  "maxConcurrency": 4,
  "maxRetries": 6
}
```

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

// Run the Actor and wait for it to finish
const run = await client.actor("api_creators/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/stripe/"] }

# Run the Actor and wait for it to finish
run = client.actor("api_creators/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/stripe/"
  ]
}' |
apify call api_creators/linkedin-company-scraper --silent --output-dataset

```

## MCP server setup

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