# Company & People Relationship Finder | OSINT (`arjun_code/organization-relationship-finder`) Actor

Search people and organizations by name to uncover board and executive roles, employment, ownership, donations, lobbying, memberships, and other recorded links. Compare two names, find shared connections between organizations, and export structured relationship data as JSON, CSV, Excel, or via API.

- **URL**: https://apify.com/arjun_code/organization-relationship-finder.md
- **Developed by:** [ArjunAI Data](https://apify.com/arjun_code) (community)
- **Categories:** Business, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $8.00 / 1,000 successful query results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

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

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

## How to integrate an Actor?

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

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

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

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

# README

Turn a **person or organization name into structured relationship intelligence**. Find recorded board and executive roles, employment, ownership, donations, lobbying, memberships, transactions, and other links; compare two names; or discover people connecting two organizations. No entity ID is required.

The Company & People Relationship Finder is built for **investigative research, OSINT, due diligence, corporate intelligence, policy research, and data workflows**. Results are saved as structured Dataset rows that you can download as JSON, CSV, or Excel and access through the Apify API.

### Why use this company relationship finder?

- **Search by name or alias** — users do not need to know an internal entity ID.
- **Research people and organizations together** — explore executives, board members, employers, owners, donors, recipients, lobbyists, members, and other connected entities.
- **Compare two names directly** — check whether two people or organizations have a recorded relationship.
- **Find shared people** — reveal people whose recorded positions connect two organizations.
- **Choose from 12 relationship types** — run a focused lookup or select all types in one click.
- **Keep useful research context** — results include entity IDs, relationship IDs, descriptions, dates, role flags, and recorded status when available.
- **Use the data anywhere** — export to spreadsheets or connect the Actor to Python, JavaScript, Make, Zapier, n8n, webhooks, and scheduled workflows.

### Who is this Actor for?

| User | Typical workflow |
| --- | --- |
| Investigative journalists and OSINT researchers | Trace corporate affiliations, board interlocks, donations, ownership, lobbying, and institutional ties |
| Due diligence and risk teams | Surface recorded affiliations and possible conflicts that require further verification |
| Investment, M\&A, and corporate intelligence analysts | Review leadership history, ownership links, related organizations, and shared decision-makers |
| Nonprofits, policy teams, and academic researchers | Study influence networks, donors, memberships, institutions, and public-interest relationships |
| Developers and data analysts | Add structured people-and-company relationship data to databases, dashboards, agents, and automated research pipelines |

This is a relationship research tool, not a contact database. It does not provide private contact details or certify identity, sanctions status, beneficial ownership, or regulatory compliance.

### Quick start

1. Choose what you want to find.
2. Enter one or more person or organization names.
3. Run the Actor and open the Dataset.
4. Download the results or retrieve them through the API.

The simplest company leadership lookup is:

```json
{
  "mode": "organizationProfile",
  "queries": ["OpenAI"],
  "entityType": "Org",
  "relationshipTypes": ["position"],
  "leadershipOnly": true,
  "maxSearchResults": 30
}
```

A Dataset row returned by this exact input can look like this:

```json
{
  "resultType": "entityRelationship",
  "mode": "organizationProfile",
  "input": "OpenAI",
  "status": "found",
  "entityId": 400469,
  "entityName": "OpenAi, Inc.",
  "relatedEntityId": 99088,
  "relatedEntityName": "Will Hurd",
  "relationshipId": 2062842,
  "relationshipType": "position",
  "relationshipTypeLabel": "Position",
  "relationshipTitle": "Member, Board of Directors",
  "isLeadership": true,
  "isBoard": true,
  "currentStatus": "unknown",
  "startDate": "2021-00-00",
  "endDate": "2023-00-00"
}
```

The example shows one recorded relationship, not the complete Dataset. One input can return multiple rows.

### Input and search modes

| Mode | Use it to | Required input |
| --- | --- | --- |
| `entitySearch` | Resolve a person or organization name and return matching entity profiles | `queries` |
| `organizationProfile` | Explore a person or organization's leadership, employment, ownership, donation, or other relationships | `queries` |
| `directRelationships` | Find recorded relationships directly connecting two names | `source`, `target` |
| `sharedPeople` | Find people whose recorded positions connect two organizations | `source`, `target` |

#### Find board members and executives

Use the relationship profile mode and enable the leadership filter:

```json
{
  "mode": "organizationProfile",
  "queries": ["Microsoft"],
  "entityType": "Org",
  "relationshipTypes": ["position"],
  "leadershipOnly": true
}
```

#### Map every available relationship type

Select `all` to search all 12 supported relationship types:

```json
{
  "mode": "organizationProfile",
  "queries": ["OpenAI"],
  "entityType": "Org",
  "relationshipTypes": ["all"],
  "leadershipOnly": false
}
```

#### Check the relationship between two people or companies

```json
{
  "mode": "directRelationships",
  "source": "OpenAI",
  "target": "Microsoft",
  "relationshipTypes": ["all"]
}
```

#### Find people connecting two organizations

```json
{
  "mode": "sharedPeople",
  "source": "Stanford University",
  "target": "OpenAI"
}
```

Each result contains the connecting person and the recorded Position relationships on both sides of the path.

#### Relationship types

| Input value | Relationship data | Input value | Relationship data |
| --- | --- | --- | --- |
| `position` | Board, executive, employment, and other positions | `lobbying` | Lobbying relationships |
| `education` | Education | `social` | Social relationships |
| `membership` | Memberships | `professional` | Professional relationships |
| `family` | Family relationships | `ownership` | Ownership and investments |
| `donation` | Donations and grants | `hierarchy` | Parent, child, and organizational hierarchy |
| `transaction` | Services and transactions | `other` | Other recorded relationships |

Select `all` to scan every relationship type. If `all` is selected together with individual types, the Actor uses all types.

When the field is empty, the Actor uses the recommended behavior for the selected mode:

- `organizationProfile` searches Position relationships.
- `directRelationships` searches all relationship types.
- `sharedPeople` always searches Position relationships.
- `entitySearch` does not use relationship filters.

#### Input parameters

| Field | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | string | `organizationProfile` | Choose entity search, relationship exploration, direct comparison, or shared-person discovery |
| `queries` | string\[] | `OpenAI` | Person or organization names used by entity search and relationship profile modes |
| `entityType` | string | `Org` | Search organizations, people, or either in modes that use `queries` |
| `source` | string | — | First person or organization name used by the two comparison modes |
| `target` | string | — | Second person or organization name used by the two comparison modes |
| `relationshipTypes` | string\[] | Mode-dependent | Include selected relationship types or use `all` |
| `leadershipOnly` | boolean | `false` | Keep only records marked as board or executive roles in relationship profile mode |
| `maxSearchResults` | integer | `30` | Number of possible name matches examined; this does not limit relationship rows |

##### Fields used by each mode

| Mode | `queries` | `source` and `target` | `entityType` | `relationshipTypes` | `leadershipOnly` |
| --- | --- | --- | --- | --- | --- |
| `entitySearch` | Required | Not used | Optional | Not used | Not used |
| `organizationProfile` | Required | Not used | Optional | Optional | Optional |
| `directRelationships` | Not used | Required | Not used | Optional | Not used |
| `sharedPeople` | Not used | Required | Not used | Fixed to Position | Not used |

### Output: structured company and people relationship data

Results are stored in the default Dataset. Depending on the selected mode, records can include:

- Entity IDs, names, types, descriptions, summaries, websites, aliases, classifications, and update times
- Relationship IDs, readable types, titles, descriptions, dates, amounts, ownership percentages, and recorded status
- Board, executive, employee, leadership, lobbying, and featured-record flags when present
- First and second entities for direct relationship results
- The connecting person and both relationship lists for shared-person paths
- Candidate rank and match basis when a name cannot be resolved to one unique entity
- A plain-language `message` and `suggestion` when input needs attention or no matching result is available

Entity field prefixes show each entity's role in the result:

| Prefix | Meaning |
| --- | --- |
| `entity...` | Searched entity, including `entityId` |
| `relatedEntity...` | Person or organization connected to the searched entity, including `relatedEntityId` |
| `sourceEntity...` | First entity in a two-name comparison, including `sourceEntityId` |
| `targetEntity...` | Second entity in a two-name comparison, including `targetEntityId` |
| `commonPerson...` | Person connecting two organizations, including `commonPersonId` |

Every top-level relationship record includes `relationshipId`. Shared-person results also include `relationshipId` inside every object in `sourceRelationships` and `targetRelationships`.

Optional fields remain empty or `null` when they were not recorded. The `OUTPUT` record in the default key-value store contains the run `outcome`, a readable `message`, the selected mode, inputs, relationship filters, resolution counts, and result counts.

#### Friendly input and no-result responses

User-correctable input problems and searches with no matching records still finish as successful Actor runs. The Dataset always contains a readable response, while `OUTPUT` provides a stable outcome for automation:

| Situation | Dataset status | `OUTPUT.outcome` |
| --- | --- | --- |
| Results returned | `found` or `resolved` | `resultsFound` |
| Required mode fields are missing or invalid | `invalidInput` | `invalidInput` |
| No unique exact name match | `noExactMatch` or `ambiguous` | `noExactMatch` or `needsMoreSpecificName` |
| Names matched but no requested relationship was found | `notFound` or `noRelationships` | `noResults` |
| A temporary data response problem prevented a conclusion | `temporarilyUnavailable` | `serviceUnavailable` |

For API workflows, check `OUTPUT.outcome`, `OUTPUT.resultCount`, and `OUTPUT.message` instead of treating a successful run status as proof that records were found. Unexpected code failures are not converted into empty success responses.

### Company relationship API and automation

Run the Actor from Python with the Apify client:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")

run = client.actor("arjun_code/organization-relationship-finder").call(
    run_input={
        "mode": "directRelationships",
        "source": "OpenAI",
        "target": "Microsoft",
        "relationshipTypes": ["all"],
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

You can also:

- Schedule recurring research runs in Apify Console
- Send completed-run notifications through webhooks
- Export Dataset results as JSON, CSV, Excel, XML, or RSS
- Connect results to Google Sheets, Make, Zapier, n8n, databases, and BI tools
- Use the Actor as a structured data tool in agent and MCP workflows

### Pricing

The Actor charges **$0.008 per successful query result**, plus the small Actor-start fee shown on the Pricing tab. One successful input name or one successful two-name comparison is one billing unit, regardless of how many relationship rows it returns. No custom result fee is charged for invalid input, unresolved names, searches with no matching relationship, or temporary service failures.

For one Actor run, the current price works out as follows:

| Successful inputs | Result fees | Actor start | Estimated total |
| ---: | ---: | ---: | ---: |
| 1 | $0.008 | $0.00005 | $0.00805 |
| 10 | $0.080 | $0.00005 | $0.08005 |
| 100 | $0.800 | $0.00005 | $0.80005 |

The Actor-start fee is charged once per run. Dataset row count does not increase the successful-query fee, so a company lookup that returns 5 relationships and one that returns 100 relationships each count as one successful input. Your Apify plan credits may reduce the amount you pay directly.

### Data coverage and interpretation

Relationship records can be incomplete, historical, or updated at different times. Use the returned names, IDs, descriptions, dates, role flags, and timestamps as research context rather than as automatic proof of a present-day relationship.

- `currentStatus` reports `current`, `historical`, or `unknown` based on the recorded status.
- `isLeadership` is derived from recorded board and executive flags.
- A missing field means that value was not available in the retrieved record.
- A `notFound` result means no matching relationship was observed in the retrieved records. It does not prove that no real-world relationship exists.
- Common names can produce multiple candidates. The Actor returns candidate context instead of silently choosing an unrelated person or organization.

Always verify important findings against appropriate primary records before making legal, financial, compliance, employment, or investigative decisions. Handle personal data according to the laws and policies that apply to your use case.

### FAQ and troubleshooting

#### Troubleshooting

The Actor can finish successfully while returning a message row instead of relationship data. This keeps scheduled and API workflows predictable. Check the Dataset `status` and `OUTPUT.outcome` to understand the result.

| What you see | Meaning | What to try |
| --- | --- | --- |
| `invalidInput` | A required field is missing or is not used by the selected mode | Review the mode table and supply `queries` or both `source` and `target` |
| `noExactMatch` | No unique exact formal name or alias was found | Use the full formal name, check spelling, or change `entityType` |
| `ambiguous` | More than one exact candidate matched | Add identifying words to the name and choose the correct entity type |
| `notFound` or `noRelationships` | The names matched, but the selected relationship filters returned no records | Select `all`, turn off `leadershipOnly`, or try another mode |
| `temporarilyUnavailable` | The lookup service could not provide a reliable response | Run the same input again later |
| `budgetReached` | The run reached its maximum total charge before all successful inputs were delivered | Increase the run's maximum total charge and submit the remaining inputs again |

#### Do I need an entity ID to search for a person or company?

No. Enter a formal name or common alias. The Actor resolves the name and returns the corresponding entity ID in the output when a unique match is found.

#### Can I find a company's board members and executives?

Yes. Use `organizationProfile`, select `position`, and set `leadershipOnly` to `true`. The result includes records marked as board or executive roles when available.

#### Can I check whether two people or companies are connected?

Yes. Use `directRelationships` with two names. The Actor searches the selected relationship types and returns any recorded relationships directly connecting them.

#### Can I find people shared by two organizations?

Yes. Use `sharedPeople`. Each result identifies a person with recorded Position relationships to both organizations and includes the two sides of that path.

#### Can I map company ownership or beneficial ownership?

The Actor can return recorded ownership and investment relationships, including ownership percentages when present. It does not certify a complete legal ownership chain or ultimate beneficial owner.

#### Does this Actor return email addresses or phone numbers?

No. It focuses on relationships between people and organizations rather than contact enrichment.

#### Can I export results to Excel or call the Actor through an API?

Yes. Apify Datasets support Excel, CSV, JSON, XML, and RSS exports. The same data is available through the Apify API and client libraries.

#### Support

For a question or unexpected result, open the Actor's **Issues** tab and include the run ID, selected mode, and the names you searched. This makes the behavior easier to reproduce and investigate.

# Actor input Schema

## `mode` (type: `string`):

Choose a name search, a relationship profile, a direct relationship check, or a shared-person search.

## `queries` (type: `array`):

Enter one or more people or organizations, one name per row. Used by name search and relationship profile modes. Names and common aliases are supported; IDs are not needed.

## `entityType` (type: `string`):

Tell the Actor whether the names above are organizations, people, or either. Used only by name search and relationship profile modes.

## `source` (type: `string`):

Enter the first name to compare. Use a person or organization name, not an ID.

## `target` (type: `string`):

Enter the second name. Direct relationship mode checks only records that directly connect the two names.

## `relationshipTypes` (type: `array`):

Choose one or more relationship types, or select All relationship types for a full scan. Name search and shared-person modes ignore this field.

## `leadershipOnly` (type: `boolean`):

Used only for relationship profiles. Turn this on to keep records marked as board or executive roles. Leave it off to return every selected relationship.

## `maxSearchResults` (type: `integer`):

How many possible matches to examine for each name. The default is 30. This does not limit the number of relationship results.

## Actor input object example

```json
{
  "mode": "organizationProfile",
  "queries": [
    "Microsoft",
    "Jamie Dimon"
  ],
  "entityType": "Org",
  "source": "OpenAI",
  "target": "Microsoft",
  "relationshipTypes": [
    "all"
  ],
  "leadershipOnly": false,
  "maxSearchResults": 30
}
```

# Actor output Schema

## `results` (type: `string`):

Entity profiles, people and company relationships, direct relationships, or shared-person paths produced by the selected mode.

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

Run outcome, user-friendly message, selected mode, inputs, active filters, resolution counts, and result counts.

# 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 = {
    "queries": [
        "OpenAI"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("arjun_code/organization-relationship-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 = { "queries": ["OpenAI"] }

# Run the Actor and wait for it to finish
run = client.actor("arjun_code/organization-relationship-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 '{
  "queries": [
    "OpenAI"
  ]
}' |
apify call arjun_code/organization-relationship-finder --silent --output-dataset

```

## MCP server setup

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