# The Org Scraper \[$0.90/1K💰] | Org Charts & People (`ahmed_jasarevic/the-scraper`) Actor

Scrape The Org company profiles, org charts, teams, people and reporting lines. Get headcount, funding stage, offices, manager relationships and profile links in one dataset.

- **URL**: https://apify.com/ahmed_jasarevic/the-scraper.md
- **Developed by:** [Ahmed Jasarevic](https://apify.com/ahmed_jasarevic) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 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.
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

## The Org Scraper

Scrape **The Org** (`theorg.com`) company profiles, org charts, teams, people and reporting lines — including headcount, offices, titles, managers and profile links — from public company pages.

### Build Org Charts And Company People Lists

- Map public org charts and manager-report relationships
- Collect company profiles with industry, headcount, funding stage and offices
- Export people with titles, departments, seniority, teams and profile URLs
- Emit optional team rows with headcounts and descriptions
- Power B2B prospecting, recruiting research, competitor mapping or account planning

### How It Works

![How The Org Scraper turns public company pages into company, person and team records.](https://api.apify.com/v2/key-value-stores/oeuA0kLOyhbRM4fzt/records/how-it-works-theorg-scraper.webp)

The Actor collects publicly available The Org company, team, people and org-chart data and normalizes it into one schema. Provide company slugs or URLs, or a browse filter; the Actor collects company profiles, team previews, reporting lines and people rows, with optional team and location enrichment.

- `includePeople` emits one person item per person; `includeOrgChart` expands reporting lines; `includeTeams` adds team rows.
- `orgChartDepth` controls management levels (default 2, maximum 4); `maxOrgChartRequests` caps per-company work.
- `enrichLocations` adds individual location, level and bio where published.

### Scrape Company Profiles, Org Charts And Reporting Lines

Supply `companySlugs` or `companyUrls` for targeted runs. The UI is prefilled with `openai` and `stripe`; replace those with your targets.

To discover companies instead, set one browse filter:

- `browseIndustry` — industry slug such as `ai-ml`, `fintech` or `saas`
- `browseCountry` — country slug such as `united-states` or `germany`
- `browseEmployeeRange` — `1-10`, `10-50`, `50-200`, `200-500`, `500-1000`, `1000-5000`, `5000-10000` or `>10000`
- `browseLetter` — `a` to `z`

Only the first browse filter is used, in the order industry → country → employee range → letter. `maxCompanies` caps the run. `includePeople` emits one person item per person; `includeOrgChart` walks reporting lines from the top nodes; `includeTeams` adds team items.

`orgChartDepth` controls how many management levels are expanded (default 2, maximum 4). `maxOrgChartRequests` is a per-company work cap (default 25, maximum 200).

### Enrich People, Teams And Locations

By default, person rows use the company HQ as their location. Set `enrichLocations: true` to fetch individual profile pages for the most senior `maxEnrichedPeople` people per company. Enrichment adds individual location, level and bio where The Org publishes them.

Team rows are optional. Large departments may be sampled, so team membership can be incomplete; team headcounts (`memberCount`) are still exact. Seniority and department are inferred from titles and team names because The Org does not expose a normalized seniority field.

### Input

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `companySlugs` | array | prefilled `openai`, `stripe` | The Org slugs or full company URLs. |
| `companyUrls` | array | empty | Full company URLs. |
| `browseIndustry` | string | empty | Industry slug for discovery. |
| `browseCountry` | string | empty | Country slug for discovery. |
| `browseEmployeeRange` | string | empty | Headcount bucket for discovery. |
| `browseLetter` | string | empty | Company name initial for discovery. |
| `maxCompanies` | integer | `20` | Maximum companies processed. Free users are capped at 10. |
| `includePeople` | boolean | `true` | Emit person items. |
| `maxPeoplePerCompany` | integer | `100` | People emitted per company. Free users are capped at 25. |
| `includeOrgChart` | boolean | `true` | Walk reporting lines. |
| `orgChartDepth` | integer | `2` | Management levels to expand (maximum 4). |
| `maxOrgChartRequests` | integer | `25` | Per-company work cap (maximum 200). |
| `includeTeams` | boolean | `false` | Emit team items. |
| `enrichLocations` | boolean | `false` | Collect person profiles for location, level and bio. |
| `maxEnrichedPeople` | integer | `25` | Profile records per company (maximum 500). |
| `proxy` | object | disabled | Optional Apify Proxy configuration. |

A targeted run:

```json
{
  "companySlugs": ["openai", "stripe", "figma"],
  "maxCompanies": 3,
  "maxPeoplePerCompany": 200,
  "includeOrgChart": true,
  "orgChartDepth": 2,
  "includeTeams": true
}
```

A browse run:

```json
{
  "browseIndustry": "fintech",
  "maxCompanies": 25,
  "maxPeoplePerCompany": 50
}
```

### Output

One dataset item per company, one per person and, optionally, one per team. Use `type` to split them.

Company item:

```json
{
  "type": "company",
  "id": "company_123",
  "name": "OpenAI",
  "slug": "openai",
  "url": "https://theorg.com/org/openai",
  "description": "AI research and deployment company.",
  "industries": ["Artificial Intelligence", "Software"],
  "industry": "Artificial Intelligence",
  "headquarters": "San Francisco, CA, USA",
  "headcount": "1000-5000",
  "headcountExact": 3200,
  "fundingStage": "established",
  "stage": "established",
  "companyType": "private",
  "foundedYear": 2015,
  "teamsCount": 42,
  "officesCount": 6,
  "jobsCount": 120,
  "followerCount": 25000,
  "verified": "verified",
  "website": "https://openai.com",
  "linkedinUrl": "https://www.linkedin.com/company/openai",
  "logoUrl": "https://cdn.theorg.com/...",
  "offices": [{ "name": "San Francisco", "slug": "san-francisco", "positionCount": 120, "location": "San Francisco, CA" }],
  "teamHeadcounts": [{ "name": "Research", "slug": "research", "memberCount": 300, "description": null }],
  "peopleCount": 100,
  "orgChartEdges": [{ "personId": "p-1", "personName": "Jane Doe", "title": "CEO", "managerId": null, "managerName": null, "directReportsCount": 8 }],
  "topPeople": [{ "id": "p-1", "name": "Jane Doe", "title": "CEO", "seniority": "C-Level", "department": "Executive", "photoUrl": null, "profileUrl": "https://theorg.com/org/openai/org-chart/jane-doe" }],
  "scrapedAt": "2026-10-26T12:00:00.000Z"
}
```

Person item:

```json
{
  "type": "person",
  "company": "OpenAI",
  "companySlug": "openai",
  "id": "p-1",
  "name": "Jane Doe",
  "firstName": "Jane",
  "lastName": "Doe",
  "title": "Chief Executive Officer",
  "seniority": "C-Level",
  "department": "Executive",
  "teams": ["Executive"],
  "isAdviser": false,
  "location": "San Francisco, CA",
  "locationSource": "company_hq",
  "photoUrl": null,
  "profileUrl": "https://theorg.com/org/openai/org-chart/jane-doe",
  "managerId": null,
  "managerName": null,
  "directReportsCount": 8,
  "level": null,
  "description": null,
  "scrapedAt": "2026-10-26T12:00:00.000Z"
}
```

| Type | Key fields |
| --- | --- |
| `company` | `name`, `slug`, `url`, `description`, `industries`, `headquarters`, `headcount`, `headcountExact`, `fundingStage`, `foundedYear`, `teamsCount`, `officesCount`, `jobsCount`, `website`, social links, `offices`, `teamHeadcounts`, `peopleCount`, `orgChartEdges`, `topPeople` |
| `person` | `name`, `firstName`, `lastName`, `title`, `seniority`, `department`, `teams`, `location`, `locationSource`, `photoUrl`, `profileUrl`, `managerId`, `managerName`, `directReportsCount`, `level`, `description` |
| `team` | `name`, `slug`, `memberCount`, `description`, `url` |

### Pricing

Each dataset item is billed at **$0.0009**, or **$0.90 per 1,000 items**. A standard Actor Start event costs **$0.00005** per run. Pricing tiers: $0.0009 on FREE and BRONZE, $0.00085 on SILVER, $0.0008 on GOLD, PLATINUM and DIAMOND.

Billing counts every emitted row, not every company. A 20-company run with 100 people per company produces about 2,020 company and person items, or roughly **$1.82** in result charges, plus optional team rows and the start event. Turn off `includePeople` for a company-only run, or lower `maxPeoplePerCompany` to control cost.

Free users get up to **10 companies** and **25 people per company**. Paying users can process up to 500 companies and 2,000 people per company. The default run uses 4 GB of memory, so compute cost stays low.

### Schedule Org Chart Monitoring

- **Quarterly refresh** — re-run a target company list and diff `orgChartEdges` and person titles to spot leadership changes.
- **Hiring and team growth** — compare `headcountExact`, `teamHeadcounts` and `jobsCount` across snapshots.
- **Account planning** — enrich CRM accounts with decision-makers and reporting lines.
- **Browse discovery** — run a new industry or country slice each week to find companies that match your ICP.
- **Deduplication** — use `companySlug` + person `id` as the stable key when runs overlap.

### Related Actors

- [TheOrg Org Chart People Scraper](https://apify.com/jungle_synthesizer/theorg-org-chart-people-scraper) — alternative TheOrg people scraper.
- [TheOrg Decision Makers & Company Contacts Scraper](https://apify.com/scrapers_lat/theorg-decision-makers-scraper) — decision-maker focused TheOrg scraper.
- [Company Org Chart by Domain](https://apify.com/bakos_bence/theorg-org-chart) — org chart lookup by company domain.
- [The Org Company Profiles & People Scraper](https://apify.com/automation-lab/the-org-company-profiles-people-scraper) — company profiles and people from The Org.

### FAQ

#### Does the Actor require an account?

No. It collects publicly available company, team and people data and does not need a The Org login.

#### Why is everyone's location the company HQ?

Individual locations are published on person profiles. Set `enrichLocations: true` to collect those pages for the most senior `maxEnrichedPeople` people per company. Otherwise `locationSource` is `company_hq`.

#### Why are some teams incomplete?

Large teams may be sampled, so the member list can be incomplete. `memberCount` is exact even when the member list is not.

#### How complete is the org chart?

Completeness depends on what The Org publishes and on `orgChartDepth` and `maxOrgChartRequests`. The Actor expands a bounded number of levels rather than an entire chart.

#### Is `fundingStage` a funding-round database?

No. It mirrors The Org's `stage` field, such as `startup`, `established` or `other`. It is not a funding-round history.

#### Why are seniority and department sometimes inferred?

The Org does not expose normalized seniority or department fields for every person. The Actor infers them from job titles and team names, so treat them as derived labels.

#### Is there a free preview?

Yes. Free users get up to 10 companies and 25 people per company. Paying users get the full input limits.

#### Can I scrape private companies?

The Actor reads public The Org profiles. If a company or person is not published, it cannot return that data.

### For AI Agents & LLM Apps

Returns The Org data as one row per company, person or team; use `type` to split.

Minimal company run:

```json
{ "companySlugs": ["openai"], "maxCompanies": 1, "maxPeoplePerCompany": 25 }
```

Org-chart run:

```json
{ "companySlugs": ["stripe"], "includeOrgChart": true, "orgChartDepth": 2, "includeTeams": true }
```

Browse run:

```json
{ "browseIndustry": "fintech", "maxCompanies": 10, "maxPeoplePerCompany": 25 }
```

Output fields: company rows include `name`, `slug`, `url`, `description`, `industries`, `headquarters`, `headcount`, `headcountExact`, `fundingStage`, `foundedYear`, `teamsCount`, `officesCount`, `jobsCount`, `website`, social links, `offices`, `teamHeadcounts`, `peopleCount`, `orgChartEdges`, `topPeople`; person rows include `name`, `firstName`, `lastName`, `title`, `seniority`, `department`, `teams`, `location`, `locationSource`, `photoUrl`, `profileUrl`, `managerId`, `managerName`, `directReportsCount`, `level`, `description`; team rows include `name`, `slug`, `memberCount`, `description`, `url`. Every row has `type` and `scrapedAt`.

Behaviors an agent should know:

- `type` is `company`, `person` or `team`.
- `companySlug` + person `id` is the stable key for deduplication.
- Locations default to company HQ unless `enrichLocations` is enabled.
- Team membership may be sampled; `memberCount` is exact.
- Billing counts every emitted row, including each person and optional team.
- Free runs stop at 10 companies and 25 people per company.

### Legal & Compliance Disclaimer

This Actor is independent and is not affiliated with, endorsed by or sponsored by The Org. It reads publicly reachable company pages; it does not log in, bypass a paywall or access private account data. The Org's public pages can change without notice. People data can include personal information, so handle it in line with applicable data-protection law and The Org's terms of use. You are responsible for how you store, republish or commercialize the data.

### SEO Keywords

the org scraper, theorg scraper, theorg api, org chart scraper, company org chart data, org chart api, company people data, employee directory scraper, reporting lines data, org chart csv, theorg dataset, company headcount data, decision makers data, b2b org chart, company hierarchy data, team structure data, org chart json, theorg people scraper, company profile scraper, org chart scraping tool

# Actor input Schema

## `companySlugs` (type: `array`):

The Org company slugs, e.g. "openai", "stripe", "figma". You can also paste full company URLs here.

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

Full theorg.com company URLs, e.g. https://theorg.com/org/openai. Org-chart and browse URLs are normalized automatically.

## `browseIndustry` (type: `string`):

Discover companies by industry slug, e.g. "ai-ml", "fintech", "saas". See https://theorg.com/explore/industries for all slugs. Used only when no company slugs/URLs are provided.

## `browseCountry` (type: `string`):

Discover companies by country slug, e.g. "united-states", "germany". See https://theorg.com/explore/countries for all slugs.

## `browseEmployeeRange` (type: `string`):

Discover companies by headcount bucket.

## `browseLetter` (type: `string`):

Discover companies whose name starts with this letter (a-z). See https://theorg.com/companies.

## `maxCompanies` (type: `integer`):

Maximum number of companies to process per run.

## `includePeople` (type: `boolean`):

Emit one dataset item per person (name, title, department, seniority, team, photo, manager).

## `maxPeoplePerCompany` (type: `integer`):

Cap on people emitted per company. The Org's public API returns up to 50 members per team.

## `includeOrgChart` (type: `boolean`):

Walk the org chart from the top nodes and emit manager/report relationships.

## `orgChartDepth` (type: `integer`):

How many management levels to expand below the top-level org chart nodes.

## `maxOrgChartRequests` (type: `integer`):

Safety cap on GraphQL calls used to walk the org chart for one company.

## `includeTeams` (type: `boolean`):

Also emit one dataset item per team (name, slug, headcount, description). Team headcounts are always included on the company item.

## `enrichLocations` (type: `boolean`):

Fetch each person's profile page to resolve their individual location, level and bio. Costs one extra request per person.

## `maxEnrichedPeople` (type: `integer`):

Cap on person profile fetches when location enrichment is enabled.

## `proxy` (type: `object`):

Select proxies to be used by your crawler.

## Actor input object example

```json
{
  "companySlugs": [
    "openai",
    "stripe"
  ],
  "maxCompanies": 20,
  "includePeople": true,
  "maxPeoplePerCompany": 100,
  "includeOrgChart": true,
  "orgChartDepth": 2,
  "maxOrgChartRequests": 25,
  "includeTeams": false,
  "enrichLocations": false,
  "maxEnrichedPeople": 25,
  "proxy": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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 = {
    "companySlugs": [
        "openai",
        "stripe"
    ],
    "proxy": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("ahmed_jasarevic/the-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 = {
    "companySlugs": [
        "openai",
        "stripe",
    ],
    "proxy": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("ahmed_jasarevic/the-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 '{
  "companySlugs": [
    "openai",
    "stripe"
  ],
  "proxy": {
    "useApifyProxy": false
  }
}' |
apify call ahmed_jasarevic/the-scraper --silent --output-dataset

```

## MCP server setup

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