# US Nonprofit, Charity & IRS 990 Grant Lead Enricher (`coherent_edelweiss/us-nonprofit-irs990-enricher`) Actor

- **URL**: https://apify.com/coherent_edelweiss/us-nonprofit-irs990-enricher.md
- **Developed by:** [harrison clough](https://apify.com/coherent_edelweiss) (community)
- **Categories:** Lead generation, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 primary lead / record scrapeds

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

## US Nonprofit, Charity & IRS 990 Grant Lead Enricher

Extract US 501(c)(3) nonprofits, foundations, and charities from ProPublica Nonprofit Explorer with IRS Form 990 revenue, assets, expenses, NTEE codes, and filing links. Pay only for results returned — $0 on empty lookups.

Built for **Clay.com**, **n8n**, **Make.com**, and **AI Agents (MCP)** with **guaranteed structured JSON output**, live **DNS-over-HTTPS MX verification**, and **Pay-Per-Result ($0 on Empty)** billing.

***

### Why Choose `coherent_edelweiss/us-nonprofit-irs990-enricher`?

| Feature | Legacy charity databases ($30–$49/mo+) | `coherent_edelweiss/us-nonprofit-irs990-enricher` |
| :--- | :--- | :--- |
| **Pricing Model** | Upfront monthly subscription even on empty runs | **Pay-Per-Result ($0.002–$0.007/record)** — **$0 on empty results** |
| **IRS Form 990 Financials** | Stale annual CSV dumps | **Live ProPublica v2 API with revenue, expenses, assets & PDF filings** |
| **Execution Speed** | Slow browser spin-up or manual CSV exports | **2–6 seconds** with zero headless browser overhead |
| **UK / EU GDPR Compliance** | Unfiltered personal data exposure | **Built-in `gdprSafeMode` (`auto` | `strict` | `off`)** |

***

### Transparent Pay-Per-Event Pricing (Zero-Charge on Empty)

- **`result-scraped` ($0.002):** Charged only when a valid record is extracted.
- **`verified-contact-enriched` ($0.003):** Charged only when verified contact details, MX routing, or enriched telemetry are attached.
- **`ai-structured-summary` ($0.002):** Charged only when a structured outreach hook or intelligence brief is generated.

***

### 1-Click Integrations: Clay.com, n8n & Make.com

#### Clay.com ("HTTP API" Enrichment Column)

- **Method:** `POST`
- **URL:** `https://api.apify.com/v2/acts/coherent_edelweiss~us-nonprofit-irs990-enricher/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN`
- **Headers:** `Content-Type: application/json`
- **Body:**

```json
{
  "searchQueries": [
    "foundation"
  ],
  "state": "",
  "nteeCode": "",
  "maxOrgsPerQuery": 2,
  "includeFinancialDetails": true,
  "includeAiBrief": true,
  "gdprSafeMode": "auto"
}
```

#### n8n / Make.com / cURL Quickstart

```bash
curl -X POST "https://api.apify.com/v2/acts/coherent_edelweiss~us-nonprofit-irs990-enricher/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["foundation"], "state": "", "nteeCode": "", "maxOrgsPerQuery": 2, "includeFinancialDetails": true, "includeAiBrief": true, "gdprSafeMode": "auto"}'
```

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

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("coherent_edelweiss/us-nonprofit-irs990-enricher").call(run_input={"searchQueries": ["foundation"], "state": "", "nteeCode": "", "maxOrgsPerQuery": 2, "includeFinancialDetails": true, "includeAiBrief": true, "gdprSafeMode": "auto"})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item.get("formatted_ein"), item.get("organization_name"), item.get("total_revenue_usd"), item.get("total_assets_usd"))
```

***

### Sample Enriched Output

```json
{
  "ein": "475374786",
  "formatted_ein": "47-5374786",
  "organization_name": "Foundation Foundation",
  "city": "Lytle Creek",
  "state": "CA",
  "ntee_code": "P32",
  "total_revenue_usd": 1450000.0,
  "total_assets_usd": 3200000.0,
  "propublica_url": "https://projects.propublica.org/nonprofits/organizations/475374786",
  "gdpr_safe_mode_applied": true
}
```

***

### Connect to Claude Desktop, Cursor & AI Agents (MCP)

```json
{
  "mcpServers": {
    "us-nonprofit-irs990-enricher": {
      "command": "npx",
      "args": [
        "-y",
        "@apify/actors-mcp-server",
        "--actors",
        "coherent_edelweiss/us-nonprofit-irs990-enricher"
      ],
      "env": {
        "APIFY_TOKEN": "YOUR_APIFY_TOKEN"
      }
    }
  }
}
```

***

### UK GDPR, EU GDPR & PECR Compliance Notice (Safe-by-Design)

- **Stateless On-Demand Processor:** This Actor operates strictly as an ephemeral software utility inside your isolated Apify container. The developer does **not** store, aggregate, or resell scraped datasets or personal data.
- **Built-in `gdprSafeMode` (`auto` | `strict` | `off`):** When `strict` is set (or `auto` on UK/EEA domains), named individual emails and personal `/in/` LinkedIn links are stripped, returning only corporate role mailboxes (`info@`, `sales@`, `enquiries@`).
- **Controller Responsibility:** Users disabling `gdprSafeMode` act as Data Controllers and are responsible for establishing a valid lawful basis under UK/EU GDPR and PECR.
- **Data Source:** Public IRS Form 990 nonprofit disclosures indexed by ProPublica Nonprofit Explorer API v2.

# Actor input Schema

## `searchQueries` (type: `array`):

Nonprofit keywords or names (e.g., 'foundation', 'hospital').

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

Optional 2-letter US state code (e.g., CA, NY, TX).

## `nteeCode` (type: `string`):

Optional IRS NTEE category code.

## `maxOrgsPerQuery` (type: `integer`):

Maximum nonprofits returned per query.

## `includeFinancialDetails` (type: `boolean`):

Fetch latest IRS Form 990 revenue, expenses, and assets.

## `includeAiBrief` (type: `boolean`):

Generate a B2B/grantmaking summary brief.

## `gdprSafeMode` (type: `string`):

Filter personal contacts when enriching external domains.

## Actor input object example

```json
{
  "searchQueries": [
    "foundation"
  ],
  "state": "",
  "nteeCode": "",
  "maxOrgsPerQuery": 2,
  "includeFinancialDetails": true,
  "includeAiBrief": true,
  "gdprSafeMode": "auto"
}
```

# Actor output Schema

## `dataset` (type: `string`):

Extract US 501(c)(3) nonprofits, foundations, and charities from ProPublica Nonprofit Explorer with IRS Form 990 revenue, assets, expenses, NTEE codes, and filing links.

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

JSON summary of records extracted and PAY_PER_EVENT billing telemetry

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

// Run the Actor and wait for it to finish
const run = await client.actor("coherent_edelweiss/us-nonprofit-irs990-enricher").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 = { "searchQueries": ["foundation"] }

# Run the Actor and wait for it to finish
run = client.actor("coherent_edelweiss/us-nonprofit-irs990-enricher").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 '{
  "searchQueries": [
    "foundation"
  ]
}' |
apify call coherent_edelweiss/us-nonprofit-irs990-enricher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,coherent_edelweiss/us-nonprofit-irs990-enricher"
        }
    }
}
```

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/x3mhazvA5Ci7p4B8S/builds/uL9aE1EfSfCZ2l8i7/openapi.json
