# LinkedIn Company Profile Scraper (`xtracto/linkedin-company-profile`) Actor

Extract a company's public LinkedIn overview: name, description, follower count, industry, company size, headquarters, website, founded year, specialties, logo and company id — plus the latest public company posts (text, link, images). Public company data only; no login, no personal profiles.

- **URL**: https://apify.com/xtracto/linkedin-company-profile.md
- **Developed by:** [Farhan Febrian Nauval](https://apify.com/xtracto) (community)
- **Categories:** Lead generation, Jobs
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.99 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## LinkedIn Company Profile Scraper

Turn a LinkedIn company handle (like `microsoft`) into a clean, structured record of that company's **public profile** — the same overview anyone can see without logging in: description, follower count, industry, company size, headquarters, website, founding year, specialties, logo, and the company's latest public posts.

This actor is for **company** information only. It does **not** log in, and it does **not** collect personal profiles, employee lists, or email addresses.

### Why use this actor

- **No account and no login required** — reads the public company page only.
- **The firmographics you actually need**: name, description, followers, industry, company size, headquarters, website, founded year, specialties, and logo — all as clean fields.
- **Latest company posts included** (optional): the text, link, and images of the most recent posts shown on the page.
- **Handles or full URLs** — paste `microsoft` or `https://www.linkedin.com/company/stripe/`, either works.
- **Stable JSON output** ready for a spreadsheet, database, CRM enrichment, or a sales/research pipeline.
- **Fails loudly, never silently** — if a company can't be read, you get a clear error row instead of a blank one.

### How it works

1. You give the actor a list of company handles or LinkedIn company page links.
2. For each one, the actor opens the company's public overview page.
3. It reads the company's key facts and its most recent public posts.
4. Results stream into your dataset, ready to download as JSON, CSV, or Excel.

You don't manage any browsers, sessions, or accounts — just provide the companies.

### Input

```json
{
  "companies": ["microsoft", "https://www.linkedin.com/company/stripe/"],
  "includePosts": true,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
````

| Field | Type | Description |
|-------|------|-------------|
| `companies` | array | Company handles (e.g. `microsoft`) or full LinkedIn company URLs. The handle is the part after `/company/` in the address bar. One record per company. |
| `includePosts` | boolean | Also collect the latest public company posts (text, link, images). Default `true`. Set `false` for firmographics only. |
| `maxItems` | integer | Overall cap on records for the run. `0` = no limit (default). |
| `maxConcurrency` | integer | How many companies to process at once. Default `3`. |
| `proxyConfiguration` | object | Proxy settings. Default is residential (US), recommended for any real volume. |

### Output

One record per company. Real sample (Stripe, posts trimmed to 2):

```json
{
  "_input": "stripe",
  "_source": "S1-ldjson+dom",
  "_scrapedAt": "2026-07-10T17:47:05Z",
  "url": "https://www.linkedin.com/company/stripe",
  "companySlug": "stripe",
  "companyId": "2135371",
  "name": "Stripe",
  "description": "Stripe builds programmable financial services. Millions of companies—from the world's largest enterprises to the most ambitious startups—use Stripe to accept payments, grow their revenue, and accelerate new business opportunities. Headquartered in San Francisco and Dublin, the company aims to increase the GDP of the internet.",
  "followerCount": 1548934,
  "industry": "Technology, Information and Internet",
  "companySize": "5,001-10,000 employees",
  "organizationType": "Privately Held",
  "foundedOn": "2010",
  "specialties": null,
  "specialtiesList": null,
  "website": "https://stripe.com",
  "headquarters": "South San Francisco, California",
  "address": {
    "streetAddress": "354 Oyster Point Blvd",
    "postalCode": "94080",
    "city": "South San Francisco",
    "region": "California",
    "country": "US"
  },
  "numberOfEmployees": 17427,
  "employeesOnLinkedIn": 17427,
  "logoUrl": "https://media.licdn.com/dms/image/v2/D560BAQE2ZfJyfn-VCg/company-logo_200_200/…/stripe_logo",
  "sameAs": ["https://stripe.com"],
  "aboutRaw": {
    "website": "https://stripe.com",
    "industry": "Technology, Information and Internet",
    "size": "5,001-10,000 employees",
    "headquarters": "South San Francisco, California",
    "organizationType": "Privately Held",
    "foundedOn": "2010"
  },
  "latestPosts": [
    {
      "activityId": "7481376718868643840",
      "url": "https://www.linkedin.com/posts/stripe_more-people-will-become-entrepreneurs-with-activity-7481376718868643840-WVYP",
      "text": "\"More people will become entrepreneurs with AI. It's never been as easy to test ideas… We're starting to see solo entrepreneurs on track to build $1 billion businesses on Replit.\" Watch the full interview: https://lnkd.in/g9fYCTTK.",
      "images": null,
      "datePublished": "2026-07-10T16:00:07.014Z",
      "isRepost": false
    },
    { "activityId": "7480998026195431424", "url": "https://www.linkedin.com/feed/update/urn:li:activity:7480998026195431424", "text": "Most of us judge a book by its cover before we've read a single page…", "images": null, "datePublished": null, "isRepost": true }
    // … 8 more
  ],
  "latestPostCount": 10
}
```

For reference, Microsoft in the same run returned `followerCount: 28588901`, `industry: "Software Development"`, `companySize: "10,001+ employees"`, `headquarters: "Redmond, Washington"`, `numberOfEmployees: 233345`, and 10 latest posts.

#### Output fields

| Field | Type | Description |
|-------|------|-------------|
| `name` | string | Company name. |
| `companySlug` | string | The handle from the URL (e.g. `stripe`). |
| `companyId` | string | LinkedIn's numeric id for the company. |
| `description` | string | The company's "About" text. |
| `followerCount` | integer | Number of LinkedIn followers. |
| `industry` | string | Industry classification. |
| `companySize` | string | Employee-count band (e.g. `5,001-10,000 employees`). |
| `organizationType` | string | Type (e.g. `Privately Held`, `Public Company`). |
| `foundedOn` | string | Year founded, when shown. |
| `specialties` / `specialtiesList` | string / array | Listed specialties, as a string and a split list. |
| `website` | string | The company's own website. |
| `headquarters` | string | Headquarters city/region as shown. |
| `address` | object | Postal address (street, postal code, city, region, country), when available. |
| `numberOfEmployees` | integer | Employee count reported on the page. |
| `employeesOnLinkedIn` | integer | Number of employees listed on LinkedIn. |
| `logoUrl` | string | Company logo image link. |
| `sameAs` | array | Other official links for the company. |
| `aboutRaw` | object | The raw "About" section, key/value, exactly as shown. |
| `latestPosts` | array | Latest public posts: `activityId`, `url`, `text`, `images`, `datePublished` (when available), `isRepost`. |
| `latestPostCount` | integer | Number of posts captured. |

On failure the actor writes a row with `_error` and `_errorDetail` (for example `authwall`, `not_a_company_page`, `rate_limited`) instead of silently skipping the company.

### Notes & limits

- **Firmographics are the main value.** The company facts (followers, industry, size, HQ, website, founded, specialties) are stable and complete.
- **Posts are the latest snapshot, not full history.** The page shows roughly the 10 most recent posts. There is **no** full post archive, **no** older posts, and **no** reaction or comment counts. Post dates are only present for the posts that the page publishes with a date; where a date isn't available it is left empty rather than guessed.
- Some fields vary by company — for example not every company lists specialties, a founding year, or a postal address. Missing values come back empty rather than invented.
- A **residential proxy (US)** is set by default and recommended for any real volume, so requests aren't rate-limited or bounced to the sign-in wall.

### Legality note

This actor collects **public company information only** — the overview page that LinkedIn shows to everyone without logging in. It does **not** log in, and it does **not** collect personal profiles, individual employees, or contact details. Company posts are the company's own public posts. Use this for legitimate B2B research, lead enrichment, and market mapping, and respect LinkedIn's terms and applicable law for your use case.

# Actor input Schema

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

Company handles OR full LinkedIn company URLs. A handle is the part after /company/ in the address bar, e.g. 'microsoft' or 'https://www.linkedin.com/company/stripe/'. Each yields one record.

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

Also collect the latest public company posts shown on the overview page (text, link, images). This is a snapshot of the most recent posts (about 10), not the full history. Turn off for firmographics only.

## `maxItems` (type: `integer`):

Overall cap on records pushed for the whole run. 0 = no limit.

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

How many companies to process in parallel. Keep low to stay gentle on the site.

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

The overview page is public, but at any volume a residential proxy avoids rate-limits and the sign-in wall. Default is residential (US).

## Actor input object example

```json
{
  "companies": [
    "microsoft"
  ],
  "includePosts": true,
  "maxItems": 0,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# 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": [
        "microsoft"
    ]
};

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

# Run the Actor and wait for it to finish
run = client.actor("xtracto/linkedin-company-profile").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "microsoft"
  ]
}' |
apify call xtracto/linkedin-company-profile --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=xtracto/linkedin-company-profile",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "LinkedIn Company Profile Scraper",
        "description": "Extract a company's public LinkedIn overview: name, description, follower count, industry, company size, headquarters, website, founded year, specialties, logo and company id — plus the latest public company posts (text, link, images). Public company data only; no login, no personal profiles.",
        "version": "0.1",
        "x-build-id": "3cXxqbPIpuSatAmyi"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/xtracto~linkedin-company-profile/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-xtracto-linkedin-company-profile",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/xtracto~linkedin-company-profile/runs": {
            "post": {
                "operationId": "runs-sync-xtracto-linkedin-company-profile",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/xtracto~linkedin-company-profile/run-sync": {
            "post": {
                "operationId": "run-sync-xtracto-linkedin-company-profile",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "companies"
                ],
                "properties": {
                    "companies": {
                        "title": "Companies",
                        "type": "array",
                        "description": "Company handles OR full LinkedIn company URLs. A handle is the part after /company/ in the address bar, e.g. 'microsoft' or 'https://www.linkedin.com/company/stripe/'. Each yields one record.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "includePosts": {
                        "title": "Include latest posts",
                        "type": "boolean",
                        "description": "Also collect the latest public company posts shown on the overview page (text, link, images). This is a snapshot of the most recent posts (about 10), not the full history. Turn off for firmographics only.",
                        "default": true
                    },
                    "maxItems": {
                        "title": "Max records total (0 = all)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Overall cap on records pushed for the whole run. 0 = no limit.",
                        "default": 0
                    },
                    "maxConcurrency": {
                        "title": "Max concurrent workers",
                        "minimum": 1,
                        "maximum": 8,
                        "type": "integer",
                        "description": "How many companies to process in parallel. Keep low to stay gentle on the site.",
                        "default": 3
                    },
                    "proxyConfiguration": {
                        "title": "Proxy",
                        "type": "object",
                        "description": "The overview page is public, but at any volume a residential proxy avoids rate-limits and the sign-in wall. Default is residential (US).",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "US"
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
