Look up any US tax-exempt organization by EIN or name: whether it's a 501(c)(3), whether it's a public charity or a private foundation, its NTEE code, whether gifts to it are tax-deductible, whether its exemption was revoked, plus its mission, top programs, and finances from its latest Form 990, and its website. Every fact cites the IRS file it came from.
https://nonprofits.better.giving, over REST or MCP.
curl https://nonprofits.better.giving/v1/orgs/530196605{
"ein": "530196605",
"name": "AMERICAN NATIONAL RED CROSS",
"address": { "street": "431 18TH ST NW", "city": "WASHINGTON", "state": "DC", "zip": "20006-5310" },
"is501c3": true,
"deductible": true,
"revoked": false,
...
}One organization. ein is 9 digits, with or without the dash (53-0196605).
| Field | Meaning |
|---|---|
name, address |
As the IRS Business Master File lists them |
is501c3 |
A 501(c)(3); null when the org isn't in the current Business Master File |
ntee |
Raw NTEE code from the Business Master File, for example P20. null when that file has none |
foundationStatus |
public_charity, private_foundation, or private_operating_foundation, from the Business Master File foundation code. null when the code is missing, when the code is 00, when it is in suspense, when it is unrecognized (including 25 when the subsection is not 03), or when the data build has no foundation column |
foundationCode |
The raw foundation code from that file, or null |
deductible |
true: listed in IRS Publication 78. false: Publication 78 is imported and the org is not listed. null: unknown, for example when Publication 78 has not been imported. Read from Publication 78 alone, so a revoked org can still be true: check revoked |
revoked, revocationDate, reinstatementDate |
revoked is whether the exemption is revoked and not reinstated since (null until the auto-revocation list is imported). An org revoked and later reinstated (on the revocation list, or recognized again in the Business Master File) has revoked false and still returns its revocationDate. Dates are YYYY-MM-DD |
mission, activitySummary |
From its latest e-filed Form 990 or 990-EZ |
website |
The raw value from its latest e-filed return, or from its 990-N e-Postcard when the return has none or only the e-Postcard's is a web address |
websiteUrl |
website as an https URL, or null when there is no website or it is not a web address |
programs |
Up to 3 program services, highest expense first |
finances |
revenue, expenses, assets (end of year) and taxYear, from its latest e-filed return |
notes |
Why a fact is null |
provenance |
For each fact, the IRS file it came from and when that file was released; for a filing fact, also the return (objectId, taxYear, formType) |
Organizations whose names contain every word of q (2 to 200 characters, up to 8 words), best match first. limit sets the page size: 10 by default, at most 50.
curl "https://nonprofits.better.giving/v1/search?q=red%20cross&limit=5"Each result has ein, name, city, state, is501c3, deductible, revoked, revocationDate and their provenance. deductible is the same tri-state as on a lookup, and revoked and revocationDate mean what they do there; revocationDate is null when the list has no date. Look up an ein for the rest.
https://nonprofits.better.giving/mcp serves the same data to AI assistants, as two tools: lookup_nonprofit (ein) and search_nonprofits (query, optional limit). In Claude Code:
claude mcp add --transport http nonprofits https://nonprofits.better.giving/mcp --header "Authorization: Bearer <key>"Without the --header, it runs keyless on your own machine's limits. A hosted connector (claude.ai, ChatGPT and the like) calls from its provider's servers, where every user shares one address's keyless limits, so configure it with a key.
| Per minute | Per day (UTC) | |
|---|---|---|
| No key | 1 | 25 |
| With a key | 10 | 50 |
Send a key as Authorization: Bearer <key>. Lookups, searches and MCP tool calls count alike. Requests refused for bad input, or while the service is unavailable, aren't counted.
To get a key, or higher limits, contact Better Giving.
Errors are problem details JSON with a code and a detail saying what to do. A 429 carries Retry-After in seconds.
| Status | code |
Meaning |
|---|---|---|
| 400 | invalid_ein, invalid_query, invalid_limit |
Fix the request; detail says how |
| 401 | invalid_api_key, revoked_api_key |
The key is wrong or revoked. A request with a bad key is never served keyless. |
| 404 | not_found |
No organization with that EIN in the IRS files |
| 429 | per_minute_limit_exceeded |
Wait Retry-After seconds |
| 429 | daily_quota_exceeded |
Your daily limit is used up until UTC midnight |
| 429 | service_daily_limit_reached |
The whole service is at its daily limit for your tier until UTC midnight |
| 503 | data_unavailable, auth_unavailable |
Temporarily unavailable; retry later |
Rebuilt each month from the IRS's public bulk files: the Business Master File, Publication 78, the automatic revocation list, the 990-N e-Postcard list, and the Form 990, 990-EZ and 990-PF e-file releases from the last three years. Each organization's latest e-filed return is the one read. A field is null when the IRS files don't hold it, and notes says why.
This is IRS data as published, not tax advice. Before relying on deductibility, check IRS Tax Exempt Organization Search.
How it's built, tested, run and deployed: CONTRIBUTING.md.
MIT, see LICENSE. The IRS data is public.