# Linkedin Company Jobs Scraper (`gtgyani206/linkedin-company-scraper`) Actor

Bulk scrape public job listings from lists of LinkedIn Company pages. Bypasses guest limits and data obfuscation (\*\*\*\*\*) to retrieve hundreds of clean results per company. Features smart proxy rotation and automated batch processing to scale your data collection.

- **URL**: https://apify.com/gtgyani206/linkedin-company-scraper.md
- **Developed by:** [Gyanendra Thakur](https://apify.com/gtgyani206) (community)
- **Categories:** Automation, Jobs
- **Features:** Limited permissions
- **Stats:** 362 total users, 53 monthly users, 84.2% runs succeeded, 18 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $7.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 Jobs Scraper

Collect, filter, enrich, and monitor public jobs from LinkedIn company pages.

This Apify Actor is designed for people who need dependable company-level hiring data without maintaining their own scraper. Add one or more public LinkedIn company URLs, choose a run profile, and receive clean job records in an Apify Dataset. Advanced controls are available when you need tighter filtering, predictable runtime, persistent new-job monitoring, or job-detail enrichment.

The Actor uses public LinkedIn company pages and public guest job endpoints. It does not sign in to LinkedIn or access profiles, messages, private pages, or member-only data.

### What you can do

- Scrape one company or up to 100 company pages in a run.
- Start quickly with Fast, Balanced, or Enriched profiles.
- Limit results by posting age, keywords, location, remote status, workplace type, employment type, or seniority.
- Fetch descriptions, applicant text, apply URLs, and other public detail fields.
- Run scheduled monitoring workflows that emit only newly discovered matching jobs.
- Choose whether the first monitoring run emits or silently stores its baseline.
- Control pages, total results, request attempts, retries, pacing, detail concurrency, and whole-run duration.
- Continue past an unavailable company or stop immediately.
- Keep partial job results when the configured run-time budget is reached.
- Export jobs as JSON, CSV, Excel, XML, HTML, or through the Apify Dataset API.

### Quick start

1. Open the Actor's **Input** tab.
2. Add at least one URL such as `https://www.linkedin.com/company/google`.
3. Leave **Balanced** selected for a normal discovery run.
4. Optionally add filters.
5. Start the Actor.
6. Open **Output > Job records** to inspect or export the dataset.
7. Open **Run summary** when you need counts, failures, stop reasons, or the resolved configuration.

Minimal API input:

```json
{
    "companyUrls": ["https://www.linkedin.com/company/google"],
    "runProfile": "balanced"
}
```

### Choose a run profile

Profiles provide defaults. Any advanced field included in the input overrides the selected profile.

| Profile    | Best for                                            | Descriptions | Jobs/company | Request budget | Run budget | Detail concurrency |
| ---------- | --------------------------------------------------- | -----------: | -----------: | -------------: | ---------: | -----------------: |
| `fast`     | Quick discovery and inexpensive tests               |           No |           50 |            100 |  5 minutes |                  1 |
| `balanced` | Most regular scraping workflows                     |           No |           50 |            300 | 15 minutes |                  2 |
| `enriched` | Research requiring descriptions and detail metadata |          Yes |           50 |            500 | 30 minutes |                  3 |
| `custom`   | Fully controlled API inputs                         |           No |           50 |            300 | 15 minutes |                  2 |

For an unfiltered run, the Actor derives a conservative page allowance from `maxJobs` instead of automatically scanning the profile's full page ceiling. Selective filters and monitoring retain the wider profile allowance. An explicit `maxPagesPerCompany` always wins.

### Input reference

#### Companies

| Input         | Type     | Default  | Behavior                                                                                                                       |
| ------------- | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------ |
| `companyUrls` | string\[] | Required | Public `https://www.linkedin.com/company/...` URLs. Duplicates, query strings, fragments, and trailing slashes are normalized. |

The input form accepts up to 100 unique company URLs. Invalid URLs are rejected before network requests begin.

#### Profile and enrichment

| Input               | Type    | Default       | Behavior                                                                        |
| ------------------- | ------- | ------------- | ------------------------------------------------------------------------------- |
| `runProfile`        | string  | `balanced`    | Selects Fast, Balanced, Enriched, or Custom defaults.                           |
| `maxJobs`           | integer | Profile value | Maximum jobs that pass all filters per company, from 1 to 2,000.                |
| `maxTotalJobs`      | integer | `1,000`       | Hard dataset-row cap across the entire run. Explicit `maxJobs` can raise it.    |
| `scrapeDescription` | boolean | Profile value | Fetches descriptions and public detail fields only for candidates still needed. |

Some filters require detail metadata. If `remoteFilter`, `workplaceTypes`, `employmentTypes`, or `seniorityLevels` is active, the Actor fetches job details even when `scrapeDescription` is false. In that case, metadata is used for filtering but description fields remain unrequested.

#### Date, keyword, and location filters

| Input                        | Type     | Default | Behavior                                                            |
| ---------------------------- | -------- | ------- | ------------------------------------------------------------------- |
| `postedWithinDays`           | integer  | `0`     | Keeps jobs posted in the last N days. `0` disables the date filter. |
| `includeJobsWithUnknownDate` | boolean  | `true`  | Keeps records whose public card has no valid posting date.          |
| `keywordInclude`             | string\[] | `[]`    | Terms matched case-insensitively against title and location.        |
| `keywordMatchMode`           | string   | `any`   | Requires any or all include terms.                                  |
| `keywordExclude`             | string\[] | `[]`    | Rejects a job when any term appears in title or location.           |
| `locationInclude`            | string\[] | `[]`    | Requires the raw location to contain at least one value.            |
| `locationExclude`            | string\[] | `[]`    | Rejects the raw location when it contains any value.                |

Exclusion always wins. The Actor rejects an input when the same normalized term is present in both an include and exclude list because that configuration cannot produce an intuitive result.

#### Detail metadata filters

| Input                            | Type     | Default | Behavior                                                                      |
| -------------------------------- | -------- | ------- | ----------------------------------------------------------------------------- |
| `remoteFilter`                   | string   | `all`   | Accepts `all`, `remote`, or `nonRemote`.                                      |
| `workplaceTypes`                 | string\[] | `[]`    | Exact match against Remote, Hybrid, or On-site.                               |
| `employmentTypes`                | string\[] | `[]`    | Exact match against public values such as Full-time, Contract, or Internship. |
| `seniorityLevels`                | string\[] | `[]`    | Exact match against public LinkedIn seniority values.                         |
| `includeJobsWithUnknownMetadata` | boolean  | `true`  | Controls whether jobs missing a selected detail field pass that filter.       |

LinkedIn does not publish every metadata field on every job. For strict datasets, set `includeJobsWithUnknownMetadata` to `false`. For broader discovery, leave it enabled.

#### Monitoring

| Input                      | Type    | Default                | Behavior                                                                                                                 |
| -------------------------- | ------- | ---------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| `newJobsOnly`              | boolean | `false`                | Emits only matching job keys not already stored for this company and namespace.                                          |
| `monitoringStoreId`        | string  | Named persistent store | Select an existing Apify key-value store. When omitted, the Actor uses or creates `linkedin-company-scraper-monitoring`. |
| `monitoringNamespace`      | string  | `default`              | Isolates schedules or filter sets sharing one monitoring store.                                                          |
| `monitoringFirstRunPolicy` | string  | `emit`                 | `emit` returns and stores the baseline. `storeOnly` stores it without writing baseline jobs to the dataset.              |
| `resetMonitoring`          | boolean | `false`                | Clears state for the requested companies and namespace before scraping.                                                  |

Monitoring is keyed by company and namespace. Use a different namespace whenever two schedules should have independent history, for example:

- `engineering_daily`
- `sales_us_weekly`
- `all_jobs_archive`

The Actor updates monitoring state only after a company completes successfully. If a company fails or the whole-run budget interrupts that company, its incomplete pass does not become the new baseline.

State uses Apify-safe record keys such as `monitoring_daily_engineering_1441_job_keys` and `monitoring_daily_engineering_1441_last_run`.

#### Reliability and cost controls

| Input                   | Type    |         Profile default | Behavior                                                                                               |
| ----------------------- | ------- | ----------------------: | ------------------------------------------------------------------------------------------------------ |
| `maxPagesPerCompany`    | integer |      Automatic, max 200 | Hard company page limit. Unfiltered runs derive a smaller allowance from `maxJobs`.                    |
| `maxRequestsPerRun`     | integer |           100, 300, 500 | Hard attempt budget covering company, listing, detail, and retry requests.                             |
| `maxRunTimeSeconds`     | integer |      300, 900, or 1,800 | Whole-run budget. The Actor reserves a shutdown buffer and writes partial-run records.                 |
| `requestTimeoutSeconds` | integer |           30, 45, or 60 | Per-request timeout.                                                                                   |
| `maxRequestRetries`     | integer |                  2 or 3 | Bounded retries after transient request failures.                                                      |
| `retryDelaySeconds`     | integer |                  1 or 2 | Initial backoff delay. Later retries use exponential backoff with jitter.                              |
| `requestDelayMillis`    | integer |            800 to 1,500 | Randomized pacing before public LinkedIn requests.                                                     |
| `detailConcurrency`     | integer |                  1 to 3 | Parallel job-detail requests, capped at 5.                                                             |
| `failurePolicy`         | string  |              `continue` | Continue to other companies or stop with `failFast`.                                                   |
| `proxyConfiguration`    | object  | Apify Residential Proxy | Standard Apify proxy editor. The Actor respects the supplied setting instead of forcing a proxy group. |

The Actor stops pagination on empty pages, exact repeated page signatures, explicit page limits, request limits, result limits, or the whole-run time budget. Short pages are not treated as final because LinkedIn can return fewer cards while later pages still exist.

With Apify Proxy, the Actor scrapes up to three companies at a time, each from its own proxy session, so no single IP sees more requests than before. Results are still saved in input order, and duplicates, `maxTotalJobs`, `failFast`, and the block circuit breaker behave exactly as if companies ran one after another. Earlier companies get priority on `maxRequestsPerRun`, so a tight request budget ends the run the same way. Without a proxy, or with a single custom proxy URL, companies run one at a time.

The Actor definition defaults to 1,024 MB of memory and bounds automatic allocation between 512 MB and 2,048 MB. The scraper is HTTP-based and waits on network I/O, so a 4,096 MB default adds cost without improving extraction quality.

### Example inputs

#### Fast company hiring scan

```json
{
    "companyUrls": ["https://www.linkedin.com/company/google", "https://www.linkedin.com/company/microsoft"],
    "runProfile": "fast",
    "maxJobs": 100,
    "postedWithinDays": 30,
    "keywordExclude": ["intern"]
}
```

#### Enriched recruiting research

```json
{
    "companyUrls": ["https://www.linkedin.com/company/tesla-motors"],
    "runProfile": "enriched",
    "maxJobs": 200,
    "postedWithinDays": 14,
    "keywordInclude": ["engineer", "developer"],
    "keywordMatchMode": "any",
    "locationInclude": ["United States", "Remote"],
    "employmentTypes": ["Full-time"],
    "includeJobsWithUnknownMetadata": false
}
```

#### Remote-only jobs

```json
{
    "companyUrls": ["https://www.linkedin.com/company/github"],
    "runProfile": "balanced",
    "remoteFilter": "remote",
    "workplaceTypes": ["Remote"],
    "postedWithinDays": 30,
    "maxJobs": 100
}
```

Remote and workplace filters trigger detail requests even with the Balanced profile.

#### Daily new-job monitoring

```json
{
    "companyUrls": ["https://www.linkedin.com/company/google", "https://www.linkedin.com/company/anthropicresearch"],
    "runProfile": "balanced",
    "newJobsOnly": true,
    "monitoringNamespace": "daily_engineering",
    "monitoringFirstRunPolicy": "storeOnly",
    "keywordInclude": ["engineer"],
    "maxJobs": 500
}
```

The first run stores matching jobs without emitting them. Later runs using the same monitoring store and namespace emit newly discovered matching jobs.

#### Conservative custom run

```json
{
    "companyUrls": ["https://www.linkedin.com/company/google"],
    "runProfile": "custom",
    "maxJobs": 250,
    "maxPagesPerCompany": 20,
    "maxRunTimeSeconds": 1200,
    "requestTimeoutSeconds": 60,
    "maxRequestRetries": 4,
    "retryDelaySeconds": 2,
    "requestDelayMillis": 2000,
    "detailConcurrency": 1,
    "failurePolicy": "continue",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"]
    }
}
```

### Job output

The default dataset contains job records only. It does not mix run summaries into CSV or API exports.

#### Core fields

| Field                      | Description                                                                     |
| -------------------------- | ------------------------------------------------------------------------------- |
| `jobId`                    | LinkedIn job ID, or null when it cannot be derived safely.                      |
| `title`                    | Public job title.                                                               |
| `company`                  | Company name shown on the listing.                                              |
| `companyId`                | LinkedIn organization ID, or `slug_<company-slug>` after a company-page block.  |
| `companyIdSource`          | `company_page` or `guest_search_slug`, indicating how the company was resolved. |
| `companyNameNormalized`    | Clean company name for matching and CRM workflows.                              |
| `companyLinkedinUrl`       | Normalized input company URL.                                                   |
| `location`                 | Raw public LinkedIn location.                                                   |
| `city`, `state`, `country` | Best-effort structured location components.                                     |
| `isRemote`                 | Remote signal inferred from public location and detail metadata.                |
| `url`                      | Canonical public LinkedIn job URL.                                              |
| `datePosted`               | Public posting date when available.                                             |
| `scrapedAt`                | UTC extraction timestamp.                                                       |
| `inputUrl`                 | Company URL that produced the record.                                           |

#### Detail fields

| Field               | Description                                                             |
| ------------------- | ----------------------------------------------------------------------- |
| `employmentType`    | Public employment type when available.                                  |
| `seniorityLevel`    | Public seniority value when available.                                  |
| `workplaceType`     | Remote, Hybrid, or On-site when inferred or published.                  |
| `applicants`        | Public applicant text when exposed.                                     |
| `applyUrl`          | Public apply link when exposed.                                         |
| `descriptionText`   | Plain-text description when requested and available.                    |
| `descriptionHtml`   | Original description HTML fragment when requested and available.        |
| `detailStatus`      | `not_requested`, `loaded`, `unavailable`, or `failed`.                  |
| `descriptionStatus` | `not_requested`, `loaded`, `not_available`, `unavailable`, or `failed`. |
| `detailError`       | Short error message when a detail request fails.                        |

Example:

```json
{
    "jobId": "4201938821",
    "title": "Senior Software Engineer",
    "company": "Example Company",
    "companyId": "1441",
    "companyNameNormalized": "Example Company",
    "companyLinkedinUrl": "https://www.linkedin.com/company/example-company",
    "location": "San Francisco, CA",
    "city": "San Francisco",
    "state": "CA",
    "country": "United States",
    "isRemote": false,
    "workplaceType": "Hybrid",
    "employmentType": "Full-time",
    "seniorityLevel": "Mid-Senior level",
    "applicants": "25 applicants",
    "applyUrl": "https://www.linkedin.com/jobs/apply/4201938821",
    "url": "https://www.linkedin.com/jobs/view/4201938821",
    "datePosted": "2026-06-05",
    "scrapedAt": "2026-06-06T08:30:00.000Z",
    "inputUrl": "https://www.linkedin.com/company/example-company",
    "detailStatus": "loaded",
    "descriptionStatus": "loaded",
    "descriptionText": "About the role...",
    "descriptionHtml": "<p>About the role...</p>"
}
```

Null detail fields are normal when LinkedIn does not publish them.

### Run summary and diagnostics

The default key-value store contains:

| Record            | Purpose                                                                                                           |
| ----------------- | ----------------------------------------------------------------------------------------------------------------- |
| `RUN_SUMMARY`     | Final status, stop reason, totals, timing, resolved non-secret configuration, per-company outcomes, and failures. |
| `RUN_DIAGNOSTICS` | Compact failure, malformed-card, and filter-reason diagnostics.                                                   |
| `MONITORING_INFO` | Monitoring store and namespace used by the run, or `{ "enabled": false }`.                                        |

`RUN_SUMMARY.status` can be:

- `succeeded`: all processed companies completed without an error.
- `partial`: at least one company failed, but jobs were emitted.
- `failed`: failures occurred and no jobs were emitted.
- `timed_out`: the configured whole-run budget was reached and partial results were preserved.

Common company stop reasons include:

- `max_jobs_reached`
- `max_pages_reached`
- `no_more_jobs`
- `no_public_jobs_found`
- `repeated_page_detected`
- `duplicate_company_skipped`
- `max_total_jobs_reached`
- `request_budget_reached`
- `unparseable_page`
- `company_error`

### Filtering and counting semantics

`maxJobs` means matching jobs accepted per company, not raw cards scanned.

The Actor processes records in this order:

1. Parse and normalize the public job card.
2. Remove duplicates across pages, company aliases, and the entire run.
3. Skip known monitoring keys when `newJobsOnly` is enabled.
4. Apply posting-date, keyword, and raw-location filters.
5. Fetch detail metadata when requested or required by filters.
6. Apply remote, workplace, employment, and seniority filters.
7. Save accepted jobs, unless the first monitoring baseline is configured as `storeOnly`.

The summary separates scanned, accepted, emitted, filtered, duplicate, malformed-card, and HTTP-attempt counts. `requestsPerEmittedJob` makes low-yield or unusually expensive runs visible without inspecting every log line.

### Scheduling new-job alerts

1. Run the Actor once with `newJobsOnly: true`.
2. Select `monitoringFirstRunPolicy: "storeOnly"` if the initial backlog should not trigger alerts.
3. Create an Apify schedule with the same input.
4. Keep the same `monitoringStoreId` and `monitoringNamespace`.
5. Connect the dataset to a webhook, Make, Zapier, Slack, Google Sheets, a database, or your own API.

Changing filters while reusing a namespace changes what can be considered new. For independent alert logic, create a new namespace.

To intentionally rebuild a baseline, set `resetMonitoring: true` for one run, then turn it off again.

### API and local use

The Actor accepts the same JSON through Apify Console, the Apify API, schedules, tasks, and integrations.

For local development, create:

```text
storage/key_value_stores/default/INPUT.json
```

Example local input:

```json
{
    "companyUrls": ["https://www.linkedin.com/company/google"],
    "runProfile": "fast",
    "maxJobs": 10,
    "maxPagesPerCompany": 1,
    "maxRunTimeSeconds": 120,
    "proxyConfiguration": {
        "useApifyProxy": false
    }
}
```

Then run:

```bash
apify run
```

Local storage remains on your machine and is not uploaded to Apify Console.

### Cost and performance

The main cost drivers are:

- Number of companies.
- Number of listing pages.
- Number of accepted candidate jobs.
- Whether detail requests are required.
- Proxy traffic.
- Retry volume and total runtime.

For lower cost:

- Start with the Fast profile.
- Keep `scrapeDescription` disabled.
- Apply date, keyword, and location filters before detail enrichment.
- Set a realistic `maxJobs`.
- Keep `maxTotalJobs` and `maxRequestsPerRun` bounded.
- Keep `maxPagesPerCompany` bounded.
- Use monitoring so recurring runs skip known matching jobs before detail requests.

For higher data completeness:

- Use the Enriched profile.
- Keep `includeJobsWithUnknownMetadata` enabled unless strict filtering is required.
- Use a Residential proxy group.
- Allow a larger whole-run budget.

### Troubleshooting

#### The Actor says the URL is invalid

Use a full public company URL:

```text
https://www.linkedin.com/company/google
```

Individual job URLs, personal profiles, `/jobs/search` pages, and non-LinkedIn URLs are not company targets.

#### A company fails before jobs are collected

The company may be unavailable, renamed, geographically restricted, or served behind an authentication wall. Check `RUN_SUMMARY.failures` and `RUN_DIAGNOSTICS`.

With `failurePolicy: "continue"`, other companies are still processed.

Failure entries distinguish `linkedin_blocked` (HTTP 403, 425, 429, or LinkedIn 999), `company_not_found` (HTTP 404), `linkedin_upstream` (5xx), `request_budget`, `timeout`, and other `company_error` cases. After a blocked company-page lookup, the Actor makes at most one retry, then searches the public guest endpoint using the requested company slug and retains only cards whose company link exactly matches that slug. The result exposes `companyId: "slug_<company-slug>"` and `companyIdSource: "guest_search_slug"` so downstream systems can recognize that fallback. A 404 or changed markup still permits the company-overview fallback.

#### The dataset is empty

Check:

- `RUN_SUMMARY.companies[].stoppedReason`
- `jobsFilteredOut`
- `filteredBy`
- `duplicatesSkipped`
- `monitoringBaselineStoredOnly`
- `failureCount`

An empty dataset can be expected when the first monitoring run uses `storeOnly`, all matches are already known, filters reject all jobs, or LinkedIn exposes no public jobs.

#### Some detail fields are null

LinkedIn does not expose every field for every job. Inspect `detailStatus` and `descriptionStatus`. A null field with `detailStatus: "loaded"` usually means the public page omitted it.

#### Monitoring emits old jobs again

Confirm that scheduled runs use the same persistent monitoring store and namespace. A new store, namespace, or reset creates a new baseline.

#### The run stops with `time_budget_reached`

Already emitted jobs remain in the dataset. Increase `maxRunTimeSeconds`, lower `maxJobs`, reduce the number of companies, disable detail enrichment, or reduce retries.

#### The run stops at a request or result budget

`request_budget_reached` protects against retry, pagination, or enrichment amplification. `max_total_jobs_reached` protects against unexpectedly large datasets across many companies. Already emitted jobs remain available. Increase the relevant limit only after checking `requestAttempts`, `requestsPerEmittedJob`, filters, monitoring settings, and the number of companies.

#### Requests are blocked or unstable

Use Apify Residential Proxy, lower detail concurrency, increase request pacing, and avoid aggressive retry settings. Public LinkedIn page behavior can vary by region and over time.

### Data quality and limitations

- The Actor only returns jobs visible through LinkedIn's public company and guest job surfaces.
- Public availability, selectors, fields, and pagination behavior can change without notice.
- Parsed location fields are best-effort. Always retain the raw `location`.
- Remote classification is based on public text and may not capture every employer-specific arrangement.
- Applicant counts and apply links are not always exposed.
- Job IDs are preferred for deduplication; the canonical job URL is used when an ID is unavailable.
- Deleted or expired postings may disappear between runs.
- The Actor cannot guarantee that LinkedIn publishes every open role for a company.

### Responsible use

Use the Actor only for lawful purposes and public data you are permitted to process. Respect applicable privacy, employment, anti-discrimination, database, and contract rules. Avoid collecting or retaining personal information from job descriptions unless your workflow has a legitimate need and appropriate safeguards.

This Actor is not affiliated with, endorsed by, or sponsored by LinkedIn Corporation or Microsoft. LinkedIn is a trademark of its respective owner.

### Support

When reporting an issue, include:

- Apify run ID.
- A minimal input that reproduces the problem.
- Affected company URL.
- Relevant `RUN_SUMMARY` and `RUN_DIAGNOSTICS` fields.
- Expected and actual behavior.

Do not include Apify tokens, proxy passwords, cookies, or other credentials.

# Actor input Schema

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

Enter full company URLs such as `https://www.linkedin.com/company/google`. Job URLs, profile URLs, and search URLs are not accepted.

## `runProfile` (type: `string`):

**Fast** minimizes requests. **Balanced** is the recommended default. **Enriched** fetches each job detail page. **Custom** starts from balanced defaults.

## `maxJobs` (type: `integer`):

Stops after this many jobs pass all filters for each company. Profile default: 50.

## `maxTotalJobs` (type: `integer`):

Hard run-wide output cap across all companies. The profile default is 1,000 and prevents unexpectedly large result charges when many company URLs are supplied.

## `scrapeDescription` (type: `boolean`):

Fetch each job detail endpoint to collect descriptions, employment type, seniority, workplace type, applicant text, and apply URL. This increases runtime and proxy traffic.

## `postedWithinDays` (type: `integer`):

Keep jobs posted within the last N days. Use 0 for any posting date.

## `includeJobsWithUnknownDate` (type: `boolean`):

When a date filter is active, keep jobs for which LinkedIn does not provide a valid posting date.

## `keywordInclude` (type: `array`):

Keep jobs whose title or location contains the configured terms. Matching is case-insensitive.

## `keywordMatchMode` (type: `string`):

Choose whether a job must match any included keyword or every included keyword.

## `keywordExclude` (type: `array`):

Reject jobs whose title or location contains any configured term.

## `locationInclude` (type: `array`):

Keep jobs whose raw LinkedIn location contains at least one configured value, such as `Austin`, `Germany`, or `Remote`.

## `locationExclude` (type: `array`):

Reject jobs whose raw LinkedIn location contains any configured value.

## `remoteFilter` (type: `string`):

Keep all jobs, remote jobs only, or non-remote jobs only. A non-default choice requires detail requests for better classification.

## `workplaceTypes` (type: `array`):

Optional exact-match filter. Enabling it requires job detail requests.

## `employmentTypes` (type: `array`):

Optional exact-match filter. Values depend on what LinkedIn publishes for each job.

## `seniorityLevels` (type: `array`):

Optional exact-match filter. Enabling it requires job detail requests.

## `includeJobsWithUnknownMetadata` (type: `boolean`):

When employment, seniority, or workplace filters are active, keep jobs whose detail page omits the filtered field.

## `newJobsOnly` (type: `boolean`):

Skip matching jobs already stored for the same company and monitoring namespace.

## `monitoringStoreId` (type: `string`):

Optional persistent store for monitoring history. When omitted, the Actor uses or creates the named store `linkedin-company-scraper-monitoring`.

## `monitoringNamespace` (type: `string`):

Separates independent schedules or filter sets that share a monitoring store.

## `monitoringFirstRunPolicy` (type: `string`):

Emit the initial baseline, or store it silently so future runs emit only jobs discovered later.

## `resetMonitoring` (type: `boolean`):

Delete saved state for the requested companies in this namespace before collecting jobs. The reset applies only to this run.

## `maxPagesPerCompany` (type: `integer`):

Each guest endpoint page currently contains up to about 10 cards. When omitted, the profile automatically allows enough pages for `maxJobs`, up to 200.

## `maxRequestsPerRun` (type: `integer`):

Hard cost guard covering company pages, listing pages, detail pages, and retries. Profile defaults range from 100 to 500 attempts.

## `maxRunTimeSeconds` (type: `integer`):

The Actor stops gracefully before this budget, keeps already saved jobs, and writes a partial `RUN_SUMMARY`.

## `requestTimeoutSeconds` (type: `integer`):

Maximum wait for one LinkedIn HTTP request.

## `maxRequestRetries` (type: `integer`):

Retry transient request failures with bounded exponential backoff.

## `retryDelaySeconds` (type: `integer`):

Base delay before the first retry. Later retries use exponential backoff with jitter.

## `requestDelayMillis` (type: `integer`):

Polite randomized pacing applied before requests. Use 0 only when you understand the blocking risk.

## `detailConcurrency` (type: `integer`):

Maximum parallel job-detail requests. Low values are more conservative and predictable.

## `failurePolicy` (type: `string`):

Continue with the remaining companies or stop immediately.

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

Configure Apify Proxy or your own proxy URLs. Disable proxy usage for local testing only if direct access works from your network.

## Actor input object example

```json
{
  "companyUrls": [
    "https://www.linkedin.com/company/google"
  ],
  "runProfile": "balanced",
  "maxJobs": 100,
  "postedWithinDays": 0,
  "includeJobsWithUnknownDate": true,
  "keywordInclude": [],
  "keywordMatchMode": "any",
  "keywordExclude": [],
  "locationInclude": [],
  "locationExclude": [],
  "remoteFilter": "all",
  "workplaceTypes": [],
  "employmentTypes": [],
  "seniorityLevels": [],
  "includeJobsWithUnknownMetadata": true,
  "newJobsOnly": false,
  "monitoringNamespace": "default",
  "monitoringFirstRunPolicy": "emit",
  "resetMonitoring": false,
  "failurePolicy": "continue",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `jobs` (type: `string`):

No description

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

No description

## `runDiagnostics` (type: `string`):

No description

## `monitoringInfo` (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/tesla-motors"
    ]
};

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

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

```

## MCP server setup

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