{
  "openapi": "3.0.1",
  "info": {
    "title": "LinkedIn Company Employees Scraper · Decision Makers, No Login",
    "description": "Find the decision makers at any company on LinkedIn, no login. Type company names or paste LinkedIn URLs, run many companies in one go, filter by job title or seniority, and get name, headline and profile URL, with employer and location where shown. Every row is graded against your company.",
    "version": "0.0",
    "x-build-id": "0Oxg1OTckpRunWhPC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~linkedin-company-employees-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-linkedin-company-employees-scraper",
        "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/memo23~linkedin-company-employees-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-linkedin-company-employees-scraper",
        "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/memo23~linkedin-company-employees-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-linkedin-company-employees-scraper",
        "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",
        "properties": {
          "profileScraperMode": {
            "title": "Profile Scraper Mode",
            "enum": [
              "Short",
              "Full",
              "Full + email search"
            ],
            "type": "string",
            "description": "Choose the depth of employee data to extract. **Short** returns fast verified employee profiles (name, job title, company, location, LinkedIn URL). **Full** adds full work history, schools, skills, and bio. **Full + email search** also discovers company contact emails.",
            "default": "Short"
          },
          "companies": {
            "title": "Companies (names or LinkedIn URLs)",
            "type": "array",
            "description": "One company per line. A plain name (OpenAI), a LinkedIn company, school, or showcase URL, a numeric company id (105621 or https://www.linkedin.com/company/105621/), a Sales Navigator company URL, or a urn:li:organization: id. Names and URLs can be mixed, and one run can hold hundreds of companies. A numeric id is turned into the company's name; your rows keep the id as the company key. Example: [\"Stripe\", \"https://www.linkedin.com/company/figma/\"]. Required.",
            "items": {
              "type": "string"
            }
          },
          "companySearchTerms": {
            "title": "Search a different phrase for a company",
            "type": "object",
            "description": "<p><b>Optional — leave empty unless a run told you to use it.</b> Changes the phrase searched for ONE company, without changing how that company is identified in your results.</p><p>A LinkedIn URL carries a <b>handle</b>, not always the company name: <code>linkedin.com/company/notionhq/</code> searches for <code>notionhq</code>, which returned 2 profiles where <code>Notion</code> returned 20.</p><p><b>Key</b> — the company exactly as you supplied it above: its handle (<code>notionhq</code>), its full LinkedIn URL, the name you typed, or a numeric id such as <code>105621</code>. <b>Value</b> — the phrase to search instead. Example: <code>{ \"notionhq\": \"Notion\", \"105621\": \"Anthropic\" }</code>. Quotes are added for you.</p><p>Your output does not move: the <code>company</code> field on every row, de-duplication and the per-company limit all keep using the key you supplied. Note the phrase is also what each result is verified against, and what appears in <code>currentEmployer</code> when the employer could not be read from the result — so a wrong phrase lets the wrong company's people through. The optional email finder still looks the company up by your key, not by this phrase. Ignored when you supply cookies.</p>"
          },
          "targetTitles": {
            "title": "Target titles (ICP)",
            "type": "array",
            "description": "Job titles to target, one per line (e.g. CEO, Head of Sales, Gerente General). Leave empty to use a built-in English/Spanish decision-maker set (CEO, CTO, Founder, Owner, Director, Presidente, Dueño…). A seniority filter alone replaces the built-in set. For runs of more than 50 companies the built-in set is skipped unless you set titles here or a seniority filter. Default: empty (the built-in set).",
            "items": {
              "type": "string"
            }
          },
          "seniorityFilter": {
            "title": "Seniority level",
            "type": "array",
            "description": "Optional seniority buckets to expand into titles (e.g. cxo, vp, director). Combined with Target titles; on its own it replaces the built-in decision-maker set. Unknown values are ignored. Default: none.",
            "items": {
              "type": "string",
              "enum": [
                "owner",
                "partner",
                "cxo",
                "vp",
                "director",
                "manager",
                "senior",
                "entry",
                "training",
                "unpaid"
              ],
              "enumTitles": [
                "Owner",
                "Partner",
                "CxO (CEO/CTO/CFO…)",
                "VP",
                "Director",
                "Manager",
                "Senior",
                "Entry",
                "Training / Intern",
                "Unpaid / Volunteer"
              ]
            },
            "default": []
          },
          "location": {
            "title": "Location filter",
            "type": "string",
            "description": "Optional location hint added to discovery (e.g. \"San Francisco\", \"United States\", \"Germany\"). Improves relevance; leave empty for all locations."
          },
          "maxItems": {
            "title": "Max employees (per company, or total when maxItemsPerCompany is set)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many employees to keep per company (1 to 1000) when `maxItemsPerCompany` is unset. When `maxItemsPerCompany` is ALSO set, `maxItems` acts as the total cap across all companies while `maxItemsPerCompany` guarantees balanced per-company caps. Leave unset to default to 50 per company."
          },
          "maxItemsPerCompany": {
            "title": "Max employees per company (balanced multi-company cap)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Optional per-company cap so company #1 never starves company #2 on multi-company runs. Pair with `maxItems` to cap both per-company and total rows (e.g. `maxItems: 6, maxItemsPerCompany: 3` across 2 companies → 3 each)."
          },
          "companyBatchMode": {
            "title": "Company batch mode",
            "enum": [
              "all_at_once",
              "one_by_one"
            ],
            "type": "string",
            "description": "Controls how multiple companies are crawled. **All at once** (default) interleaves searches concurrently for fastest throughput. **One by one** completes and flushes each company sequentially before starting the next, reducing peak RAM and preserving strict company order.",
            "default": "all_at_once"
          },
          "startPage": {
            "title": "Start page (1-based)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "1-based page offset to begin pagination from (default 1 = first page). Useful for resuming or paginating deeper into large company rosters.",
            "default": 1
          },
          "takePages": {
            "title": "Pages to take",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Optional number of result pages to fetch starting from `startPage` (overrides `googlePages`). Up to 10 pages per company × title in no-cookie mode (up to 100 in cookie mode)."
          },
          "seniorityLevelIds": {
            "title": "Seniority level IDs (LinkedIn / Sales Navigator)",
            "type": "array",
            "description": "Filter by LinkedIn seniority IDs (Sales Navigator `100`–`320`, LinkedIn Search `1`–`10`, or names like `cxo`, `vp`, `director`, `manager`, `senior`, `entry`, `training`, `owner`). Applied upstream and post-fetch pre-billing.",
            "items": {
              "type": "string"
            }
          },
          "functionIds": {
            "title": "Job function / department IDs",
            "type": "array",
            "description": "Filter by LinkedIn Job Function IDs (`1`–`26`, e.g. `8` = Engineering, `15` = Marketing, `19` = Product Management, `25` = Sales) or department names (`Engineering`, `Sales`, `Finance`, `Legal`, `Human Resources`).",
            "items": {
              "type": "string"
            }
          },
          "pastJobTitles": {
            "title": "Past job titles",
            "type": "array",
            "description": "Require employees to have held at least one of these past job titles (checked against `experience[]` past roles and former-role profile text).",
            "items": {
              "type": "string"
            }
          },
          "schools": {
            "title": "Schools / universities",
            "type": "array",
            "description": "Require employees to have attended at least one of these schools (plain names like `Stanford University` or LinkedIn `/school/` URLs). Wired upstream and verified against `education[]` / profile text.",
            "items": {
              "type": "string"
            }
          },
          "industryIds": {
            "title": "Industry IDs or names",
            "type": "array",
            "description": "Require matching LinkedIn Industry IDs (e.g. `4` = Software Development, `43` = Financial Services, `96` = IT Services, `14` = Health Care) or plain industry names. Evaluated against real company profile industries and profile text.",
            "items": {
              "type": "string"
            }
          },
          "companyHeadcount": {
            "title": "Company headcount buckets",
            "type": "array",
            "description": "Filter target companies by real LinkedIn employee headcount before discovering employees. Accepts LinkedIn codes (`A` = 1, `B` = 1-10, `C` = 11-50, `D` = 51-200, `E` = 201-500, `F` = 501-1000, `G` = 1001-5000, `H` = 5001-10000, `I` = 10001+) or numeric ranges (`51-200`, `1001-5000`).",
            "items": {
              "type": "string"
            }
          },
          "yearsAtCurrentCompanyIds": {
            "title": "Years at current company",
            "type": "array",
            "description": "Filter by tenure at the current company parsed from `experience[]`: `1` (<1 yr), `2` (1–2 yrs), `3` (3–5 yrs), `4` (6–10 yrs), `5` (10+ yrs). Also accepts `<1`, `1-2`, `3-5`, `6-10`, `10+`.",
            "items": {
              "type": "string"
            }
          },
          "yearsOfExperienceIds": {
            "title": "Total years of experience",
            "type": "array",
            "description": "Filter by total non-overlapping career experience parsed from `experience[]`: `1` (<1 yr), `2` (1–2 yrs), `3` (3–5 yrs), `4` (6–10 yrs), `5` (10+ yrs).",
            "items": {
              "type": "string"
            }
          },
          "recentlyChangedJobs": {
            "title": "Recently changed jobs (~90 days)",
            "type": "boolean",
            "description": "High-intent buyer signal: keep only employees whose current role started within the last ~90 days (computed from parsed `experience[]` start dates, evaluated pre-billing).",
            "default": false
          },
          "excludeLocations": {
            "title": "Exclude locations",
            "type": "array",
            "description": "Exclude employees located in any of these cities, regions, or countries (applied pre-billing so excluded rows are never charged).",
            "items": {
              "type": "string"
            }
          },
          "excludeCurrentJobTitles": {
            "title": "Exclude current job titles",
            "type": "array",
            "description": "Exclude employees whose current job title contains any of these terms (word-boundary matched, so `intern` excludes `Engineering Intern` without excluding `International Sales`).",
            "items": {
              "type": "string"
            }
          },
          "excludePastJobTitles": {
            "title": "Exclude past job titles",
            "type": "array",
            "description": "Exclude employees who previously held any of these job titles (checked against past `experience[]` entries and former-role text).",
            "items": {
              "type": "string"
            }
          },
          "excludePastCompanies": {
            "title": "Exclude past companies",
            "type": "array",
            "description": "Exclude employees who previously worked at any of these companies (names or LinkedIn company URLs, checked against past `experience[]` entries and ex-/former-company mentions).",
            "items": {
              "type": "string"
            }
          },
          "excludeSchools": {
            "title": "Exclude schools",
            "type": "array",
            "description": "Exclude employees who attended any of these schools (names or LinkedIn `/school/` URLs).",
            "items": {
              "type": "string"
            }
          },
          "excludeIndustryIds": {
            "title": "Exclude industry IDs or names",
            "type": "array",
            "description": "Exclude companies/employees matching any of these LinkedIn Industry IDs (e.g. `43`, `104`) or industry names.",
            "items": {
              "type": "string"
            }
          },
          "excludeSeniorityLevelIds": {
            "title": "Exclude seniority level IDs",
            "type": "array",
            "description": "Exclude employees whose current seniority matches any of these LinkedIn IDs (`100`/`2`/`training`, `110`/`3`/`entry`, `310`/`8`/`cxo`, etc.).",
            "items": {
              "type": "string"
            }
          },
          "excludeFunctionIds": {
            "title": "Exclude job function IDs",
            "type": "array",
            "description": "Exclude employees whose current department/function matches any of these LinkedIn Job Function IDs (`1`–`26`) or names (e.g. `12` / `Human Resources`, `25` / `Sales`).",
            "items": {
              "type": "string"
            }
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Emit lean, CRM-ready employee rows without verbose SERP snippets or internal diagnostic fields (`snippet`, `confidenceReason`, `source`, `profileDepth`, `matchedTitles`, `emailEnrichment`).",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "Exclude empty fields",
            "type": "boolean",
            "description": "Strip `null`, `undefined`, empty strings, empty arrays, and empty objects from each output row while preserving `0` and `false`.",
            "default": false
          },
          "verifyProfiles": {
            "title": "Verify profiles (confirm employer & title)",
            "type": "boolean",
            "description": "Recommended. Reads each row's current employer, title and location from its own public web result, grades the employer against your company (high / medium / low, with the reason) and withholds rows graded low. Off, the raw matches are returned, all tagged low. No extra requests and no login.",
            "default": true
          },
          "enrichEmails": {
            "title": "Find contact email (experimental)",
            "type": "boolean",
            "description": "When on, finds one contact email per company from its website and adds contactEmail and contactWebsite. The same pages also fill sitePhone and siteProfiles when a number or a profile link is there. Best-effort. Off by default.",
            "default": false
          },
          "fullProfiles": {
            "title": "Full profiles (work history, schools, skills)",
            "type": "boolean",
            "description": "Adds each employee's full public profile to the row: work history with dates, schools with degrees, top skills, about text, and follower and connection counts. The profile also confirms the current employer, so a row whose profile shows someone working elsewhere is dropped before billing. Billed as the full-profile event on top of the row's price, only for rows that carry a full profile. Adds about 10-40 seconds per row, spread over parallel lookups.",
            "default": false
          },
          "deepVerify": {
            "title": "Deep verify (fetch each public profile page)",
            "type": "boolean",
            "description": "Advanced. Re-grades each row from the person's public profile (current employer, title, location), by the same rules. The profile is read through a public-profile source first and from LinkedIn's own page only when that fails; a profile neither can read leaves the row as the search result graded it. Adds time per row. No extra charge.",
            "default": false
          },
          "googlePages": {
            "title": "Discovery pages per company × title",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many search result pages (20 results each) to fetch per company and target title. More pages = more candidates but higher cost. Default 3, max 10.",
            "default": 3
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Maximum concurrent requests. Lower = gentler and steadier; higher = faster but more likely to hit rate limits.",
            "default": 10
          },
          "autoQuerySegmentation": {
            "title": "Auto query segmentation (break pagination limits)",
            "type": "boolean",
            "description": "Automatically segments large company searches across seniority and department buckets when no specific titles are set, unlocking deep employee discovery for large enterprises.",
            "default": false
          },
          "postFilteringMongoDbQuery": {
            "title": "Post-filtering MongoDB query (MQL)",
            "type": "object",
            "description": "Optional MongoDB query object evaluated in-memory against each employee row before billing and delivery. Supports dot-notation paths (`currentTitle`, `location`, `skills`), `$regex`, `$options`, `$in`, `$nin`, `$all`, `$elemMatch`, `$gt`, `$gte`, `$lt`, `$lte`, `$ne`, `$exists`, `$and`, `$or`. Example: `{ \"currentTitle\": { \"$regex\": \"engineer|developer\", \"$options\": \"i\" } }`."
          },
          "dedupeStoreName": {
            "title": "Cross-run deduplication store name",
            "type": "string",
            "description": "Optional Apify Key-Value Store name (e.g. `company-employees-seen`). Profiles already emitted in previous runs using this store name are skipped and not billed again."
          },
          "failOnIncomplete": {
            "title": "Fail run on incomplete results (strict automation mode)",
            "type": "boolean",
            "description": "When enabled, the run exits with status FAILED if upstream search or profile-lookup errors leave results incomplete after retries (instead of finishing SUCCEEDED with a PARTIAL status message). Regardless of this flag, every run writes a machine-readable `RUN_SUMMARY` JSON record to the default Key-Value Store with `complete: true/false`, `status`, and per-company counts. Hitting your own Apify max-charge cap is reported in `RUN_SUMMARY` without triggering a failure loop.",
            "default": false
          },
          "startUrls": {
            "title": "Start URLs (advanced — LinkedIn company URLs)",
            "type": "array",
            "description": "Optional. LinkedIn company URLs to include, in addition to (or instead of) Companies. Useful for request lists / Google Sheets sources.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "cookies": {
            "title": "Cookies (optional — enables authoritative mode)",
            "type": "array",
            "description": "<p><b>Optional.</b> Leave empty and the run works with no login. Paste your own LinkedIn session if you want the fuller roster. That mode reads company URLs from Start URLs only. Companies and the search filters apply to the no-login path.</p>"
          },
          "sdoKey": {
            "title": "Own fetch token (optional)",
            "type": "string",
            "description": "Advanced. Leave blank. Set this only if you bring your own fetch service."
          },
          "proxy": {
            "title": "Proxy configuration (optional override)",
            "type": "object",
            "description": "Leave empty. The default works. Set this only to use your own proxies."
          }
        }
      },
      "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "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
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}