# Fast ProPublica Nonprofit Scraper — IRS 990 Data (`rbbscrap/fast-propublica-nonprofit-scraper`) Actor

Ultra-fast ProPublica Nonprofit Explorer scraper. Extract IRS Form 990 filings, 501(c)(3) tax-exempt status, total revenues, net assets, officer compensation, and official IRS PDF links without browser bloat.

- **URL**: https://apify.com/rbbscrap/fast-propublica-nonprofit-scraper.md
- **Developed by:** [Hector](https://apify.com/rbbscrap) (community)
- **Categories:** Business, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## 🏛️ Fast ProPublica Nonprofit & IRS 990 Scraper — Financials & Grants

An enterprise-grade, ultra-fast **ProPublica Nonprofit Explorer & IRS Form 990 Scraper**. Extract deep financial intelligence across **1.8+ million US 501(c)(3) tax-exempt charities and foundations**, including total revenues, asset endowments, officer compensation, and official IRS Form 990 PDF download links with zero browser overhead on 256MB RAM.

***

### 🚀 Key Advantages Over Competitors

| Feature | Legacy Competitors (`parseforge/guidestar`, `jungle_synthesizer`) | **Fast ProPublica Nonprofit Scraper** (Ours) |
| :--- | :--- | :--- |
| **Data Depth** | Basic search text only | **2-Stage Enrichment: Search + Deep Balance Sheet & Filings** |
| **IRS 990 PDF Links** | Not provided or broken | **Direct links to official scanned IRS 990 / 990-PF / 990-EZ PDFs** |
| **Executive Compensation**| Missing | **Officer compensation percentage extracted from Form 990** |
| **Execution Performance** | Slow multi-step browser scraping | **Sub-second direct REST queries on 256MB RAM** |
| **Resilience Baseline** | Fails during ProPublica API maintenance | **100% Guaranteed Non-Empty Output (Verified Baseline)** |
| **State Filtering** | Often not supported | **US State 2-letter code filter (CA, NY, TX, FL, WA, etc.)** |

***

### 💼 High-Value Use Cases

- **Grant Prospecting & Fundraising**: Non-profits and universities identify high-capacity private foundations (Gates, Ford, Rockefeller, Bloomberg) with massive annual grant budgets.
- **Wealth Management & Family Offices**: Financial advisors and private bankers assess the size of family foundations and philanthropic balance sheets.
- **Executive Compensation Benchmarking**: HR consultancies compare non-profit CEO, board member, and trustee salaries.
- **B2B Vendor Due Diligence**: Software companies and enterprise service providers evaluate whether a non-profit client meets budget thresholds ($10M+ in assets).

***

### 📥 Input Parameters

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `searchTerms` | Array | `["Gates Foundation", "Red Cross"]` | Non-profit names, charity keywords, or IRS EIN numbers. |
| `state` | String | `""` | Optional 2-letter US State filter (e.g. `'WA'`, `'NY'`, `'CA'`). |
| `includeFilings` | Boolean | `true` | Extract multi-year historical IRS Form 990 filings and PDF URLs. |
| `maxItems` | Number | `30` | Maximum number of non-profit records to return. |

***

### 📤 Sample Output (JSON)

```json
{
  "ein": "562618866",
  "name": "BILL & MELINDA GATES FOUNDATION",
  "subName": "Gates Foundation Trust",
  "city": "SEATTLE",
  "state": "WA",
  "nteeCode": "T20: Private Grantmaking Foundations",
  "subsection": "501(c)(3)",
  "totalRevenue": 7520000000,
  "totalAssets": 67300000000,
  "totalExpenses": 7010000000,
  "filings": [
    {
      "taxYear": 2023,
      "formType": "990-PF",
      "totalRevenue": 7520000000,
      "totalAssets": 67300000000,
      "officerCompensationPct": 1.2,
      "pdfUrl": "https://projects.propublica.org/nonprofits/organizations/562618866"
    }
  ],
  "propublicaUrl": "https://projects.propublica.org/nonprofits/organizations/562618866"
}
```

***

### 🛡️ Integration & Automation

Compatible with **Salesforce**, **HubSpot**, **Make.com**, **Zapier**, **n8n**, and **Google Sheets** via Apify Webhooks and REST API.

# Actor input Schema

## `searchTerms` (type: `array`):

Nonprofit name, charity keyword, or EIN (e.g. 'Gates Foundation', 'Red Cross', 'Ford Foundation', 'Harvard University', '562618866').

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

Filter by US 2-letter state code (e.g. CA, NY, WA, TX, FL).

## `includeFilings` (type: `boolean`):

If enabled, extracts detailed multi-year IRS 990 tax return histories with PDF download URLs.

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

Maximum number of nonprofit organization records to return.

## `proxyConfiguration` (type: `object`):

Apify Proxy settings.

## Actor input object example

```json
{
  "searchTerms": [
    "Gates Foundation",
    "Red Cross"
  ],
  "includeFilings": true,
  "maxItems": 30,
  "proxyConfiguration": {
    "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 = {
    "searchTerms": [
        "Gates Foundation",
        "Red Cross"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("rbbscrap/fast-propublica-nonprofit-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 = { "searchTerms": [
        "Gates Foundation",
        "Red Cross",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("rbbscrap/fast-propublica-nonprofit-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 '{
  "searchTerms": [
    "Gates Foundation",
    "Red Cross"
  ]
}' |
apify call rbbscrap/fast-propublica-nonprofit-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rbbscrap/fast-propublica-nonprofit-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/8d5ULfrlVlhvWZBUS/builds/KlCsBBBh9xlsE841S/openapi.json
