# IRS Form 990 Nonprofit & Foundation Grantmakers Scraper (`desastreger/irs-990-nonprofit-grantmaker-leads`) Actor

Extract IRS Form 990, 990-PF & 990-EZ financials for US nonprofits and grantmaking foundations via ProPublica Nonprofit Explorer API. Returns EIN, revenue, assets, executive compensation, grants paid, PDF URLs & lead scores. $0.50/1k + Standby MCP.

- **URL**: https://apify.com/desastreger/irs-990-nonprofit-grantmaker-leads.md
- **Developed by:** [Ignacio De Saeger](https://apify.com/desastreger) (community)
- **Categories:** Lead generation, Agents, MCP servers
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 irs form 990 nonprofit / foundation grantmaker leads

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### IRS Form 990 Nonprofit & Foundation Grantmakers Scraper

The **IRS Form 990 Nonprofit & Foundation Grantmakers Scraper** extracts verified financial intelligence, executive compensation, endowment/asset balances, and grantmaking activity for US 501(c) nonprofits, hospitals, universities, and private foundations directly from the official **ProPublica Nonprofit Explorer REST API v2** (backed by IRS Form `990`, `990-PF`, and `990-EZ` public filings). Built for B2B SaaS outbound teams selling to well-funded nonprofits/healthcare/higher-ed institutions, as well as startups, researchers, and development teams prospecting active grantmaking foundations. Includes native Standby MCP Server support. **Zero external API key or proxy required.**

### Use cases

- **B2B SaaS & Enterprise Sales Prospecting:** Target mid-market and enterprise 501(c)(3) nonprofits, hospital systems, and universities filtered by `minRevenueUsd`, `minAssetsUsd`, US `state`, and `nteeCategory`.
- **Grant Prospecting & Philanthropy Research:** Enable `foundationsOnly: true` to isolate private foundations (`990-PF`) and community foundations with verified `grantsOrContributionsPaidUsd` and endowment scale.
- **Executive & Fundraising Benchmarking:** Inspect `executiveCompensationUsd`, `totalRevenueUsd`, `totalExpensesUsd`, and `totalAssetsUsd` alongside direct links to official IRS Form 990 PDFs (`latestFilingPdfUrl`).
- **AI Prospecting & Due Diligence Agents (MCP):** Connect Claude, Cursor, Windsurf, or VS Code via 1-Click OAuth MCP or Standby `/mcp` for live EIN dossiers and foundation screening.

***

### Transparent Pay-Per-Event Launch Pricing

> \[!IMPORTANT]
> **Early-Adopter Launch Rate (`$0.50 / 1,000 records`):** Promotional launch pricing for early Apify Store adopters & MCP integrations.

Pay only per normalized IRS Form 990 nonprofit or foundation lead returned—no monthly subscriptions:

| Plan Tier | Event (`nonprofit-990-lead`) | Effective Rate |
| :--- | :--- | :--- |
| **Early-Bird Launch / Free** | `$0.00050` per record | **$0.50 per 1,000 records** |
| **Bronze** | `$0.00045` per record | **$0.45 per 1,000 records** |
| **Silver** | `$0.00040` per record | **$0.40 per 1,000 records** |
| **Gold** | `$0.00035` per record | **$0.35 per 1,000 records** |

***

### 1-Click JSON Input Example

```json
{
  "query": "foundation",
  "state": "NY",
  "nteeCategory": 7,
  "minAssetsUsd": 10000000,
  "foundationsOnly": true,
  "maxResults": 25
}
```

***

### Sample Unified Output Record

```json
{
  "ein": "131684331",
  "formattedEin": "13-1684331",
  "organizationName": "Ford Foundation",
  "careOfName": "% DEPELSHA MCGRUDER",
  "address": "320 E 43RD ST",
  "city": "New York",
  "state": "NY",
  "zipcode": "10017-4801",
  "nteeCode": "T21",
  "nteeCategory": "Philanthropy, Voluntarism & Grantmaking Foundations",
  "subsectionCode": 3,
  "foundationCode": 4,
  "isFoundationOrGrantmaker": true,
  "rulingDate": "1960-09-01",
  "latestTaxPeriod": "2024-12",
  "latestTaxYear": 2024,
  "formType": "990PF",
  "totalRevenueUsd": 1147097733,
  "totalExpensesUsd": 1043691402,
  "totalAssetsUsd": 17484692219,
  "totalLiabilitiesUsd": 2585079696,
  "executiveCompensationUsd": 12712704,
  "grantsOrContributionsPaidUsd": 770674415,
  "latestFilingPdfUrl": "https://projects.propublica.org/nonprofits/download-filing?path=IRS%2F131684331_202412_990PF_2026062524388526.pdf",
  "propublicaUrl": "https://projects.propublica.org/nonprofits/organizations/131684331",
  "filingsCount": 14,
  "leadScore": 100,
  "leadTier": "HOT"
}
```

***

### Model Context Protocol (MCP) Integration

#### Option 1: 1-Click OAuth MCP (Zero API Key Setup — Recommended)

Sign in with your Apify account directly in the browser—no manual `APIFY_TOKEN` copying required:

- **1-Click OAuth MCP Endpoint:** `https://mcp.apify.com/?tools=desastreger/irs-990-nonprofit-grantmaker-leads`

**Claude Code CLI:**

```bash
claude mcp add --transport http irs-990-nonprofit-grantmaker-leads "https://mcp.apify.com/?tools=desastreger/irs-990-nonprofit-grantmaker-leads"
```

**Cursor / Windsurf / VS Code (`mcp.json`):**

```json
{
  "mcpServers": {
    "irs-990-nonprofit-grantmaker-leads": {
      "url": "https://mcp.apify.com/?tools=desastreger/irs-990-nonprofit-grantmaker-leads"
    }
  }
}
```

#### Option 2: Direct Standby MCP (Bearer Token for Headless / CI Agents)

- **Direct Standby Streamable HTTP Endpoint:** `https://desastreger--irs-990-nonprofit-grantmaker-leads.apify.actor/mcp`

```json
{
  "mcpServers": {
    "irs-990-nonprofit-grantmaker-leads": {
      "url": "https://desastreger--irs-990-nonprofit-grantmaker-leads.apify.actor/mcp",
      "headers": {
        "Authorization": "Bearer <APIFY_TOKEN>"
      }
    }
  }
}
```

**Exposed Read-Only MCP Tools (`readOnlyHint: true`):**

- `search_nonprofit_990_leads`: Search US nonprofits and foundations by `query`, `state`, `nteeCategory`, `subsectionCode`, `minRevenueUsd`, `minAssetsUsd`, and `foundationsOnly`.
- `get_nonprofit_990_dossier`: Retrieve a full organization profile and up to 5 multi-year Form 990 / 990-PF filings by 9-digit EIN (`13-1684331`) or organization name (`Ford Foundation`).
- `screen_high_asset_foundations`: Screen and rank active grantmaking foundations above `minAssetsUsd` with combined assets, total grants paid, and state breakdown.

***

### API Quickstart (cURL, Node.js & Python)

#### cURL (Synchronous Run + Dataset Items)

```bash
curl -X POST "https://api.apify.com/v2/acts/desastreger~irs-990-nonprofit-grantmaker-leads/run-sync-get-dataset-items?token=<APIFY_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "foundation",
    "state": "NY",
    "foundationsOnly": true,
    "minAssetsUsd": 1000000,
    "maxResults": 10
  }'
```

#### Node.js (`apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('desastreger/irs-990-nonprofit-grantmaker-leads').call({
  query: 'hospital',
  state: 'CA',
  minRevenueUsd: 10000000,
  maxResults: 25,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python (`apify-client`)

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("desastreger/irs-990-nonprofit-grantmaker-leads").call(run_input={
    "query": "foundation",
    "foundationsOnly": True,
    "minAssetsUsd": 5000000,
    "maxResults": 25,
})
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items[:3])
```

***

### Data Legality & Provenance

All organization and filing data is retrieved live from the **ProPublica Nonprofit Explorer API v2** (`projects.propublica.org/nonprofits/api/v2/`), sourced from official **IRS Exempt Organizations Business Master File (EO BMF)** and **IRS Form 990 / 990-PF / 990-EZ** public disclosures (`26 U.S.C. § 6104`).

# Actor input Schema

## `query` (type: `string`):

Organization name, city, or mission keyword to search in ProPublica Nonprofit Explorer (e.g., 'foundation', 'hospital', 'university', 'climate'). Defaults to 'foundation'.

## `state` (type: `string`):

Optional 2-letter US state abbreviation filter (e.g., 'NY', 'CA', 'TX', 'MA').

## `nteeCategory` (type: `integer`):

Optional IRS NTEE broad category ID (1=Arts/Culture, 2=Education, 3=Environment/Animals, 4=Health, 5=Human Services, 6=International, 7=Public/Societal Benefit & Foundations, 8=Religion, 9=Mutual/Membership, 10=Unknown).

## `subsectionCode` (type: `integer`):

Optional IRS 501(c) subsection code filter (e.g., 3 for 501(c)(3) charities/foundations, 4 for 501(c)(4) social welfare, 6 for 501(c)(6) trade associations).

## `minRevenueUsd` (type: `integer`):

Filter organizations with latest Form 990/990-PF/990-EZ total revenue >= this USD amount (0 = no minimum).

## `minAssetsUsd` (type: `integer`):

Filter organizations with latest total end-of-year assets >= this USD amount (0 = no minimum).

## `foundationsOnly` (type: `boolean`):

When enabled, return only private foundations (Form 990-PF / foundation_code 2-4) and grantmaking foundations (NTEE T\* or non-zero grants paid).

## `maxResults` (type: `integer`):

Maximum total normalized IRS 990 leads to return (1 to 500).

## Actor input object example

```json
{
  "query": "foundation",
  "minRevenueUsd": 0,
  "minAssetsUsd": 0,
  "foundationsOnly": false,
  "maxResults": 2
}
```

# Actor output Schema

## `leads` (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 = {
    "query": "foundation",
    "maxResults": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("desastreger/irs-990-nonprofit-grantmaker-leads").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 = {
    "query": "foundation",
    "maxResults": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("desastreger/irs-990-nonprofit-grantmaker-leads").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 '{
  "query": "foundation",
  "maxResults": 2
}' |
apify call desastreger/irs-990-nonprofit-grantmaker-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,desastreger/irs-990-nonprofit-grantmaker-leads"
        }
    }
}
```

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/1NtjnpNlp7yR3nRxW/builds/od8W0BQXugtcTJu0b/openapi.json
