# Company Team Mapper: Department Org Chart by Domain (`b2bdata/team-mapper`) Actor

Company team mapper by domain: pick a department (engineering, sales, marketing and more) and get everyone in it at each company, ranked head, manager, then individual contributor, one row per person with level, rank, title and profile URL. Free plan: 100 domains per run. Pay per person. No login.

- **URL**: https://apify.com/b2bdata/team-mapper.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 $0.90 / 1,000 team member delivereds

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

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Company Team Mapper: Department Org Chart by Domain

Company team mapper by domain: give a list of company domains and one department, get everyone in that department at each company, one row per person, ranked head, then manager, then individual contributor, with `level`, `rank`, title, location and profile URL. No login, no cookies. You pay only for a person row you receive.

**No login | Domains, URLs or emails in | One person per row | Head, manager, ic with a rank | Unknown domains = free | JSON/CSV export**

> **One whole team, not a committee.** [buying-committee-map](https://apify.com/b2bdata/buying-committee-map) picks a few people across several departments and guesses their buying role. This actor does the opposite: you pick one department, it lists the whole team, including the engineers, reps or marketers at the bottom, and orders it as an org chart with `level` and `rank`. It does not guess roles and it does not mix departments. It does not return email addresses unless you switch on the add-on.

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

***

### 💳 Pricing and plans

One event, `team-member`, charged once per person row delivered. Prices per 1,000 people (set on the Pricing tab):

| Event | When it is charged | Free plan | Gold plan |
|---|---|---|---|
| `team-member` | A person row is delivered to your dataset | $1.996 | $0.896 |

Bronze and Silver prices are on the Pricing tab. Higher Apify plans only lower the price. Unknown domains, domains with nobody in the department, failed lookups, unreadable entries and notices are free. An empty run costs only the $0.0005 start fee.

Opt-in add-ons, off by default: `includePhones` charges `phone-found` ($4.996 per 1,000 on the Free plan, $2.996 on Gold) and `includeEmails` charges `email-found` ($0.963 per 1,000 on the Free plan, $0.696 on Gold). Each is charged once per person, only when a phone number or a current work email is found, after the row itself. People without one cost nothing extra.

**Plan-credit math.** The free plan's $5 monthly credit covers about 2,500 people at the Free price, which is about 25 teams of 50.

#### Success-only billing

You are charged only for a person row you receive. A domain with no company on file, or with nobody in the department, gets one free notice row (`reason: "no_team"`). A hosting or platform domain shared by too many companies gets a free notice (`domain_too_broad`). 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. If any of the three lookups for a domain fails, nothing is delivered or charged for that domain, so you never pay for an org chart with a missing level. Rows that fail the checks (see "How levels and ranks work") are skipped before any charge.

#### The free plan

Free Apify accounts get up to 100 domains 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

`maxPeoplePerDomain` (default 50, maximum 500) sets the team size per company. `limit` (default 100, maximum 10,000) caps the whole run. Try one domain with `maxPeoplePerDomain: 10`, read the rows, then scale up.

***

### ⚡ Why this team mapper?

- **Start from the domain.** `stripe.com`, `https://www.stripe.com/about` and `jane@stripe.com` all become `stripe.com`. No company-name matching and no LinkedIn URL needed.
- **The team is the data's own function tag.** `department` maps to the job-title function in the data (engineering, sales, marketing and so on), not to a keyword list of ours.
- **Org-chart order.** Heads first, then managers, then everyone else. `level` and `rank` are in every row, so a sort by `rank` is the chart.
- **A balanced slice at any size.** With a small `maxPeoplePerDomain` you still get heads and managers, not 50 engineers from the largest pile: up to 25% heads, up to 35% managers, the rest individual contributors.
- **Success-only.** Unknown domains, empty teams, bad entries, repeats and notices are free.

***

### 🎯 Use cases

- **Account research.** Before outreach, see who runs engineering at a target account and how many managers sit under them.
- **Competitor mapping.** List the sales or marketing team of a competitor, head first.
- **Recruiting.** Map engineering leaders and managers at companies you recruit from, then pick people by seniority and country.
- **Agent workflows.** An AI agent holds company domains and needs one department's people, ordered, in one call.

***

### 🚀 Quick start

#### 1. One company, the engineering team

```json
{ "items": ["stripe.com"], "department": "engineering", "maxPeoplePerDomain": 30 }
```

#### 2. A list of competitors, the sales team

```json
{ "items": ["hubspot.com", "https://www.zendesk.com/about", "intercom.com"], "department": "sales", "maxPeoplePerDomain": 40, "limit": 120 }
```

Each entry becomes its bare domain before the lookup.

***

### ⚙️ Inputs

| Key | Type | Default | What it does |
|---|---|---|---|
| `items` | array of strings | required | Company domains, website URLs or email addresses. 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 domains per run. |
| `department` | string | `engineering` | The team to list: `engineering`, `product`, `design`, `data`, `it`, `sales`, `marketing`, `customer_success`, `finance`, `hr`, `operations`. Any other value stops the run with a message. |
| `maxPeoplePerDomain` | integer | 50 | Most people for one company. Maximum 500. |
| `limit` | integer | 100 | Most people delivered in the whole run, which also caps what is charged. Maximum 10,000. Domains not reached are listed in `MISSES`. |
| `includePhones` | boolean | false | Adds `phone` and `phones` for people who have a number on file (add-on, see Pricing). |
| `includeEmails` | boolean | false | Adds `workEmail` for people who have a current work email on file (add-on, see Pricing). |
| `includeAudit` | boolean | false | Adds an `audit` object to each row. |

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

***

### 🧭 How levels and ranks work

The level comes from the seniority bucket the data gives each title, plus the word "head" in the title. It is a rule of thumb, not knowledge of how a company is really organised.

| `level` | Who gets it | Share of `maxPeoplePerDomain` |
|---|---|---|
| `head` | C-level, founder, VP or director in the department, or any title with the word "head" | up to 25% |
| `manager` | The data's manager bucket | up to 35%, plus what the heads did not use |
| `ic` | Everyone else in the department, team leads included | everything left |

`rank` is 1 for the most senior person of a company and counts up through the whole team. Inside `head` the order is C-level, founder, VP, director, then other "head of" titles. Inside every level thin profiles come last and the most connected profile comes first. A "Head of ..." title that the data files under no seniority is a head, but it is only found when the run has room left after the heads and managers, because it sits in the last lookup.

**Rows that are skipped, never charged:** a person whose job at that company is not in the department you asked for even though the data tags them with it (for example "Director, Sales Engineering" in engineering, "Head of Product Marketing" in engineering), a boss's staff ("Executive Assistant to the CTO", "Chief of Staff", "Office of the CEO"), people matched on a job at another company, rows without a name or profile URL, and a person who is already in the list (see "One person once").

***

### 📤 Output

One result row per person. Rows for one domain stay together in rank order, domains keep input order. Empty values are left out.

| Key | Type | Meaning, and when it is missing |
|---|---|---|
| `companyDomain` | string | The domain from your entry, cleaned |
| `company` | string | Company name on the position |
| `department` | string | The department you asked for |
| `level` | string | `head`, `manager` or `ic` |
| `rank` | integer | 1 = most senior in this company's list, counting up |
| `fullName`, `firstName`, `lastName` | string | The person's name |
| `jobTitle` | string | Title of the position this row comes from |
| `seniority` | string | `cxo`, `founder`, `vp`, `director`, `manager` or `other`, the data's bucket |
| `headline` | string | The profile headline. Missing when the person has none |
| `location` | string | Place on the profile |
| `country` | string | Two-letter country code. Missing when the profile names none |
| `startYear` | integer | Year the person started the position. Missing when it is not on file |
| `connections` | integer | Connection count on the profile |
| `hasWorkEmail` | boolean | An address on another 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 |
| `lowSignal` | boolean | `true` for a thin profile: under 10 connections and no start year. These sort last inside their level |
| `profileUrl` | string | Public profile URL |
| `slug` | string | Profile slug |
| `updatedAt` | string | When the profile was last refreshed in the data |
| `phone`, `phones` | string, array | Only with `includePhones` and only for people with a number on file |
| `workEmail` | string | Only with `includeEmails` and only for people with a current work email on file |
| `audit` | object | Only with `includeAudit`: `requestIds`, `inputRaw`, `department` |

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

```json
{
  "companyDomain": "stripe.com",
  "company": "Stripe",
  "department": "engineering",
  "level": "manager",
  "rank": 14,
  "fullName": "Ann Example",
  "firstName": "Ann",
  "lastName": "Example",
  "jobTitle": "Engineering Manager",
  "seniority": "manager",
  "headline": "Engineering at Stripe",
  "location": "Dublin, Ireland",
  "country": "IE",
  "startYear": 2021,
  "connections": 500,
  "hasWorkEmail": true,
  "hasPersonalEmail": false,
  "lowSignal": false,
  "profileUrl": "https://linkedin.com/in/ann-example",
  "slug": "ann-example",
  "updatedAt": "2025-01-02T03:04:05Z"
}
```

#### How to read the rows

- **Level and rank are not reporting lines.** The data has no manager-of-whom field. A manager is a manager by title, not necessarily the manager of the engineers listed under them.
- **Who is on the list.** People the data holds as currently working at the companies that declare the domain. A domain can declare more than one company, and all of them are included.
- **Measured on real companies.** On 2026-11-16, 165 rows came back from live lookups for five company domains (stripe.com, shopify.com, atlassian.com, datadoghq.com, hubspot.com; engineering and sales). 80% were deliverable rows, about 10% repeated a profile already in the list and about 10% were dropped by the department check. Every one of the five domains returned people. Teams other than engineering and sales use the same function tag but were not run against real companies, so their coverage is not measured.
- **Precision and recall of a department.** The function tag is the data's classification of the title. Some titles carry no function ("Head of People" had none in a lookup), so a department can miss its head. Odd titles can pass as a team member. Check `jobTitle` before you act.
- **One person once.** A person with several positions, several profile ids or a profile written two ways is delivered once per run. If the same person is found at two domains in your list, the row stays with the first domain.
- **Team larger than your cap.** When a level has more people than room, you get the first ones in the data's order, not the most connected. Raise `maxPeoplePerDomain` for the rest.
- **Email flags are not emails.** `hasWorkEmail: true` means an address is on record, not that we return it. Switch on `includeEmails` to receive a current work email.
- **Pace.** Up to three lookups per domain, about one a second, so a domain takes a few seconds and 100 domains take about five minutes.

#### Other records in the run

- **`MISSES`** (key-value store): `[{index, input, reason}]` for every entry without a result row. Reasons: `no_team`, `domain_too_broad`, `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-team-mapper`** (key-value store): the lookups that failed for a technical reason, so you can re-run only those domains.
- **`RUN_SUMMARY`**: counts (requested, valid, looked up, people delivered) and, per domain, how many people were delivered per level.
- **Notice rows** (`type: "notice"`) appear for a domain with no team, a platform domain, 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

- Real reporting lines, budgets or headcount plans
- Email addresses or phone numbers unless you switch on the add-ons
- Work history, skills or education (use [linkedin-profile-by-url](https://apify.com/b2bdata/linkedin-profile-by-url))
- Company details such as industry or size

***

### 🛡️ 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 domain without a row is in `MISSES` with its position and a reason and is never charged.
- **No half org charts.** If a lookup fails, nothing is delivered or charged for that domain.
- **Repeats are charged once.** The same domain written twice, or the same person found twice, is one row.
- **Typos fail early.** An unsupported input field, a bad department 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/team-mapper with items=\["stripe.com"], department="engineering" and maxPeoplePerDomain=20. Return rank, level, fullName, jobTitle and profileUrl."

**When to use it.** You hold company domains and need one department's people, ordered head to individual contributor.
**When not to.** You need people across several departments with a buying role (use b2bdata/buying-committee-map), every employee of a company (use b2bdata/people-at-company) or a full profile (use b2bdata/linkedin-profile-by-url).
**Input contract.** `items` array of domains, URLs or emails; optional `department` (default `engineering`), `maxPeoplePerDomain` 1-500 (default 50), `limit` 1-10,000 (default 100), `includePhones`, `includeEmails`.
**Output contract.** One row per person with `companyDomain`, `department`, `level`, `rank`, `fullName`, `jobTitle`, `profileUrl`. Domains without data are a free notice row and listed in `MISSES`.
**Smoke test.** `maxPeoplePerDomain: 6` on a well-known domain returns up to six rows.
**Error cases.** `No valid domains` means no entry was a domain. `remove unsupported fields`, a bad `department` 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 `level`, `rank`, `fullName`, `jobTitle` and `profileUrl` to contact fields.

***

### 🕐 Schedule examples

- **Monthly team refresh.** A schedule with a saved task that points at your target-account list; compare datasets to see new heads and managers.
- **New-account mapping.** A webhook from your CRM starts a run with the new domains.

***

### 🔗 Related actors

- `b2bdata/buying-committee-map`: a few people across departments with a guessed buying role. [Open](https://apify.com/b2bdata/buying-committee-map)
- `b2bdata/people-at-company`: every employee of a company domain, one row per person. [Open](https://apify.com/b2bdata/people-at-company)
- `b2bdata/decision-makers-by-company`: the decision makers of a company domain. [Open](https://apify.com/b2bdata/decision-makers-by-company)
- `b2bdata/headcount-by-department`: how many people a company has per team. [Open](https://apify.com/b2bdata/headcount-by-department)

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

***

### ❓ FAQ

#### Data and coverage

**How do I get the org chart of a department from a company domain?**
Put the domain in `items`, set `department` to the team, and run. You get everyone in that team up to your cap, ordered head, manager, then individual contributor, with a `rank` on every row.

**How is a person's level decided?**
From the seniority bucket the data gives the title (C-level, founder, VP and director are head, manager is manager) plus the word "head" in the title. The table under "How levels and ranks work" lists every rule. It is a rule of thumb, not a reporting line.

**Why did I get fewer people than my maximum per company?**
The company may have fewer people in that department on file, or some rows were skipped because the title belongs to another team, a boss's staff or a repeat profile. A domain with nobody in the department returns a free `no_team` notice instead of rows.

**Why is a domain missing from the results?**
It is in `MISSES` with a reason: no team on file, a platform domain shared by many companies, a failed lookup, a repeat or an entry that was not a domain.

**Do I get email addresses?**
Not by default. `hasWorkEmail` says whether an address is on record. Switch on `includeEmails` to get a current work email, charged only when one is found.

**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 a domain has no data?**
No result is charged: unknown domains, empty teams, 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/team-mapper/changelog.md

# Actor input Schema

## `items` (type: `array`):

Company domains to map one team for. Example: \["stripe.com", "https://www.shopify.com/about", "jane@atlassian.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. A domain with no company on file, or nobody in the department, returns one free notice row. Free plan: 100 domains per run.

## `department` (type: `string`):

The team to list at every company, read from the job-title function of each person. People are ranked head, then manager, then individual contributor. Default engineering. Engineering and sales were run against real companies; the other teams read the same function tag but their coverage was not measured.

## `maxPeoplePerDomain` (type: `integer`):

Most people delivered for one domain: up to 25% heads, up to 35% managers and the rest individual contributors; room a level does not use goes to the next one. A person is delivered once. Default 50, maximum 500.

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

Most people delivered in the whole run, which also caps what is charged. Domains 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 file, in phone and phones. Add-on price: $4.996 per 1,000 phone numbers found on the Free plan ($2.996 on Gold), charged once per person and only when a number is found. People without a phone cost nothing extra. Off by default.

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

Adds the current work email of each person who has one on file, in workEmail. Add-on price: $0.963 per 1,000 work emails found on the Free plan ($0.696 on Gold), charged once per person and only when an email is found. People without a work email cost nothing extra. Off by default.

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

Adds requestIds, inputRaw and department to each row under audit. Omit for clean rows.

## Actor input object example

```json
{
  "items": [
    "stripe.com"
  ],
  "department": "engineering",
  "maxPeoplePerDomain": 50,
  "limit": 100,
  "includePhones": false,
  "includeEmails": false,
  "includeAudit": false
}
```

# Actor output Schema

## `members` (type: `string`):

One row per person: level, rank, name, title, seniority, company domain and profile URL

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

Counts, people per level and domain, 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 = {
    "items": [
        "stripe.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("b2bdata/team-mapper").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 = { "items": ["stripe.com"] }

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

```

## MCP server setup

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

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/QUYejyK7E6VjwgYm2/builds/6I0UuBIbTubYomCuO/openapi.json
