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

Extracts public LinkedIn company details from explicit company URLs, with optional public employee samples and public jobs.

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

## Pricing

from $2.99 / 1,000 companies

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

Extract structured details from explicitly supplied public LinkedIn company pages in an anonymous browser. The Actor returns company identity, About text, industry, size, follower and employee counts, headquarters, specialties, images, locations, and source fields. It can also retain a bounded employee sample already visible on the public company page and fetch public company job cards matched to the company name.

### Get started

1. Open the [Actor Store page](https://apify.com/w3crawler/linkedin-company-scraper) and select **Try for free** or open the **Input** tab.
2. Supply company root URLs in `companyUrls` or use the `startUrls` compatibility alias. Provide one or the other, not both.
3. Optionally enable `scrapeEmployees` or `scrapeJobs`; both add requests and runtime.
4. Start the Actor, open the dataset, and export the rows as JSON, CSV, or Excel. Open **Run summary** (`OUTPUT_SUMMARY`) to check the outcome and counts.

### Input

At least one of `companyUrls` or `startUrls` is required in practice, and supplying both is rejected. The other fields are optional, and the defaults below are ready to use.

| Field | Type | Required? | Default | Meaning |
| --- | --- | --- | --- | --- |
| `companyUrls` | string array | Conditional | Not supplied (prefill: `https://www.linkedin.com/company/microsoft`) | Public LinkedIn company root URLs, 1–100 entries. |
| `startUrls` | object array | Conditional | Not supplied | Compatibility alias for `companyUrls`, using `{ "url": "..." }` entries. Provide one alias only. |
| `scrapeEmployees` | boolean | Optional | `false` | Include the bounded public employee sample shown on the company page. |
| `maxEmployees` | integer | Optional | `50` | Maximum employee cards retained per company, from 1 to 500. |
| `scrapeJobs` | boolean | Optional | `false` | Fetch public job cards matched to the company name. |
| `maxRequestsPerMinute` | integer | Optional | `3` | Conservative company-page request rate for the run, from 1 to 60. |
| `proxyConfiguration` | object | Optional | `{"useApifyProxy":false}` | Standard Apify Proxy settings. Direct connections are used by default. |

Example input using the prefilled company URL and the schema defaults:

```json
{
  "companyUrls": [
    "https://www.linkedin.com/company/microsoft"
  ],
  "scrapeEmployees": false,
  "maxEmployees": 50,
  "scrapeJobs": false,
  "maxRequestsPerMinute": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

The Actor opens public company pages in a browser. It does not search by company name, accept caller cookies, or visit login-gated `/people/` pages to fill an employee sample.

### Output

The dataset contains one row per parsed public company. Optional values are omitted when the page does not expose them. Operational failures remain in the run summary and logs, not in dataset rows.

| Field | Type | Availability | Meaning |
| --- | --- | --- | --- |
| `recordId` | string | Always | Stable company identity in `linkedin-company:{slug}` form. |
| `recordType` | string enum | Always | Row discriminator; always `linkedin-company`. |
| `id` | string | When a legacy row provides it | Optional legacy company identity. |
| `name` | string | Always | Public company name. |
| `linkedinUrl` | string | Always | Canonical public LinkedIn company URL. |
| `companySlug` | string | Always | Normalized company slug. |
| `linkedinId` | string | When exposed | Public LinkedIn organization identifier. |
| `website` | string | When the page links a website | External website explicitly linked by the page. |
| `about` | string | When the page exposes About text | Public company description. |
| `tagline` | string | When exposed | Public company tagline. |
| `industry` | string | When exposed | Public industry value. |
| `companyType` | string | When exposed | Public organization type. |
| `companySize` | string | When exposed | Public company-size label. |
| `followers` | integer | When exposed | Parsed public follower count. |
| `followersDisplay` | string | When exposed | Original public follower label. |
| `headquarters` | string | When exposed | Public headquarters value. |
| `founded` | string | When exposed | Public founded value. |
| `specialties` | array | When exposed | Public specialties. |
| `phone` | string | When explicitly exposed | Public phone number. |
| `logoUrl` | string | When exposed | Public logo URL. |
| `coverImageUrl` | string | When exposed | Public cover-image URL. |
| `employeeCount` | integer | When exposed | Public employee count reported by the company page. |
| `locations` | array | When exposed | Public location strings. |
| `locationCount` | integer | When exposed | Number of public locations reported. |
| `employees` | array | When `scrapeEmployees` is enabled and the sample is visible | Bounded employee sample with `name`, `title`, `profileUrl`, `imageUrl`, and `location` where exposed. |
| `employeeCountExtracted` | integer | When `scrapeEmployees` is enabled | Number of employee cards retained. |
| `employeeSampleSource` | string | When employee samples are extracted | Public page area that supplied the sample. |
| `employeeSampleRequested` | boolean | Always | Whether employee-sample enrichment was requested. |
| `employeeEnrichmentStatus` | string enum | Always | Employee-sample outcome: `not_requested`, `succeeded`, or `unavailable`. |
| `employeeEnrichmentReason` | string | When employee enrichment is attempted | Source-bounded explanation for the sample outcome. |
| `openJobs` | array | When `scrapeJobs` is enabled and jobs are found | Bounded public job cards with `jobId`, `title`, `jobUrl`, `employer`, `location`, and `postedDate` where exposed. |
| `jobCountExtracted` | integer | When `scrapeJobs` is enabled | Number of public job cards retained. |
| `jobSourceUrl` | string | When `scrapeJobs` is enabled | Public jobs page requested. |
| `jobsFinalUrl` | string | When `scrapeJobs` is enabled | Final public jobs page URL. |
| `jobsHttpStatus` | integer | Schema only; removed before saving | Jobs-page HTTP status. It is not present in saved dataset rows. |
| `affiliatedCompanies` | array | When exposed | Public affiliated companies with `name` and `url` where available. |
| `showcasePages` | array | When exposed | Public showcase pages with `name` and `url` where available. |
| `sourceUrl` | string | Always | Requested public company URL. |
| `finalUrl` | string | Always | Final public response URL. |
| `scrapedAt` | string | Always | Time the row was saved, in ISO UTC. |
| `dataOrigin` | string | Always | Public source boundary. |
| `status` | string | Schema only; removed before saving | Pre-sanitization extraction status. It is not present in saved dataset rows. |
| `dataAvailable` | boolean | Always | Whether source-backed public company data was extracted. |
| `accessStatus` | string | Always | Public access outcome, such as `public`. |
| `sourceDomain` | string | Schema only; removed before saving | Public source domain. It is not present in saved dataset rows. |
| `generatedBy` | string | Schema only; removed before saving | Generator metadata. It is not present in saved dataset rows. |
| `sourceTransport` | string | Schema only; removed before saving | Transport metadata. It is not present in saved dataset rows. |
| `extractionMethod` | string | Always | Extraction path, such as `linkedin-company-dom`. |
| `httpStatus` | integer | Schema only; removed before saving | Company-page HTTP status. It is not present in saved dataset rows. |
| `requestUserAgent` | string | Schema only; removed before saving | Browser user agent recorded during extraction. It is not present in saved dataset rows. |
| `proxyConfigured` | boolean | Schema only; removed before saving | Whether a proxy was configured. It is not present in saved dataset rows. |
| `fingerprintApplied` | boolean | Schema only; removed before saving | Whether browser fingerprinting was applied. It is not present in saved dataset rows. |

The example below is a real saved row from the 2026-10-25 run. `about` is complete; `specialties` is shortened to three of 23 entries and `locations` to three of 45, with the full location total retained in `locationCount`.

```json
{
  "recordId": "linkedin-company:microsoft",
  "recordType": "linkedin-company",
  "dataAvailable": true,
  "accessStatus": "public",
  "name": "Microsoft",
  "linkedinUrl": "https://www.linkedin.com/company/microsoft/",
  "companySlug": "microsoft",
  "website": "https://news.microsoft.com/",
  "about": "Every company has a mission. What's ours? To empower every person and every organization to achieve more. We believe technology can and should be a force for good and that meaningful innovation contributes to a brighter world in the future and today. Our culture doesn’t just encourage curiosity; it embraces it. Each day we make progress together by showing up as our authentic selves. We show up with a learn-it-all mentality. We show up cheering on others, knowing their success doesn't diminish our own. We show up every day open to learning our own biases, changing our behavior, and inviting in differences. Because impact matters. Microsoft operates in 190 countries and is made up of approximately 228,000 passionate employees worldwide.",
  "industry": "Software Development",
  "companyType": "Public Company",
  "companySize": "10,001+ employees",
  "followers": 29370507,
  "followersDisplay": "29,370,507 followers",
  "headquarters": "Redmond, Washington",
  "specialties": [
    "Business Software",
    "Developer Tools",
    "Home & Educational Software"
  ],
  "logoUrl": "https://media.licdn.com/dms/image/v2/D560BAQH32RJQCl3dDQ/company-logo_200_200/B56ZYQ0mrGGoAM-/0/1744038948046/microsoft_logo?e=2147483647&v=beta&t=ts9MGrTk7Lz3R1bmAfzCL8euuuuPWPCoXfdiLA2_IzM",
  "coverImageUrl": "https://media.licdn.com/dms/image/v2/D4E3DAQGWOa_gAs1qXg/image-scale_325_1920/B4EZ8ZTX5SJEAI-/0/1782835937311/microsoft_cover?e=2147483647&v=beta&t=z_r5wUburw7hBaw0p2LprNAGNhvq22Evh-q5biHXpYM",
  "employeeCount": 231136,
  "locations": [
    "1 Microsoft Way Redmond, Washington 98052, US",
    "1 Denison Street North Sydney, NSW 2060, AU",
    "1950 Meadowvale Blvd Mississauga, Ontario L5N 8L9, CA"
  ],
  "locationCount": 45,
  "employeeSampleRequested": false,
  "employeeEnrichmentStatus": "not_requested",
  "sourceUrl": "https://www.linkedin.com/company/microsoft",
  "finalUrl": "https://www.linkedin.com/company/microsoft/",
  "extractionMethod": "linkedin-company-dom",
  "scrapedAt": "2026-10-25T20:48:54.129Z",
  "dataOrigin": "LinkedIn public company and optional jobs pages"
}
```

### Run summary

**Run summary** is stored separately from the dataset in the run's key-value store under `OUTPUT_SUMMARY`.

| Field | Meaning |
| --- | --- |
| `recordType` | Summary discriminator; `linkedin-company-run-summary`. |
| `status` | Actor process outcome: `SUCCEEDED` or `FAILED`. |
| `runStatus` | Canonical run status; matches `status`. |
| `dataStatus` | Completeness of the dataset: `COMPLETE`, `PARTIAL`, `NO_RESULTS`, or `FAILED`. |
| `requested` | Company URLs supplied in the input. |
| `recordsPushed` | Company rows written by the output path. |
| `itemCount` | Company rows saved to the dataset. |
| `diagnosticCount` | Operational issues recorded for the run. |
| `succeededCount` | Company pages parsed into usable rows. |
| `failedCount` | Source requests or extractions that failed. |
| `optionalFailureCount` | Optional employee or job enrichment failures that did not remove saved company rows. |
| `dataAvailable` | Whether at least one usable company row was saved. |
| `proxyConfigured` | Whether a proxy configuration was supplied. |
| `generatedBy` | Tool metadata recorded for the run. |
| `sourceTransport` | `direct` or `apify_proxy`. |
| `completedAt` | Time the summary was written, in ISO UTC. |

| Status | Data status | Meaning |
| --- | --- | --- |
| `SUCCEEDED` | `COMPLETE` | Company rows were saved without an operational problem. |
| `SUCCEEDED` | `PARTIAL` | Company rows were saved, but some optional employee or job enrichment failed. Saved rows remain available. |
| `SUCCEEDED` | `NO_RESULTS` | Pages completed cleanly and returned no usable public company data. |
| `FAILED` | `FAILED` | A fatal error occurred before any usable company row was saved. |

Example `OUTPUT_SUMMARY` from the 2026-10-25 run:

```json
{
  "recordType": "linkedin-company-run-summary",
  "status": "SUCCEEDED",
  "runStatus": "SUCCEEDED",
  "dataStatus": "COMPLETE",
  "requested": 1,
  "recordsPushed": 1,
  "itemCount": 1,
  "diagnosticCount": 0,
  "succeededCount": 1,
  "failedCount": 0,
  "optionalFailureCount": 0,
  "dataAvailable": true,
  "proxyConfigured": false,
  "generatedBy": "OpenAI Codex with GPT-6",
  "sourceTransport": "direct",
  "completedAt": "2026-10-25T20:48:54.500Z"
}
```

### Coverage and limitations

The Actor accepts explicit public company root URLs and deduplicates them. It does not search by company name, follow related companies, or discover aliases. `companyUrls` and `startUrls` are alternatives; supplying both is rejected.

Company facts come from the public company page rendered in an anonymous browser. Pages can expose different modules by company, locale, session, and time. `followers`, `employeeCount`, `locations`, `specialties`, `founded`, and `phone` are returned only when the page displays them. The optional employee sample is limited to cards already visible on the public company page: the Actor never navigates to the login-gated `/people/` route and never fabricates employee identities. The sample is not a complete employee directory.

When `scrapeJobs` is enabled, job cards come from public job pages matched to the company name; they may be incomplete and can include related listings. `maxRequestsPerMinute` and the bounded request handling limit load. Login walls, CAPTCHAs, private pages, and unavailable sections are not bypassed. Operational fields that the dataset schema exposes for compatibility, such as `httpStatus`, `sourceDomain`, `sourceTransport`, `requestUserAgent`, `proxyConfigured`, `fingerprintApplied`, `generatedBy`, `status`, and `jobsHttpStatus`, are removed by the dataset sanitizer and do not appear in saved rows.

This Actor is the browser-based path with optional employee and job enrichment. For a lighter HTTP-only company-facts extraction without a browser, use LinkedIn Company Info Scraper.

### Usage and support

Apify compute, browser memory, dataset storage, and optional proxy traffic determine the run cost. Employee and job enrichment add requests and page work. Start with one company and both optional enrichments disabled, inspect the dataset and summary, then scale gradually. See the Actor's Pricing tab for current account rates.

Use the [Actor Issues page](https://apify.com/w3crawler/linkedin-company-scraper/issues) to report a problem. Include the run ID, the input used, and the `OUTPUT_SUMMARY`; do not include tokens, cookies, or private data. This Actor is not affiliated with LinkedIn. Use it only for public data and in accordance with LinkedIn's terms, robots guidance, and applicable law. Public pages can contain personal information; use the output only for lawful purposes.

# Changelog

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

# Actor input Schema

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

List of LinkedIn company profile URLs to scrape (e.g. https://www.linkedin.com/company/microsoft).

## `startUrls` (type: `array`):

Compatibility alias for companyUrls.

## `scrapeEmployees` (type: `boolean`):

Whether to include LinkedIn's public employee sample from the company page.

## `maxEmployees` (type: `integer`):

Maximum number of public employee sample cards to include per company.

## `scrapeJobs` (type: `boolean`):

Whether to scrape current open job listings from the company.

## `maxRequestsPerMinute` (type: `integer`):

Conservative company-page request rate across this run.

## `proxyConfiguration` (type: `object`):

Optional proxy settings. Direct connections are used by default.

## Actor input object example

```json
{
  "companyUrls": [
    "https://www.linkedin.com/company/google",
    "https://www.linkedin.com/company/apple"
  ],
  "scrapeEmployees": false,
  "maxEmployees": 50,
  "scrapeJobs": false,
  "maxRequestsPerMinute": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `runSummary` (type: `string`):

Run status and counters stored by the Actor.

# 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/microsoft"
    ],
    "maxEmployees": 50,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

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

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

```

## MCP server setup

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