# Find Former Employees of a Company by Domain (`b2bdata/former-employees-finder`) Actor

Former employees finder: give former-employer domains (stripe.com) and where they work now (company domains or countries). One row per person: current title and company, location, profile URL. Free plan: 100 employers per run. Pay per person. No login or cookies.

- **URL**: https://apify.com/b2bdata/former-employees-finder.md
- **Developed by:** [Open Enrich](https://apify.com/b2bdata) (community)
- **Categories:** Lead generation, Marketing, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.40 / 1,000 former employee delivereds

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

Learn more: https://docs.apify.com/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

## Find Former Employees of a Company by Domain

Company former employees finder: give the domain of a former employer (stripe.com) and where the former employees work now, either target company domains or countries, and get one row per former employee with current title and company, former employer, location and profile URL. No login, no cookies. You pay for each former employee row you receive; phone and email add-ons are optional.

**No login | Former employers as domains | Filter by current company, country, industry, seniority | One former employee per row | Per-employer cap | Unknown employers = free | JSON/CSV export**

> **Who left Stripe and now works at OpenAI?** Former employees lists are warm-intro lists: people who share a past employer with you or your customer. This actor answers "former employees of A who are now at B (or in country C)" in one run. It does not return email addresses, only whether one is on file. For emails chain it with [email-finder](https://apify.com/b2bdata/email-finder).

[See all actors by b2bdata](https://apify.com/b2bdata)

***

### 💳 Pricing and plans

One event, `former employee`, charged once per former employee row delivered. Prices per 1,000 former employees (set on the Pricing tab):

| Event | When it is charged | Free plan | Gold plan |
|---|---|---|---|
| `former employee` | An former employee row is delivered to your dataset | $1.896 | $1.396 |

Bronze and Silver prices are on the Pricing tab. Higher Apify plans only lower the price. Unknown employers, employers with no matching former employees, failed lookups, unreadable entries and notices are free. An empty run costs only the $0.0005 start fee.

**Opt-in add-ons.** Switch on `includePhones` (event `phone-found`, $4.996 per 1,000 people with a phone on the Free plan) or `includeEmails` (event `email-found`, $0.963 per 1,000 people with a work email on the Free plan). They are charged after the person row and only for people who have one; everyone else costs nothing extra.

**Plan-credit math.** The free plan's $5 monthly credit covers about 2,630 former employees at the Free price.

#### Success-only billing

You are charged only for an former employee row you receive. A former employer with no company on file, or with no former employees matching your filters, gets one free notice row (`reason: "unknown_employer"` or `"no_former employees"`). An entry that is not a domain, a repeat, or a lookup that fails is listed in `MISSES` with its position and a reason and costs nothing. A profile you already received, or a row that is not credible (no name, no profile URL, or a person still working at the former employer), is skipped and never charged.

#### The free plan

Free Apify accounts get up to 100 former employers looked up per run, and as many runs as their Apify credit covers. Nothing is stored on our side. When a list is longer, the first 100 valid domains are looked up and one free notice row (`reason: "free_plan_limit"`) says how many were not looked up; they are not charged. Run again with the rest, or use a paid Apify plan for no per-run limit.

#### Keep a run small while you test

Two caps protect you. `maxPerEmployer` (default 100, maximum 1,000) stops any one company from using up the run, and a large employer can have tens of thousands of former employees on file. `limit` (default 100, maximum 10,000) caps the whole run. Try one employer with `limit: 5`, read the rows, then scale up.

***

### ⚡ Why this former employees finder?

- **Start from the domain.** `stripe.com`, `https://www.stripe.com/about` and `jane@stripe.com` all become `stripe.com`. No company-name matching.
- **Say where they are now.** `currentCompanyDomains` keeps former employees at your target accounts; `countries` and `industries` narrow by place and sector; `titleRoles` keeps cxo, vp, director, manager, founder or other.
- **Only people who left.** People whose current employer is the former employer are dropped, so a promotion inside the company does not count as an exit.
- **One row per person.** The data can hold the same profile under several ids. The profile URL is the identity, so a person is delivered once per run.
- **Success-only.** Unknown employers, bad entries, repeats and notices are free.

***

### 🎯 Use cases: warm paths through a shared past employer

- **Account-based prospecting.** Find the people at a target account who used to work where your champion or customer works.
- **Referral and intro lists.** Former employees of a company you came from, now at the accounts you want.
- **Recruiting and sourcing.** Ex-employees of a competitor, now in a country or industry you hire in.
- **Agent workflows.** An AI agent holds two domains and needs the overlap in one call.

***

### 🚀 Quick start: former employees of one company at another

#### 1. Stripe former employees now at OpenAI

```json
{ "formerEmployers": ["stripe.com"], "currentCompanyDomains": ["openai.com"], "limit": 5 }
```

#### 2. Leaders who left several companies, now in the US or UK

```json
{ "formerEmployers": ["stripe.com", "google.com", "shopify.com"], "countries": ["us", "gb"], "titleRoles": ["cxo", "vp", "director"], "maxPerEmployer": 50, "limit": 150 }
```

Each `formerEmployers` entry becomes its bare domain before the lookup.

***

### ⚙️ Inputs

| Key | Type | Default | What it does |
|---|---|---|---|
| `formerEmployers` | array of strings | required | Domains, website URLs or email addresses of the former employer. A company name is not a domain and is listed in `MISSES` as `invalid_domain`. The same domain written twice is looked up once. Free plan: 100 employers per run. |
| `currentCompanyDomains` | array of strings | none | Keep former employees whose current employer has one of these domains. Up to 200. |
| `countries` | array of strings | none | Keep former employees located in these countries. Two-letter codes (`us`, `gb`, `de`). |
| `industries` | array of strings | none | Keep former employees whose current employer is in one of these industries. Exact names, for example `Software Development`. |
| `titleRoles` | array of strings | all | Keep only these seniority levels: `cxo`, `vp`, `director`, `manager`, `founder`, `other`. Any other value stops the run with a message. |
| `maxPerEmployer` | integer | 100 | Most former employees delivered for one former employer. Maximum 1,000. |
| `limit` | integer | 100 | Most former employees delivered in the whole run, which also caps what is charged. Maximum 10,000. Employers not reached are listed in `MISSES`. |
| `includePhones` | boolean | false | Add-on: adds a `phone` to each person who has one on record. Charged per person with a phone ($4.996 per 1,000 on the Free plan). People without one cost nothing extra. |
| `includeEmails` | boolean | false | Add-on: adds a `workEmail` to each person who has one on record. Charged per person with an email ($0.963 per 1,000 on the Free plan). People without one cost nothing extra. |
| `includeAudit` | boolean | false | Adds an `audit` object to each row. |

**You need `currentCompanyDomains` or `countries`.** The data refuses a search that does not say where the people are, so `industries` and `titleRoles` alone only narrow a search that has one of the two. A run without either ends with a free `invalid-input` notice.

Any other field stops the run before a lookup with `remove unsupported fields: ...`. Nothing is charged.

***

### 📤 Output

One result row per former employee. Rows for one former employer stay together, employers keep input order. Empty values are left out.

| Key | Type | Meaning, and when it is missing |
|---|---|---|
| `fullName`, `firstName`, `lastName` | string | The person's name |
| `jobTitle` | string | Title of the current position. Missing for a person between jobs |
| `seniority` | string | `cxo`, `vp`, `director`, `manager`, `founder` or `other`, grouped from the title |
| `company` | string | Name of the current employer |
| `companyDomain` | string | Domain of the current employer. Missing when the company declares none |
| `formerEmployer` | string | Name of the former employer you searched |
| `formerEmployerDomain` | string | The domain from your `formerEmployers` entry, cleaned |
| `headline` | string | The profile headline |
| `location` | string | Place on the profile |
| `country` | string | Two-letter country code. Missing when the profile has none |
| `startYear` | integer | Year the person started the current position. Missing when it is not on file |
| `connections` | integer | Connection count on the profile |
| `hasWorkEmail` | boolean | An address on an employer domain is on record. Missing when that could not be checked |
| `hasPersonalEmail` | boolean | A personal mailbox is on record. Missing when that could not be checked |
| `profileUrl` | string | Public profile URL |
| `slug` | string | Profile slug |
| `updatedAt` | string | When the profile was last refreshed in the data |
| `phone` | string | Only with `includePhones`: a phone number on record. Present only when one is found |
| `workEmail` | string | Only with `includeEmails`: a work email on record. Present only when one is found |
| `audit` | object | Only with `includeAudit`: `requestId`, `latencyMs`, `inputRaw` |

Example output (the shape is real, the values are illustrative):

```json
{
  "fullName": "Ann Example",
  "firstName": "Ann",
  "lastName": "Example",
  "jobTitle": "Head of Growth",
  "seniority": "director",
  "company": "Acme",
  "companyDomain": "acme.com",
  "formerEmployer": "Stripe",
  "formerEmployerDomain": "stripe.com",
  "headline": "Growth leader",
  "location": "Dublin, Ireland",
  "country": "IE",
  "startYear": 2022,
  "connections": 500,
  "hasWorkEmail": true,
  "hasPersonalEmail": false,
  "profileUrl": "https://linkedin.com/in/ann-example",
  "slug": "ann-example",
  "updatedAt": "2025-01-02T03:04:05Z"
}
```

#### How to read the rows

- **Who counts as an former employee.** A person the data holds with a finished position at the company that owns the domain, and whose current employer is not that company. The data does not say when the person left, so there is no leave-year filter and no leave year in the row.
- **Current job.** People can hold several current positions. The row shows the one at your `currentCompanyDomains`, else one in your `industries`, else the first position with a company or title.
- **Former employer.** It is the domain you searched. A person who is an former employee of two employers in your list is delivered once, under the first.
- **Order and caps.** Rows come in the data's storage order, which groups people by country. With a cap smaller than the number of matches and several countries, the rows you receive come from the first countries in that order, not a random sample. Use `countries` to pick the ones you want.
- **Thin profiles.** Some profiles have a placeholder name or no location. Check `fullName` and `headline` before you act on a row.
- **Email flags are not emails.** `hasWorkEmail: true` means an address is on record, not that we return it unless you switch on `includeEmails`.

#### Other records in the run

- **`MISSES`** (key-value store): `[{index, input, reason}]` for every `formerEmployers` entry without a result row. Reasons: `unknown_employer`, `no_former employees`, `invalid_domain`, `duplicate_input` (the same domain as an earlier entry; `duplicateOf` names it), `not_looked_up_limit` (the run `limit` was reached first), or `Upstream HTTP <code>`.
- **`errors-former-employees-finder`** (key-value store): the lookups that failed for a technical reason, so you can re-run only those employers. A note `(partial: ...)` means some former employees were already delivered.
- **`RUN_SUMMARY`**: counts (requested, valid, looked up, former employees delivered, repeat profiles skipped) and, per employer, how many former employees were delivered.
- **Notice rows** (`type: "notice"`) appear for an employer with no data, a free-plan list longer than 100 (`free_plan_limit`), a reached `limit` (`limit_reached`), a reached spend limit (`charge_limit_reached`) or invalid input (`invalid-input`). Notices are never charged.

#### What is NOT returned

- Email addresses or phone numbers, unless you switch on the `includeEmails` and `includePhones` add-ons (for a verified address use [email-finder](https://apify.com/b2bdata/email-finder))
- When the person left, how long they stayed, or what they did there
- A company's current staff (use [people-at-company](https://apify.com/b2bdata/people-at-company))
- A search across all companies by title or location (use [linkedin-people-search](https://apify.com/b2bdata/linkedin-people-search))

***

### 🛡️ Reliable results

**Our data promise.** We work to keep the data current, and we stand behind it. If a person has moved on, a company is missing or a row looks wrong, open the Issues tab with your run link. We review every report and sort it out with you, case by case.

- **No data is free and visible.** Every employer without a row is in `MISSES` with its position and a reason and is never charged.
- **Repeats are charged once.** The same domain written twice, or the same profile found twice, is one row.
- **Each row is saved as it is delivered.** A run that stops, or a lookup that fails halfway through an employer, keeps what it already produced.
- **Bounded pace.** Lookups run at about 60 a minute, so a long list takes time. The run timeout is one hour.
- **Typos fail early.** An unsupported input field, a country name instead of a code, a bad seniority value or a limit above its maximum stops the run before any charge.

***

### 🤖 For AI agents (MCP)

This actor runs through the Apify MCP server. Prompt to copy:

> "Use b2bdata/former-employees-finder with formerEmployers=\["stripe.com"], currentCompanyDomains=\["openai.com"] and limit=20. Return fullName, jobTitle, company and profileUrl."

**When to use it.** You hold a former-employer domain and need the people from it who now work at given companies or in given countries.
**When not to.** You need email addresses (use b2bdata/email-finder), a company's current staff (use b2bdata/people-at-company) or a search by title across all companies (use b2bdata/linkedin-people-search).
**Input contract.** `formerEmployers` array of domains, URLs or emails; one of `currentCompanyDomains` or `countries` is required; optional `industries`, `titleRoles`, `maxPerEmployer` 1-1,000 (default 100), `limit` 1-10,000 (default 100).
**Output contract.** One row per former employee with `fullName`, `jobTitle`, `company`, `companyDomain`, `formerEmployer`, `profileUrl`. Output is deterministic and schema-stable. Employers without data are a free notice row and listed in `MISSES`.
**Smoke test.** `limit: 1` with `formerEmployers: ["stripe.com"]` and `currentCompanyDomains: ["openai.com"]` returns one row.
**Error cases.** `No valid domains` means no `formerEmployers` entry was a domain. `remove unsupported fields`, a missing `currentCompanyDomains` and `countries`, a bad `titleRoles` value or a bad number ends the run SUCCEEDED with one free `invalid-input` notice row and nothing charged.

***

### 🔌 Integrations: send results anywhere

1. **API.** Fetch rows from the run's default dataset: `GET /v2/datasets/{datasetId}/items?format=csv`.
2. **Webhook** on run success to push rows to your own endpoint.
3. **n8n, Make, Zapier.** Use the native Apify nodes: run the actor, then read the dataset.
4. **Google Sheets, Airtable, HubSpot, Salesforce, Clay.** Join on `companyDomain` and map `fullName`, `jobTitle` and `profileUrl` to contact fields.

***

### 🕐 Schedule examples

- **Monthly former employees refresh.** A schedule with a saved task that points at your target-account domains.
- **New-account mapping.** A webhook from your CRM starts a run with the new account domains in `currentCompanyDomains`.

***

### 🔗 Related actors

- `b2bdata/people-at-company`: the people who work at a company now, from its domain. [Open](https://apify.com/b2bdata/people-at-company)
- `b2bdata/email-finder`: a work email for a person at a domain. [Open](https://apify.com/b2bdata/email-finder)
- `b2bdata/linkedin-people-search`: search people across companies by title and location. [Open](https://apify.com/b2bdata/linkedin-people-search)
- `b2bdata/linkedin-employee-search`: the people at a company found by company name or LinkedIn URL. [Open](https://apify.com/b2bdata/linkedin-employee-search)

[See all actors by b2bdata](https://apify.com/b2bdata)

***

### ❓ FAQ

#### Data and coverage

**How do I find people who used to work at a company?**
Put the former employer's domain in `formerEmployers`, add `currentCompanyDomains` or `countries` to say where they are now, and run. You get one row per person.

**How do I find former employees of one company who now work at another?**
Set `formerEmployers` to the first domain and `currentCompanyDomains` to the second, for example `stripe.com` and `openai.com`.

**Why do I have to give currentCompanyDomains or countries?**
A search with only a former employer would match tens of thousands of people across every country, and the data refuses a search without a place or a current company. Add either one. `industries` and `titleRoles` then narrow it further.

**Why did I get fewer people than the company has former employees?**
Rows stop at `maxPerEmployer` (default 100) and at `limit` (default 100 for the whole run), and your filters cut the rest. Raise the caps. `RUN_SUMMARY` shows what was delivered for each employer.

**Why is an employer missing from the results?**
It is in `MISSES` with a reason: no company on file for the domain, no former employees matching your filters, or an entry that was not a domain.

**Do I get email addresses?**
Only if you switch on `includeEmails`, which adds a work email for people who have one. `hasWorkEmail` and `hasPersonalEmail` say whether an address is on record. For a verified address use `b2bdata/email-finder`.

**Do I need a LinkedIn account or cookies?**
No. It is a lookup without login, cookies or an account to ban.

#### Pricing

**What do I pay when an employer has no former employees?**
No result charge: unknown employers, bad entries, repeats and notices are free.

***

### 🛟 Support

Use the **Issues** tab on this actor's Apify page for bugs, questions and feature requests. We answer within 48 hours on working days. Please include the run ID and the input you used. Published on Apify by b2bdata. Not affiliated with, endorsed by, or sponsored by any company or person named in the examples above.

# Changelog

This Actor's version history is a separate document: https://apify.com/b2bdata/former-employees-finder/changelog.md

# Actor input Schema

## `formerEmployers` (type: `array`):

Domains of the company the people used to work at. Example: \["stripe.com", "https://www.google.com/about", "jane@meta.com"]. A website URL or an email address is reduced to its domain; a company name is not a domain and is listed in the MISSES record as invalid_domain. Each domain is looked up once; repeats are listed in MISSES as duplicate_input. A domain with no company on file returns one free notice row. People who still work at that company are not returned. Free plan: 100 employers per run.

## `currentCompanyDomains` (type: `array`):

Keep only former employees whose current employer has one of these domains. Example: \["openai.com", "shopify.com"]. Up to 200. Leave empty to search by country instead. You need this field or countries.

## `countries` (type: `array`):

Keep only former employees located in these countries. Two-letter codes, any case. Example: \["us", "gb", "de"]. A country name such as Germany stops the run with a message. Leave empty to search by currentCompanyDomains instead. You need this field or currentCompanyDomains.

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

Keep only former employees whose current employer is in one of these industries. The name must match exactly (any letter case), for example \["Software Development", "Financial Services"]; a paraphrase returns nothing. It only narrows a search that already has currentCompanyDomains or countries.

## `titleRoles` (type: `array`):

Keep only former employees whose current role is at these seniority levels. Leave empty for everyone. Example: \["cxo", "vp"]. The levels are cxo, vp, director, manager, founder and other.

## `maxPerEmployer` (type: `integer`):

Most former employees delivered for any one former employer, so a large company cannot use up your run. Default 100, maximum 1000. A person counts once.

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

Most former employees delivered in the whole run, which also caps what is charged. Employers not reached are listed in MISSES and are not charged. Default 100, maximum 10000.

## `includePhones` (type: `boolean`):

Adds a phone number to each person who has one on record. Charged per person with a phone: $0.005 on the Free plan ($4.996 per 1,000), less on higher plans. People without a phone cost nothing extra. Off by default.

## `includeEmails` (type: `boolean`):

Adds a work email to each person who has one on record. Charged per person with an email: $0.00096 on the Free plan ($0.963 per 1,000), less on higher plans. People without an email cost nothing extra. Off by default.

## `includeAudit` (type: `boolean`):

Adds requestId, latencyMs and inputRaw to each row under audit. Omit for clean rows.

## Actor input object example

```json
{
  "formerEmployers": [
    "stripe.com"
  ],
  "countries": [
    "us"
  ],
  "maxPerEmployer": 100,
  "limit": 100,
  "includePhones": false,
  "includeEmails": false,
  "includeAudit": false
}
```

# Actor output Schema

## `former employees` (type: `string`):

One deduplicated row per former employee: name, current title and company, former employer, location, profile URL

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

Counts, former employees per former employer and stop reason for this run

# 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 = {
    "formerEmployers": [
        "stripe.com"
    ],
    "countries": [
        "us"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2bdata/former-employees-finder").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 = {
    "formerEmployers": ["stripe.com"],
    "countries": ["us"],
}

# Run the Actor and wait for it to finish
run = client.actor("b2bdata/former-employees-finder").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 '{
  "formerEmployers": [
    "stripe.com"
  ],
  "countries": [
    "us"
  ]
}' |
apify call b2bdata/former-employees-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,b2bdata/former-employees-finder"
        }
    }
}
```

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/ItCg1ZOYqHauv8adT/builds/g9slKQiYR9eCZGyrD/openapi.json
