# Companies Search Scraper for LinkedIn | No Cookies (`apimaestro/linkedin-companies-search-scraper`) Actor

Scrape LinkedIn companies using keywords without login and get structured data including company profiles, industries, locations, and follower count.

- **URL**: https://apify.com/apimaestro/linkedin-companies-search-scraper.md
- **Developed by:** [API Maestro](https://apify.com/apimaestro) (community)
- **Categories:** Automation, Lead generation, Social media
- **Stats:** 2,060 total users, 89 monthly users, 100.0% runs succeeded, 39 bookmarks
- **User rating**: 4.98 out of 5 stars

## Pricing

$5.00 / 1,000 results

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 Search Scraper

Search for LinkedIn companies using keywords and get structured data including company profiles, industries, locations, and follower counts. No LinkedIn account needed!

#### For other LinkedIn actors, check: https://apify.com/apimaestro

### ✨ Key Features

- No account needed: Don't risk your account security by sharing your cookies and don't get your account restricted or banned!
- Keyword-based company search
- Company details (name, description, industry, location)
- Follower counts
- Company URLs
- Company logo URLs
- Advanced filtering by location and industry
- Pagination support

### 🔧 Simple Usage

Simply provide a search keyword or phrase to find relevant LinkedIn companies.

### 🔄 Integration with LinkedIn Company Detail Actor

Want even more comprehensive company information? You can use the company IDs from these search results to get detailed company profiles using our [LinkedIn Company Detail](https://apify.com/apimaestro/linkedin-company-detail) actor.

#### How to chain these actors:

1. Run this Company Search actor to find companies matching your criteria
2. From the results, extract the `company_id` field for the companies you're interested in
3. Use those company IDs as input for the [LinkedIn Company Detail](https://apify.com/apimaestro/linkedin-company-detail) actor

### Advanced Filtering Options

#### Filtering by Location

You can filter companies by specific locations using LinkedIn's location IDs.

##### How to find location IDs:

1. Go to LinkedIn and start a search for companies
2. On the search results page, click on the "Locations" filter
3. Select a location from the dropdown
4. Look at the URL in your browser - it will contain something like `&geoId=106693272`
5. The number after `geoId=` is the location ID you need (in this example, `106693272`)

#### Filtering by Industry

You can filter companies by specific industries using LinkedIn's industry IDs.

##### How to find industry IDs:

1. Go to LinkedIn and start a search for companies
2. On the search results page, click on the "Industry" filter
3. Select an industry from the dropdown
4. Look at the URL in your browser - it will contain something like `&industryIds=4`
5. The number after `industryIds=` is the industry ID you need (in this example, `4`)

### Pagination Support

Each search request returns up to 50 companies per page.

Page Number is the field used for pagination. It's 1 by default.

- Page 1: Returns companies 1-50
- Page 2: Returns companies 51-100
- Page 3: Returns companies 101-150
- And so on...

#### How to use pagination:

1. Start with page_number=1 to get the first 50 results
2. To see the next 50 results, set page_number=2
3. Continue incrementing the page number to see more results

<br>

***

**Disclaimer:** This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by LinkedIn Corporation. LinkedIn® is a registered trademark of LinkedIn Corporation. All trademarks are property of their respective owners.

# Actor input Schema

## `keyword` (type: `string`):

Keyword or phrase to search for LinkedIn companies (e.g., 'tech', 'software')

## `page_number` (type: `integer`):

Page number for pagination

## `location_ids` (type: `string`):

Filter companies by location IDs (comma-separated, e.g., '106693272,103644278'). See Information page for how to find location IDs.

## `industry_ids` (type: `string`):

Filter companies by industry IDs (comma-separated, e.g., '6,4'). See Information page for how to find industry IDs.

## `company_sizes` (type: `array`):

Filter companies by employee count ranges (select one or multiple)

## `limit` (type: `integer`):

Optional: Limit the number of results (1-50)

## Actor input object example

```json
{
  "keyword": "tech",
  "page_number": 1,
  "limit": 50
}
```

# 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 = {};

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

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

```

## MCP server setup

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