# LinkedIn Company Scraper - No Cookies, No Login (`lanternlab318/linkedin-company`) Actor

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

## Pricing

$2.49 / 1,000 company page reads

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 - No Cookies, No Login

Turn LinkedIn company page URLs or slugs into **one structured row per company**: name, LinkedIn company ID, tagline, description, website, industry, company size band (with its numeric bounds), headquarters (as displayed and as a structured postal address with ISO country code), founded year, company type, specialties, exact follower count, employees on LinkedIn, **every office location the page lists**, logo and cover image. **$2.49 per 1,000 companies, no start fee** - only companies we actually read are charged. No LinkedIn login, no cookies, no account of your own.

Input:

```json
{
  "companyUrls": [
    "https://www.linkedin.com/company/microsoft",
    "de.linkedin.com/company/apify/about/",
    "mercadolibre"
  ]
}
```

Output - one row per line you gave, in your order. Sample from the real public page of `/company/apify` (description and URLs shortened):

```json
{
  "recordType": "company",
  "status": "ok",
  "inputUrl": "de.linkedin.com/company/apify/about/",
  "companyUrl": "https://www.linkedin.com/company/apify",
  "pageType": "company",
  "slug": "apify",
  "inputSlug": "apify",
  "duplicateOf": null,
  "partial": false,
  "partialReason": null,
  "statusText": "This company was read from its public LinkedIn page.",
  "upstreamAttempts": 1,
  "companyId": "10608457",
  "name": "Apify",
  "tagline": "Thousands of Actors to automate your business, get real-time web data, and equip your AI agents.",
  "description": "Apify is the largest marketplace of tools for AI. More than 100,000 Actors to automate your business. …",
  "website": "https://apify.com/",
  "industry": "Technology, Information and Internet",
  "companySize": "201-500 employees",
  "companySizeMin": 201,
  "companySizeMax": 500,
  "headquarters": "Prague",
  "headquartersAddress": {
    "streetAddress": "Vodickova 704/36",
    "locality": "Prague",
    "region": null,
    "postalCode": "11100",
    "country": "CZ"
  },
  "foundedYear": 2016,
  "organizationType": "Privately Held",
  "specialties": ["Web scraping", "Browser automation", "AI agents", "API integration", "Data pipelines", "No-code tools", "Actor marketplace", "Developer platform"],
  "followersCount": 46167,
  "followersText": "46,167 followers",
  "employeesOnLinkedIn": 274,
  "locations": [
    { "isPrimary": true, "lines": ["Vodickova 704/36", "Prague, 11100, CZ"], "text": "Vodickova 704/36, Prague, 11100, CZ" }
  ],
  "logoUrl": "https://media.licdn.com/dms/image/v2/…/apify_logo?…",
  "coverImageUrl": "https://media.licdn.com/dms/image/v2/…",
  "otherDetails": {},
  "fieldsNotOnPage": [],
  "canonicalUrl": "https://www.linkedin.com/company/apify",
  "collectedAt": "2026-11-03T08:52:10.411Z"
}
```

### What you get

- **Company identity**: `name`, `slug` (the one the page itself uses - it differs from `inputSlug` when LinkedIn redirected a renamed page), `pageType` (`company` or `showcase`), LinkedIn's numeric `companyId` read from the page's own markup, and `canonicalUrl`.
- **The "About us" panel**, exactly as LinkedIn displays it: `description`, `website` (the real destination, not LinkedIn's redirect link), `industry`, `companySize` plus `companySizeMin` / `companySizeMax` (the band's own numbers - `"10,001+ employees"` gives `10001` / `null`), `headquarters`, `foundedYear`, `organizationType`, `specialties` as a list. Any other item a company has filled in is kept verbatim in `otherDetails`, keyed by the label LinkedIn shows.
- **Structured headquarters address** from LinkedIn's own schema.org data: street, locality, region, postal code and ISO country code.
- **Every office location** the page lists (Microsoft's page lists 45), primary first, each as its address lines.
- **Audience figures**: `followersCount` (exact, as the page shows it) and `employeesOnLinkedIn`.
- **Images**: `logoUrl` and `coverImageUrl`.
- **`collectedAt`** on every row. LinkedIn publishes no "last updated" time for a company page, so our own observation time is the only time a row can carry.

### Limits - read these before you buy

- **Fields the page does not show are `null`, never guessed - and they are listed.** Many companies leave items such as "Founded" or "Specialties" empty (Microsoft has no founded year on its page). `fieldsNotOnPage` names every field that was not on the public page, so a `null` there means "not on the page", not "we failed to read it".
- **Some pages have almost nothing on them.** A page whose company never filled in its profile (in our tests, for example, `/company/vingroup`) has no "About us" section at all: you get the name, company ID, followers and employees on LinkedIn, and `fieldsNotOnPage` lists the rest. Such a row is still a read page and is charged; LinkedIn's generic placeholder images are never reported as a logo or cover.
- **`employeesOnLinkedIn` is not a headcount.** It is the number of LinkedIn members who list the company as their employer, as the page displays it. The company's own reported size is the `companySize` band.
- **No numeric company IDs as input.** `linkedin.com/company/1035` opens only for signed-in visitors; LinkedIn sends everyone else to its login page. Such a line is answered `invalid_url` with an explanation, free, with no request sent. Use the name slug (`microsoft`) instead - every company page URL has one.
- **No employee lists, no posts, no jobs.** The page also shows the company's posts, a face pile of employees, "Similar pages" and job openings. None of it is read or written. For job listings use a LinkedIn jobs Actor.
- **No funding, no phone, no email.** LinkedIn does not show funding data or contact details to a logged-out visitor.
- **School pages (`/school/...`) are not company pages** and are refused as `invalid_url`. Showcase pages (`/showcase/...`) are supported.
- **LinkedIn sometimes throttles an IP.** Each request goes out on a fresh proxy session and a refused one is retried from a new session, up to 4 attempts per company. If every attempt is refused the row is `status: "blocked"`, **free**, and says so - it is never reported as an empty company. Run those lines again.

### What it does

- Reads one page per company: `linkedin.com/company/<slug>` (or `/showcase/<slug>`), logged out. No cookie is sent and none is kept.
- Fetches 4 companies at a time, each request on its own proxy session; a renamed page's redirect is followed as a request of its own, from a fresh session too.
- Accepts the URL forms you actually have: full URLs, country subdomains, sub-pages (`/about/`, `/jobs/`, `/people/` - all read as the company itself), URLs with tracking parameters, `/company/<slug>` paths and bare slugs. Slugs are case-insensitive, so `Microsoft` and `microsoft` are one company.
- **One row per input line, in your order, always** - including a line that was invalid, refused, or never reached, so you can join the output straight back onto your list. The same company listed twice is fetched once and charged once; so are two slugs LinkedIn redirects to the same page. The repeat row carries the same data and names the earlier line in `duplicateOf`.
- `status` is `ok`, `not_found` (LinkedIn answered HTTP 404: no page at that slug - an empty result, not a failure), `blocked`, `invalid_url`, `upstream_error` or `not_collected` (the run stopped at its request ceiling or your maximum charge before this line). `statusText` on every row says which, in a sentence.
- Flags a row that was read but is not the whole picture with `partial: true` and a `partialReason`: `no_structured_data` (the page came without its schema.org block, so the exact employee count, structured address and logo may be missing) or `empty_company` (a page with no name on it - written, flagged, not charged).
- Caps itself: `maxUpstreamRequests` is a hard ceiling on requests to LinkedIn for the whole run, retries included, derived from your list (5 per company) when you leave it empty.

### Input

| Field | What it does |
| --- | --- |
| `companyUrls` | LinkedIn company or showcase pages, one per line. Full URL, country subdomain, sub-page, `/company/<slug>` path or bare slug. Required. |
| `maxUpstreamRequests` | Optional hard ceiling on requests to LinkedIn for the whole run, retries included. Default: 5 per company in your list. |
| `proxyConfiguration` | Where requests come from. Default: the Apify datacenter proxy. |

### Output

- `recordType: "company"` - one per input line. Charged only when `status` is `ok`, the row is not `empty_company`, and the company was not already read earlier in the run.
- `recordType: "RUN_SUMMARY"` - the last row, also stored under the key `RUN_SUMMARY`: rows written and charged, a count per status, incomplete rows by reason, repeated and invalid lines, the success rate over the companies a request was sent for, how many rows had a description, website, founded year, locations and company ID, requests and retries sent to LinkedIn, and why collection stopped. Free.

### Pricing

Pay per result: **$2.49 per 1,000 companies** ($0.00249 per company row), no start fee. Rows with any status other than `ok`, `empty_company` rows, repeats and the run summary are free. Set a maximum charge per run in Apify and the Actor stops at it, keeping what it already collected and marking the rest `not_collected`.

### Responsible use

This Actor reads only what LinkedIn publishes to visitors who are not logged in, and only about the organisation: it writes no member's name, photo or profile. You are responsible for how you use the output - check that your use is lawful where you operate and acceptable under LinkedIn's terms, and keep `collectedAt` so you can tell how old a record is.

# Actor input Schema

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

One LinkedIn company or showcase page per line. A full URL (`https://www.linkedin.com/company/microsoft`), a country subdomain (`de.linkedin.com/company/...`), a sub-page such as `/about/` or `/jobs/`, a `/showcase/<slug>` page, or just the slug (`microsoft`) all work. Numeric company IDs (`/company/1035`) are not accepted: LinkedIn opens those only for signed-in visitors. You get one row per line, in your order, even for a line that could not be read. The same company written twice is fetched once and charged once.

## `maxUpstreamRequests` (type: `integer`):

Hard ceiling on the HTTP requests this run sends to LinkedIn, retries included. At the ceiling collection stops, the companies not reached get status "not_collected", and the run ends normally. Leave empty and the Actor works out a ceiling from your list (5 per company), so a run is never unbounded.

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

The proxy requests to LinkedIn go through. Every request goes out on a fresh proxy session, and a request LinkedIn throttles is retried from a new one. The default datacenter pool is the cheapest; switch to residential only if your runs show many "blocked" rows.

## Actor input object example

```json
{
  "companyUrls": [
    "https://www.linkedin.com/company/microsoft"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `runSummary` (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/microsoft"
    ]
};

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,lanternlab318/linkedin-company"
        }
    }
}
```

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/kgUMS9S6DF22QsChx/builds/ORt1iHceTC6DjW1XG/openapi.json
