# LinkedIn Company Search Scraper (Beyond 1,000 Limit) (`alexmorain/linkedin-company-search-scraper`) Actor

Search LinkedIn companies by keyword, location, industry and size, and go past LinkedIn's 1,000 results limit. Website, employees, headquarters with details. No cookies, no account. From $0.50 per 1,000 companies.

- **URL**: https://apify.com/alexmorain/linkedin-company-search-scraper.md
- **Developed by:** [Alexis Morain](https://apify.com/alexmorain) (community)
- **Categories:** Lead generation, Social media
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 linkedin 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 Search Scraper (Beyond the 1,000 Limit)

Search LinkedIn companies by keyword, location, industry and company size, and get more than the 1,000 results LinkedIn stops at. Name, LinkedIn URL, industry, headquarters, followers, and with one option the website, phone, employee count, address, founding year and specialities. No cookies, no LinkedIn account, no proxy to set up.

### What does LinkedIn Company Search Scraper do?

LinkedIn shows at most 1,000 companies for any company search, whatever the number of matches. A search for "software" announces tens of thousands of companies and gives you the first 1,000. Most tools stop there.

This Actor reads the 1,000, notices the limit, and splits the search into smaller ones that LinkedIn does answer: first by company size, then by industry, then by location. The pieces are merged, duplicates are removed, and you are charged once per company.

What you can do with it:

- **Build prospect lists**: all software companies with 11 to 50 employees in Germany, all solar installers in Texas.
- **Map a market**: every company that mentions a keyword, split by country, industry and size.
- **Enrich a list**: add website, phone, employee count and headquarters address to each company.
- **Monitor a segment**: run it every week with the new-only option and get only the companies that appeared since the last run, in Slack, Make or n8n through the webhook.

It works with a keyword, with filters only (no keyword at all), or both.

### Why use it?

- **It goes past 1,000.** In a test search for "software", one run returned 5,000 distinct companies, five times what a single LinkedIn search shows.
- **It tells you where the limit hit.** The run log and the SUMMARY record list every slice, how many companies it returned and whether it reached the 1,000 limit. A slice that ends before the limit was read to the end.
- **Cheap per company.** From $0.50 per 1,000 companies on the Gold plan, $1.00 on the free and Bronze plans. Details of a company page are a separate, higher price and only charged when the page was found.
- **No account, no cookies.** Nothing to log in to, nothing that can get your own LinkedIn account restricted.
- **Built for monitoring.** New-only mode, a named watch per search, webhook at the end of the run, and the run survives a platform migration without charging a company twice.

### How much will it cost?

You pay per company delivered, plus a small start fee. There is no charge for duplicates, for companies already delivered by an earlier new-only run, or for a slice that returns nothing.

| Event | Free / Bronze | Silver | Gold and above |
|---|---|---|---|
| Company (search result) | $1.00 / 1,000 | $0.75 / 1,000 | $0.50 / 1,000 |
| Company with details (page found) | $3.50 / 1,000 | $3.00 / 1,000 | $2.50 / 1,000 |
| Actor start | $0.002 per GB of memory | | |

Examples at the Bronze price: 1,000 companies cost about $1.00, 5,000 companies about $5.00, 1,000 companies with details about $3.50. Set the maximum cost per run in the Apify run options and the Actor stops cleanly when it is reached.

Free Apify plans can run it too, with a small daily allowance. When the allowance is used up the run ends normally with the companies delivered so far and a message.

### How to use it

1. Open the Actor and add one or more **Keywords**, or leave them empty and use **Locations**, **Industries** and **Company sizes** only.
2. Set **Maximum companies**. The default is 1,000.
3. Keep **Go beyond LinkedIn's 1,000 limit** on to split searches that reach the limit. Turn it off to get only the first 1,000 of each search.
4. Turn on **Add company details** if you need website, phone, employee count, address and specialities.
5. Start the run, then read the dataset as a table, JSON, CSV or Excel, or call it by API.

Each location is looked up on LinkedIn and the matched place is written in the log and in the SUMMARY record (`locationsMatched`). If a place is matched wrongly, give its LinkedIn geo id instead of its name.

### Input

| Field | Type | What it does |
|---|---|---|
| `searches` | list of text | Words to look for in company names. Empty means filters only. |
| `locations` | list of text | Countries, regions, cities or LinkedIn geo ids where the company has an office. |
| `industries` | list of text | LinkedIn industry names (for example `Software Development`) or numeric ids. 434 industries. |
| `companySizes` | list | Any of `1-10`, `11-50`, `51-200`, `201-500`, `501-1000`, `1001-5000`, `5001-10000`, `10001+`. |
| `goBeyondLimit` | true/false | Split a search that reaches the 1,000 limit. Default true. |
| `includeDetails` | true/false | Add the company page fields. Default false. |
| `maxItems` | number | Stop after this many companies in total. Default 1,000. |
| `onlyNew` | true/false | Skip companies already delivered by earlier runs with the same watch name. |
| `watchName` | text | Names the list used by `onlyNew`. One name per monitored search. |
| `webhookUrl` | text | A JSON summary is posted here at the end of the run. Not written in any log. |

Keywords, locations, industries and sizes are combined: two keywords, three locations and two sizes make twelve searches, each split further if it reaches the limit. The limit is 300 combinations per run.

Example input:

```json
{
  "searches": ["software"],
  "locations": ["Germany"],
  "companySizes": ["11-50", "51-200"],
  "includeDetails": true,
  "maxItems": 2000
}
```

### Output

One row per company. With details off, the detail fields are `null` and `detailsFound` is `null`.

| Field | Content |
|---|---|
| `companyId`, `universalName` | LinkedIn numeric id and the handle in the company URL |
| `name`, `linkedinUrl` | Company name and page URL |
| `industry`, `location` | Industry and headquarters as LinkedIn writes them |
| `followersText`, `followersCount` | "210K followers" and the same as a number (exact with details) |
| `summary`, `logo` | Short summary from the search result and the logo URL |
| `companySize` | The size range used to find the company, when the search was split or filtered by size |
| `website`, `domain`, `phone`, `tagline`, `description` | From the company page (details) |
| `employeeCount`, `employeeRange` | Employees on LinkedIn and the range, for example `51-200` (details) |
| `foundedYear`, `companyType`, `specialities` | From the company page (details) |
| `headquarters` | `line1`, `city`, `area`, `postalCode`, `country` (details) |
| `detailsFound` | `true` when the page was read, `false` when it was asked for but not found |
| `scrapedAt` | UTC time of the run |

The SUMMARY record of the key-value store lists every slice (`slice`, `read`, `new`, `wall`) and the stop reason.

### Code examples

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("alexmorain/linkedin-company-search-scraper").call(run_input={
    "searches": ["solar installer"],
    "locations": ["Texas"],
    "maxItems": 3000,
})
for company in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(company["name"], company["location"], company["linkedinUrl"])
```

**JavaScript**

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('alexmorain/linkedin-company-search-scraper').call({
    searches: ['fintech'],
    companySizes: ['11-50'],
    includeDetails: true,
    maxItems: 500,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, items[0]);
```

**cURL**

```bash
curl -X POST "https://api.apify.com/v2/acts/alexmorain~linkedin-company-search-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"searches": ["fintech"], "maxItems": 100}'
```

### Integrations

Send the dataset to Google Sheets, Airtable, HubSpot, Make, n8n, Zapier or any HTTP endpoint with the Apify integrations, or use `webhookUrl` for a message in Slack or Discord at the end of each run. For a weekly watch, schedule the run, turn on `onlyNew` and keep the same `watchName`.

### FAQ

#### How do I get more than 1,000 results from a LinkedIn company search?

Keep "Go beyond LinkedIn's 1,000 limit" on. When a search reaches the limit, the Actor splits it by company size, then industry, then location, and merges the results. In a test with the keyword "software", one run returned 5,000 distinct companies, and the log shows which slices were read to the end.

#### Does it find every company that matches?

Not always, and the run tells you. A slice that ends before LinkedIn's limit was read to the end. A slice that still reaches 1,000 after being split by size, industry and location cannot be split further, and the SUMMARY record lists it under `slicesUnsplittable`. LinkedIn's own "number of results" is only an estimate: for the same search it gave 66,378 on one call and 1,027,221 on the next, so it cannot be used as a target.

#### Can I search without a keyword?

Yes. Locations, industries and company sizes work alone: for example every company in the "Software Development" industry with 51 to 200 employees in Berlin.

#### Does it need my LinkedIn account or cookies?

No. It uses no LinkedIn login and no cookies, so there is nothing to expire and no account to protect.

#### Where do the website and employee count come from?

From each company's LinkedIn page, when you turn on "Add company details". Companies whose page cannot be read are delivered as plain results and charged at the plain price.

#### Can I use it as a LinkedIn API?

You can call it by API (see the code examples) and read the dataset in JSON. It is not the official LinkedIn API and it needs no LinkedIn developer app.

#### Is it legal to scrape LinkedIn company data?

The Actor reads only company pages and search results that LinkedIn shows publicly, and it collects no personal profiles and no email addresses. Company data can still include phone numbers and names of small businesses that point to a person, and LinkedIn's terms apply to your use. This is not legal advice: check with your counsel before a large campaign, and delete data you no longer use.

#### Support

Something wrong, missing or surprising? Open an issue on the Issues tab of the Actor page, with the run link. I answer there. The API tab has everything you need for programmatic access.

### Guide and use cases

Use cases for outbound and market mapping, the output fields, pricing and common questions are on the [LinkedIn Company Search Scraper page](https://alexis.morain.fr/en/scrapers/linkedin-company-search-scraper/) of my site. The [Lead generation family page](https://alexis.morain.fr/en/scrapers/families/lead-generation/) puts it side by side with the other scrapers of the same family.

# Actor input Schema

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

Words to look for in company names, one per line, for example <code>fintech</code> or <code>solar installer</code>. Leave empty to search with filters only (location, industry, size).

## `locations` (type: `array`):

Places where the companies have an office: a country, region or city (<code>Germany</code>, <code>Austin, Texas</code>) or a LinkedIn geo id. Each place is looked up on LinkedIn, the matched name is written in the log.

## `industries` (type: `array`):

LinkedIn industry names (<code>Software Development</code>, <code>Financial Services</code>) or numeric ids. The full list has 434 industries.

## `companySizes` (type: `array`):

Employee ranges to keep. Leave empty for all sizes.

## `goBeyondLimit` (type: `boolean`):

LinkedIn shows at most 1,000 companies per search. When on, a search that reaches that limit is split by company size, then industry, then location, and the results are merged without duplicates. Turn off to get only the first 1,000 of each search.

## `includeDetails` (type: `boolean`):

Adds website, phone, employee count and range, headquarters address, founding year, company type, specialities and description from each company page. Charged at the higher <b>company with details</b> price only for companies whose page was found.

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

Stops the run after this many companies, all searches together.

## `onlyNew` (type: `boolean`):

For monitoring. Skips and does not charge companies already delivered by earlier runs with the same watch name.

## `watchName` (type: `string`):

Names the list of already delivered companies used by <b>Only companies not delivered before</b>. Use one name per monitored search.

## `webhookUrl` (type: `string`):

Optional. A JSON summary is posted here at the end of the run (Slack, Discord, Make, n8n, Zapier). Not logged.

## Actor input object example

```json
{
  "searches": [
    "fintech",
    "solar installer"
  ],
  "locations": [
    "Germany",
    "Austin, Texas"
  ],
  "industries": [
    "Software Development"
  ],
  "companySizes": [
    "11-50",
    "51-200"
  ],
  "goBeyondLimit": true,
  "includeDetails": false,
  "maxItems": 100,
  "onlyNew": false,
  "watchName": "default"
}
```

# Actor output Schema

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

All companies in the default dataset.

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

Searches and slices read, 1,000 limit hits, companies delivered, stop reason.

# 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 = {
    "searches": [
        "fintech"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("alexmorain/linkedin-company-search-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 = {
    "searches": ["fintech"],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("alexmorain/linkedin-company-search-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 '{
  "searches": [
    "fintech"
  ],
  "maxItems": 100
}' |
apify call alexmorain/linkedin-company-search-scraper --silent --output-dataset

```

## MCP server setup

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