Nonprofit Leads: IRS Charities & Foundations by State
nonprofit_leads_irsBuild nonprofit and foundation lead lists from IRS Exempt Organizations data, filtered by state, cause, 501(c) type, revenue, and assets for fundraising and grant outreach.
Instructions
Build nonprofit and foundation lead lists from the official IRS Exempt Organizations Business Master File, filtered by state, city, ZIP, NTEE cause, 501(c) type, public charity vs private foundation, revenue, assets and ruling year. Unlike local_business_leads (OpenStreetMap shops) and npi_provider_lists (healthcare NPI), this is the IRS EO BMF for tax-exempt orgs. Use when you need charity or foundation prospect lists for fundraising, sponsorship, grants outreach or nonprofit CRM enrichment. Do not use for for-profit businesses (use local_business_leads or company_website_enricher) or for Form 990 full-text analysis. Parameters: states is the usual starting filter; orgType any|publicCharity|privateFoundation; only501c3 defaults true; minAssets/minRevenue and sortBy=assets|revenue|newest|name rank large prospects first; maxResults caps billed rows. In-care-of and address are what the org filed with the IRS and may be a PO box or attorney. Runs that match nothing are free. Returns per item: agentSummary, ein, name, inCareOf, street, city, state, zip, nteeCode, cause, subsection, orgType, privateFoundation, rulingYear, revenue, income, assets, sizeBand, deductible, propublicaUrl, irsUrl; plus NONPROFITS_XLSX/CSV.
Behavior: read-only; runs the Apify Actor pandadad0214/nonprofit-leads-irs (https://apify.com/pandadad0214/nonprofit-leads-irs) on your own Apify account. Price: $0.001 per nonprofit returned. Runs that find nothing are not charged per result, and spending is capped per call by run_max_charge_usd (default $0.50). run_max_items (default 50) limits items returned and fills maxResults when you leave it unset, so it also limits what is billed; setting maxResults higher can bill more than is returned. Most calls finish in 5-15 s for a few inputs; large inputs or crawls can take minutes, so raise run_timeout_secs (max 300) or shrink the input after a timeout error. Returns JSON {actor, count, items}; long text output is trimmed to whole items, with all items in structuredContent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cities | No | Cities. Optional, exact city names, e.g. Phoenix, Tucson. | |
| sortBy | No | Sort by. Order before the maximum is applied. Choices: revenue = Revenue (largest first); assets = Assets (largest first); newest = Newest exemption first; name = Name A-Z. | revenue |
| states | No | States. 2-letter codes, up to 15 per run (one IRS file each), e.g. AZ, TX, DC. | |
| orgType | No | Charity or foundation. Private foundations make grants; public charities raise money. Choices: any = Any; publicCharity = Public charities; privateFoundation = Private foundations. | any |
| minAssets | No | Minimum assets ($). Optional. | |
| nteeCodes | No | Cause (NTEE codes). Optional NTEE letters or codes: A arts, B education, C environment, D animals, E health, F mental health, G diseases, P human services, L housing, O youth, S community, T grantmaking, X religion. E.g. P, B20, E22. | |
| only501c3 | No | Only 501(c)(3) charities. Off = include 501(c)(4) social welfare, (c)(6) trade associations and other exempt types. | |
| maxResults | No | Maximum results. You pay per nonprofit returned, so this also caps the cost. Default 500. | |
| maxRevenue | No | Maximum revenue ($). Optional. | |
| minRevenue | No | Minimum revenue ($). Latest annual revenue the IRS has on file. | |
| zipPrefixes | No | ZIP prefixes. Optional, e.g. 850, 85281. | |
| nameContains | No | Name contains. Optional, e.g. food bank, YMCA. | |
| run_max_items | No | Optional. Most results to return from this call (default from PANDA_MAX_ITEMS, 50). Also limits how many results the Actor produces and charges for, unless you set its own max field. | |
| rulingYearFrom | No | Exempt since year (new nonprofits). e.g. 2025 = organizations granted exemption in 2025 or later. | |
| run_timeout_secs | No | Optional. Seconds to wait for results (default from PANDA_TIMEOUT_SECS, 120; max 300). | |
| requireFinancials | No | Only with revenue on file. Skip tiny organizations that file the 990-N postcard. | |
| run_max_charge_usd | No | Optional. Hard spending cap for this call in USD (default from PANDA_MAX_CHARGE_USD, 0.50). |