# Private Foundation Payout Gap Finder (`hydra_search/private-foundation-payout-gap-finder`) Actor

Find private foundations that may be behind on their required annual payout. Every record shows assets, grants paid, the IRS minimum, and a review pointer, for 129,948 foundations across the US.

- **URL**: https://apify.com/hydra_search/private-foundation-payout-gap-finder.md
- **Developed by:** [HYDRA SEARCH](https://apify.com/hydra_search) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 foundation records

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

## Private Foundation Payout Gap Finder

Private foundations in the US must give away about 5% of their assets every year to stay in good standing with the IRS. This Actor finds the ones that may be falling behind. Every record shows assets, grants paid, the IRS minimum investment return, the distributable amount, undistributed income, and a review pointer, for 129,948 foundations across the US. It is built from IRS Statistics of Income extracts joined to the IRS Exempt Organizations Business Master File.

One item per foundation and tax year, or the latest year per foundation.

**Who it is for:** grant seekers building a prospect list, fundraising consultants, wealth managers and advisors looking at family foundations, and researchers studying foundation payout.

### Read this first (what the data is and is not)

- **`hasLive4942Obligation` is a review pointer, not a tax determination.** It means `undistributed_income_cy > 0` for that tax year. Carryovers, set-asides and elections are not in the data.
- **Qualifying distributions (Part XII line 4) are not in the data.** The Actor reports `grantsPaidPerBooks` (Part I line 25, grants paid per books). It is not qualifying distributions.
- **Nothing is estimated.** Missing values stay `null`; they are never filled with zero. Filed values are passed through; quirks are listed in `dataQualityFlags`.
- **Data years:** tax years 2006 to 2023 appear, but 98.8% of rows are tax years 2021 to 2023. The latest tax year is 2023. Source pull date: 2026-09-05. Older years are thin. This is a snapshot, not live IRS data.
- **No monitor mode in v1.** The IRS publishes these extracts once a year, so there is no change feed.
- **Names:** a foundation name can contain a personal name (family foundations). It is the IRS-registered organization name. No officer, trustee or donor names, and no street addresses, are included; only city, state and ZIP.

### Example input

```json
{ "states": ["CA"], "view": "latest", "onlyLiveObligation": true, "maxItems": 10 }
```

```json
{ "eins": ["010549309"], "view": "filings" }
```

Defaults: `onlyLiveObligation: true`, `view: latest`, `maxItems: 10`.

### Input

| Field | Type | Meaning |
|---|---|---|
| `states` | array of 2-letter codes | Empty = all states. |
| `taxYears` | array of integers | Empty = all years on file. |
| `view` | `filings` or `latest` | `filings` = one item per foundation x tax year. `latest` = one per foundation (default). |
| `onlyLiveObligation` | boolean | Only rows with undistributed income above 0 (default true). |
| `onlyActiveGrantmakers` | boolean | Only rows with grants paid above 0. Default false. |
| `minUndistributedIncome` | number | Minimum undistributed income, current year. |
| `minAssets`, `maxAssets` | number | Bounds on fair market value of assets. |
| `foundationTypes` | array | `non_operating`, `operating`. |
| `nameContains` | string | Substring of the foundation name. |
| `eins` | array of strings | 9-digit EINs. |
| `includeFoundationsWithoutFilings` | boolean | Include foundations with no 990-PF in the extracts (empty financials). Default false. |
| `maxItems` | integer | Default 10, hard cap 10,000. |

### Output fields

`ein`, `foundationName`, `state`, `city`, `zip`, `foundationCode`, `foundationType`, `ntee`, `focusArea`, `taxYear`, `fairMarketValueAssets`, `contributionsReceived`, `grantsPaidPerBooks`, `fmvNoncharitableUseAssetsGross`, `netValueNoncharitableUseAssets`, `minimumInvestmentReturn`, `distributableAmount`, `undistributedIncomeCurrentYear`, `hasLive4942Obligation`, `isActiveGrantmaker`, `financialsSource`, `taxYearsAvailable`, `dataQualityFlags`, `pullDate`, `dataSource`, `isSample`, `sourceDatasetDate`, `sourceUrl`, `disclaimer`.

Every record also carries `sourceUrl` (the public IRS source page, see "Official sources" below) and `disclaimer` (the not-a-tax-determination wording below, repeated on every record).

Derived (arithmetic on filed values, marked `derived` in the schema):

- `grantsToMinimumReturnRatio` = `grantsPaidPerBooks / minimumInvestmentReturn`; null when the divisor is null or 0.
- `undistributedShareOfDistributable` = undistributed / distributable; null when the divisor is null or 0, or the value is negative.
- `latest` view only: `taxYearsOnFile` (array), `yearsWithLiveObligation` (count), `consecutiveLiveYearsThroughLatest` (count). These count only the filed years on hand.

### Real examples

Taken from real rows of the Layer 5 data (IRS 990-PF extracts joined to the EO BMF, pull date 2026-09-05). Field names are the Actor's; values are as filed.

A foundation showing undistributed income (tax year 2023):

```json
{
  "ein": "010549309", "foundationName": "ROBERTS FOUNDATION", "state": "CA", "city": "SAN DIEGO", "zip": "92169-0059",
  "foundationType": "private_non_operating_foundation", "ntee": "T22", "taxYear": 2023,
  "fairMarketValueAssets": 12534955, "grantsPaidPerBooks": 516000,
  "netValueNoncharitableUseAssets": 11814909, "minimumInvestmentReturn": 590745,
  "distributableAmount": 586168, "undistributedIncomeCurrentYear": 582296,
  "hasLive4942Obligation": true, "isActiveGrantmaker": true,
  "taxYearsAvailable": [2021, 2022, 2023], "dataQualityFlags": [], "pullDate": "2026-09-05"
}
```

`hasLive4942Obligation: true` only means the filed undistributed income is above 0. It is a pointer to review the return, not a finding.

A source quirk kept, not hidden (Florida, tax year 2022): `undistributedIncomeCurrentYear` is `-900`, so `hasLive4942Obligation` is `false` and `undistributedShareOfDistributable` is null. A second quirk (Wyoming, tax year 2022): `distributableAmount` is 0 while `minimumInvestmentReturn` is 19325.

A flagged row (New York, tax year 2023, EIN 010752883): `dataQualityFlags` is `["no_990pf_filing_requirement_on_bmf"]`, meaning the BMF filing-requirement field does not show a 990-PF requirement although a 990-PF is on file. Filed values: grants paid per books 38767, minimum investment return 28794, undistributed income 22652.

A foundation with no filing in the extracts (California, EIN 010578548): financial fields are `null`, `dataQualityFlags` is `["no_990pf_filing_in_soi_extracts"]`. Returned only when `includeFoundationsWithoutFilings` is true.

### Data freshness and fallback

Results come from a snapshot built from the IRS SOI 990-PF extracts and the IRS Exempt Organizations Business Master File. Every item carries `pullDate` and `sourceDatasetDate`. If the snapshot is older than 400 days the run logs a warning and sets `stale: true` in the run summary (records themselves are not flagged).

**Sample fallback:** if the prebuilt data is not configured or cannot be loaded, the Actor returns a few labeled rows copied from the real sample (`isSample: true`, `dataSource: "bundled-sample-fallback"`). They are not charged. Real rows carry `dataSource: "irs-prebuilt-dataset"`.

### Pricing

Pay per event: one `foundation-record` event per real item returned; sample-fallback rows are not charged. The price is set at publish time. Set `maxItems` to cap spend.

### Limits and what it does not do

- Not a tax determination, not legal, tax or investment advice. Confirm on the foundation's filed Form 990-PF.
- No qualifying distributions, no grant recipient lists, no officers, no street addresses, no monitor or change alerts.
- State is the IRS mailing address, not necessarily where the foundation gives.
- Not affiliated with or endorsed by the IRS.

### API and CLI

```js
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('hydra_search/private-foundation-payout-tracker').call({ states: ['CA'], maxItems: 10 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

```python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("hydra_search/private-foundation-payout-tracker").call(run_input={"states": ["CA"], "maxItems": 10})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

```bash
echo '{ "states": ["CA"], "maxItems": 10 }' | apify call hydra_search/private-foundation-payout-tracker --silent --output-dataset
```

### MCP server

Use it from an MCP client through the Apify MCP server (replace the token placeholder):

```json
{
  "mcpServers": {
    "private-foundation-payout-tracker": {
      "url": "https://mcp.apify.com?tools=hydra_search/private-foundation-payout-tracker",
      "headers": { "Authorization": "Bearer <YOUR_APIFY_TOKEN>" }
    }
  }
}
```

### Official sources

- IRS SOI annual extract of tax-exempt organization financial data: https://www.irs.gov/statistics/soi-tax-stats-annual-extract-of-tax-exempt-organization-financial-data
- IRS EO Business Master File extract: https://www.irs.gov/charities-non-profits/exempt-organizations-business-master-file-extract-eo-bmf
- IRS bulk data downloads: https://www.irs.gov/charities-non-profits/tax-exempt-organization-search-bulk-data-downloads
- Source terms read for this Actor: see `SOURCE_TERMS.md`. Privacy notes: `LEGAL_NOTES.md`.

### Acceptable use

Public IRS organization data. Use it lawfully. Do not present output as an IRS publication or as a tax determination about any foundation. Do not use it to contact individuals at residential addresses or to profile private persons. The Actor makes no attempt to bypass any access control.

# Actor input Schema

## `states` (type: `array`):

Two-letter state codes of the foundation's IRS mailing address, for example CA, TX. Empty means all states (slower, reads every state shard).

## `taxYears` (type: `array`):

Tax years to include, for example 2022, 2023. Empty means all years on file. About 99 percent of rows are 2021 to 2023.

## `view` (type: `string`):

latest: one item per foundation using its most recent tax year, plus taxYearsOnFile, yearsWithLiveObligation and consecutiveLiveYearsThroughLatest (arithmetic over the filed years on hand only). filings: one item per foundation per tax year.

## `onlyLiveObligation` (type: `boolean`):

Keep only rows where undistributed income for the year is above 0. This is a review pointer, not a tax determination: carryovers, set-asides and elections are not in the data.

## `onlyActiveGrantmakers` (type: `boolean`):

Keep only foundations with grants paid per books above 0 in the row's year.

## `minUndistributedIncome` (type: `number`):

Keep rows whose undistributed income for the current year is at least this amount. Empty values never match a minimum.

## `minAssets` (type: `number`):

Keep rows whose fair market value of assets is at least this amount.

## `maxAssets` (type: `number`):

Keep rows whose fair market value of assets is at most this amount.

## `foundationTypes` (type: `array`):

Private foundation type: non_operating (typical grantmaker), operating, or both. Empty means all.

## `nameContains` (type: `string`):

Case-insensitive text in the foundation's IRS-registered name. Family foundation names can contain personal names; that is the public organization name, with no person-level enrichment.

## `eins` (type: `array`):

Employer Identification Numbers, 9 digits (a dash is tolerated). Fastest lookup.

## `includeFoundationsWithoutFilings` (type: `boolean`):

Include foundations that appear in the master file but have no 990-PF in the SOI extracts. Their financial fields stay null (never zero) and dataQualityFlags marks them.

## `maxItems` (type: `integer`):

Maximum items to return; each real item is a billable event. Hard cap 10,000.

## Actor input object example

```json
{
  "states": [
    "CA"
  ],
  "view": "latest",
  "onlyLiveObligation": true,
  "onlyActiveGrantmakers": false,
  "includeFoundationsWithoutFilings": false,
  "maxItems": 10
}
```

# Actor output Schema

## `foundations` (type: `string`):

No description

## `runSummary` (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 = {
    "states": [
        "CA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydra_search/private-foundation-payout-gap-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 = { "states": ["CA"] }

# Run the Actor and wait for it to finish
run = client.actor("hydra_search/private-foundation-payout-gap-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 '{
  "states": [
    "CA"
  ]
}' |
apify call hydra_search/private-foundation-payout-gap-finder --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hydra_search/private-foundation-payout-gap-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/ZHQcVDRPKhlcjGlWo/builds/22YVE0g8vpMimHfAG/openapi.json
