Nonprofits API
DataMAINTAINED1 token / call

Nonprofits API

Verify any US nonprofit by EIN: IRS tax-exempt status and whether donations are deductible

Verify any US nonprofit in one call: whether an EIN belongs to a real, IRS-recognized tax-exempt organization, and whether donations to it are deductible — with the basis for the answer stated (listed in IRS Publication 78, or the Business Master File deductibility code). Built on the IRS's own monthly source-of-truth files: all 1,957,340 organizations in the Exempt Organizations Business Master File, cross-flagged against the 1.4 million EINs in Publication 78. Every record carries the decoded 501(c) subsection, foundation type (church, school, hospital, publicly supported charity, private foundation...), NTEE activity classification with its category, ruling date, full address, and the organization's latest reported assets, income and revenue. An EIN that is not in the master file answers tax_exempt: false — the actionable result for a donation platform, matching-gift program or grant system, not a bare error. Search 1.96M organizations by name, state, city, zip, NTEE code or category, 501(c) subsection, foundation type, deductibility or revenue range; roll up the sector by NTEE category or state with organization counts and total revenue. EINs accept the hyphenated form (53-0196605). Self-hosted dataset refreshed from the IRS monthly publication cycle — no third-party calls at request time.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 1 token per call, so the free plan covers about 500 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "ok": true,
  "tax_exempt": true,
  "ein": "530196605",
  "name": "AMERICAN NATIONAL RED CROSS",
  "also_known_as": "SHARED SERVICES CENTER",
  "in_care_of": null,
  "address": {
    "street": "431 18TH ST NW",
    "city": "WASHINGTON",
    "state": "DC",
    "zip": "20006-5310"
  },
  "deductible": {
    "verdict": true,
    "basis": "Listed in IRS Publication 78",
    "bmf_code": {
      "code": "1",
      "label": "Contributions are deductible"
    },
    "publication_78": {
      "listed": true,
      "codes": [
        {
          "code": "PC",
          "label": "Public charity"
        }
      ]
    }
  },
  "subsection": {
    "code": "03",
    "label": "501(c)(3)"
  },
  "foundation": {
    "code": "15",
    "label": "Organization benefitting a college or university"
  },
  "organization_type": {
    "code": "1",
    "label": "Corporation"
  },
  "exempt_status": {
    "code": "01",
    "label": "Unconditional exemption"
  },
  "ruling_date": "1938-12",
  "group_exemption": null,
  "ntee": {
    "code": "P210",
    "category": "Human Services"
  },
  "financials": {
    "as_of_tax_period": "2025-06",
    "assets": 5052941623,
    "income": 4608946426,
    "revenue": 3916983933
  }
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.

Use cases for Nonprofits API

  • Confirm a charity is IRS-recognised and donations are deductible before listing it on a giving platform.

  • Verify a nonprofit's EIN during grant applications, vendor onboarding or corporate matching programmes.

  • Build a searchable charity directory by name, state, NTEE category or 501(c) subsection.

  • Enrich donor-management records with ruling date, foundation type and the latest reported revenue and assets.

Nonprofits API endpoints

Every endpoint with its parameters and a real example response.

GETData Sources

https://api-nonprofits.dataandapis.com/v1/sources

This endpoint takes no parameters.

Example request

curl "https://api-nonprofits.dataandapis.com/v1/sources" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "count": 2,
  "sources": [
    {
      "slug": "irs-eo-bmf",
      "name": "IRS Exempt Organizations Business Master File",
      "publisher": "US Internal Revenue Service",
      "licence": "US Government work - no copyright",
      "source_url": "https://www.irs.gov/charities-non-profits/exempt-organizations-business-master-file-extract-eo-bmf",
      "file_url": "https://www.irs.gov/pub/irs-soi/eo1.csv",
      "cadence": "monthly",
      "record_count": 1957340,
      "retrieved_at": "2026-08-29",
      "updated_at": "2026-08-29 05:28:12"
    },
    {
      "slug": "irs-pub78",
      "name": "IRS Publication 78 (deductible contributions list)",
      "publisher": "US Internal Revenue Service",
      "licence": "US Government work - no copyright",
      "source_url": "https://www.irs.gov/charities-non-profits/tax-exempt-organization-search-bulk-data-downloads",
      "file_url": "https://apps.irs.gov/pub/epostcard/data-download-pub78.zip",
      "cadence": "monthly",
      "record_count": 1412318,
      "retrieved_at": "2026-08-29",
      "updated_at": "2026-08-29 05:28:12"
    }
…
Show full response
{
  "ok": true,
  "count": 2,
  "sources": [
    {
      "slug": "irs-eo-bmf",
      "name": "IRS Exempt Organizations Business Master File",
      "publisher": "US Internal Revenue Service",
      "licence": "US Government work - no copyright",
      "source_url": "https://www.irs.gov/charities-non-profits/exempt-organizations-business-master-file-extract-eo-bmf",
      "file_url": "https://www.irs.gov/pub/irs-soi/eo1.csv",
      "cadence": "monthly",
      "record_count": 1957340,
      "retrieved_at": "2026-08-29",
      "updated_at": "2026-08-29 05:28:12"
    },
    {
      "slug": "irs-pub78",
      "name": "IRS Publication 78 (deductible contributions list)",
      "publisher": "US Internal Revenue Service",
      "licence": "US Government work - no copyright",
      "source_url": "https://www.irs.gov/charities-non-profits/tax-exempt-organization-search-bulk-data-downloads",
      "file_url": "https://apps.irs.gov/pub/epostcard/data-download-pub78.zip",
      "cadence": "monthly",
      "record_count": 1412318,
      "retrieved_at": "2026-08-29",
      "updated_at": "2026-08-29 05:28:12"
    }
  ]
}

GETNonprofit Categories

https://api-nonprofits.dataandapis.com/v1/nonprofits/categories

Query parameters

ParameterExample
stateNYOptional

Example request

curl "https://api-nonprofits.dataandapis.com/v1/nonprofits/categories?state=NY" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "count": 6,
  "categories": [
    {
      "code": "X",
      "category": "Religion-Related",
      "organizations": 15925,
      "total_revenue": 2116544637
    },
    {
      "code": "A",
      "category": "Arts, Culture & Humanities",
      "organizations": 10598,
      "total_revenue": 9067255543
    },
    {
      "code": "B",
      "category": "Education",
      "organizations": 10248,
      "total_revenue": 86583911128
    },
    {
      "code": "T",
      "category": "Philanthropy, Voluntarism & Grantmaking Foundations",
      "organizations": 9523,
      "total_revenue": 13929576548
    },
…
Show full response
{
  "ok": true,
  "count": 6,
  "categories": [
    {
      "code": "X",
      "category": "Religion-Related",
      "organizations": 15925,
      "total_revenue": 2116544637
    },
    {
      "code": "A",
      "category": "Arts, Culture & Humanities",
      "organizations": 10598,
      "total_revenue": 9067255543
    },
    {
      "code": "B",
      "category": "Education",
      "organizations": 10248,
      "total_revenue": 86583911128
    },
    {
      "code": "T",
      "category": "Philanthropy, Voluntarism & Grantmaking Foundations",
      "organizations": 9523,
      "total_revenue": 13929576548
    },
    {
      "code": "P",
      "category": "Human Services",
      "organizations": 8782,
      "total_revenue": 21913920111
    },
    {
      "code": "N",
      "category": "Recreation & Sports",
      "organizations": 5593,
      "total_revenue": 1901317550
    }
  ]
}

GETNonprofits By State

https://api-nonprofits.dataandapis.com/v1/nonprofits/states

This endpoint takes no parameters.

Example request

curl "https://api-nonprofits.dataandapis.com/v1/nonprofits/states" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "count": 6,
  "states": [
    {
      "state": "CA",
      "count": 201973,
      "deductible": 179110
    },
    {
      "state": "TX",
      "count": 153779,
      "deductible": 136140
    },
    {
      "state": "NY",
      "count": 124214,
      "deductible": 109040
    },
    {
      "state": "FL",
      "count": 113451,
      "deductible": 103765
    },
    {
      "state": "PA",
      "count": 81596,
      "deductible": 68064
…
Show full response
{
  "ok": true,
  "count": 6,
  "states": [
    {
      "state": "CA",
      "count": 201973,
      "deductible": 179110
    },
    {
      "state": "TX",
      "count": 153779,
      "deductible": 136140
    },
    {
      "state": "NY",
      "count": 124214,
      "deductible": 109040
    },
    {
      "state": "FL",
      "count": 113451,
      "deductible": 103765
    },
    {
      "state": "PA",
      "count": 81596,
      "deductible": 68064
    },
    {
      "state": "OH",
      "count": 76668,
      "deductible": 64039
    }
  ]
}

GETRandom Nonprofits

https://api-nonprofits.dataandapis.com/v1/nonprofits/random

Query parameters

ParameterExample
amount3Optional

Example request

curl "https://api-nonprofits.dataandapis.com/v1/nonprofits/random?amount=3" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "count": 3,
  "results": [
    {
      "ein": "870789674",
      "name": "NUCLEAR POWER PLANT SECURITY OFFICERS OF AMERICA LOCAL ONE",
      "city": "HANCOCKS BRG",
      "state": "NJ",
      "subsection": {
        "code": "05",
        "label": "501(c)(5)"
      },
      "ntee": "Y99",
      "ntee_category": "Mutual & Membership Benefit",
      "revenue": 181151,
      "deductible": false
    },
    {
      "ein": "870789970",
      "name": "THE MASONIC BUILDING CORPORATION",
      "city": "GRISWOLD",
      "state": "CT",
      "subsection": {
        "code": "03",
        "label": "501(c)(3)"
      },
      "ntee": "Y114",
…
Show full response
{
  "ok": true,
  "count": 3,
  "results": [
    {
      "ein": "870789674",
      "name": "NUCLEAR POWER PLANT SECURITY OFFICERS OF AMERICA LOCAL ONE",
      "city": "HANCOCKS BRG",
      "state": "NJ",
      "subsection": {
        "code": "05",
        "label": "501(c)(5)"
      },
      "ntee": "Y99",
      "ntee_category": "Mutual & Membership Benefit",
      "revenue": 181151,
      "deductible": false
    },
    {
      "ein": "870789970",
      "name": "THE MASONIC BUILDING CORPORATION",
      "city": "GRISWOLD",
      "state": "CT",
      "subsection": {
        "code": "03",
        "label": "501(c)(3)"
      },
      "ntee": "Y114",
      "ntee_category": "Mutual & Membership Benefit",
      "revenue": 49293,
      "deductible": true
    },
    {
      "ein": "870790139",
      "name": "ARTS HOUSE SCHOOLS INC",
      "city": "BROOKLYN",
      "state": "NY",
      "subsection": {
        "code": "03",
        "label": "501(c)(3)"
      },
      "ntee": "A25",
      "ntee_category": "Arts, Culture & Humanities",
      "revenue": 408725,
      "deductible": true
    }
  ]
}

GETSearch Nonprofits

https://api-nonprofits.dataandapis.com/v1/nonprofits

Query parameters

ParameterExample
categoryOptional
cityOptional
deductibletrueOptional
foundationOptional
limit20Optional
max_revenueOptional
min_revenueOptional
nteeOptional
page1Optional
qfood bankOptional
stateCAOptional
subsectionOptional
zipOptional

Example request

curl "https://api-nonprofits.dataandapis.com/v1/nonprofits?deductible=true&limit=20&page=1&q=food%20bank&state=CA" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "total": 61,
  "page": 1,
  "limit": 20,
  "count": 3,
  "results": [
    {
      "ein": "953135649",
      "name": "LOS ANGELES REGIONAL FOOD BANK",
      "city": "VERNON",
      "state": "CA",
      "subsection": {
        "code": "03",
        "label": "501(c)(3)"
      },
      "ntee": null,
      "ntee_category": null,
      "revenue": 273886894,
      "deductible": true
    },
    {
      "ein": "943041517",
      "name": "SAN FRANCISCO FOOD BANK",
      "city": "SAN FRANCISCO",
      "state": "CA",
      "subsection": {
        "code": "03",
…
Show full response
{
  "ok": true,
  "total": 61,
  "page": 1,
  "limit": 20,
  "count": 3,
  "results": [
    {
      "ein": "953135649",
      "name": "LOS ANGELES REGIONAL FOOD BANK",
      "city": "VERNON",
      "state": "CA",
      "subsection": {
        "code": "03",
        "label": "501(c)(3)"
      },
      "ntee": null,
      "ntee_category": null,
      "revenue": 273886894,
      "deductible": true
    },
    {
      "ein": "943041517",
      "name": "SAN FRANCISCO FOOD BANK",
      "city": "SAN FRANCISCO",
      "state": "CA",
      "subsection": {
        "code": "03",
        "label": "501(c)(3)"
      },
      "ntee": null,
      "ntee_category": null,
      "revenue": 167084763,
      "deductible": true
    },
    {
      "ein": "942418054",
      "name": "FOOD BANK CONTRA COSTA AND SOLANO",
      "city": "CONCORD",
      "state": "CA",
      "subsection": {
        "code": "03",
        "label": "501(c)(3)"
      },
      "ntee": "K310",
      "ntee_category": "Agriculture, Food & Nutrition",
      "revenue": 157214074,
      "deductible": true
    }
  ]
}

GETVerify Nonprofit

https://api-nonprofits.dataandapis.com/v1/nonprofits/{ein}

Path parameters

ParameterExample
ein53-0196605Required

Example request

curl "https://api-nonprofits.dataandapis.com/v1/nonprofits/53-0196605" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "ok": true,
  "tax_exempt": true,
  "ein": "530196605",
  "name": "AMERICAN NATIONAL RED CROSS",
  "also_known_as": "SHARED SERVICES CENTER",
  "in_care_of": null,
  "address": {
    "street": "431 18TH ST NW",
    "city": "WASHINGTON",
    "state": "DC",
    "zip": "20006-5310"
  },
  "deductible": {
    "verdict": true,
    "basis": "Listed in IRS Publication 78",
    "bmf_code": {
      "code": "1",
      "label": "Contributions are deductible"
    },
    "publication_78": {
      "listed": true,
      "codes": [
        {
          "code": "PC",
          "label": "Public charity"
        }
      ]
…
Show full response
{
  "ok": true,
  "tax_exempt": true,
  "ein": "530196605",
  "name": "AMERICAN NATIONAL RED CROSS",
  "also_known_as": "SHARED SERVICES CENTER",
  "in_care_of": null,
  "address": {
    "street": "431 18TH ST NW",
    "city": "WASHINGTON",
    "state": "DC",
    "zip": "20006-5310"
  },
  "deductible": {
    "verdict": true,
    "basis": "Listed in IRS Publication 78",
    "bmf_code": {
      "code": "1",
      "label": "Contributions are deductible"
    },
    "publication_78": {
      "listed": true,
      "codes": [
        {
          "code": "PC",
          "label": "Public charity"
        }
      ]
    }
  },
  "subsection": {
    "code": "03",
    "label": "501(c)(3)"
  },
  "foundation": {
    "code": "15",
    "label": "Organization benefitting a college or university"
  },
  "organization_type": {
    "code": "1",
    "label": "Corporation"
  },
  "exempt_status": {
    "code": "01",
    "label": "Unconditional exemption"
  },
  "ruling_date": "1938-12",
  "group_exemption": null,
  "ntee": {
    "code": "P210",
    "category": "Human Services"
  },
  "financials": {
    "as_of_tax_period": "2025-06",
    "assets": 5052941623,
    "income": 4608946426,
    "revenue": 3916983933
  }
}

Where the data comes from

Source
IRS Exempt Organizations Business Master File and IRS Publication 78 (US Government works), with IRS code tables decoded.
Freshness
Reloaded from the IRS monthly releases.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
6endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses — auto-completion in your IDE
  • Tracks the API in lockstep — new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-nonprofits.dataandapis.com/v1/sources',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Nonprofits API · X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key
import axios from 'axios';

const url = 'https://api-nonprofits.dataandapis.com/v1/sources';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time — we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales →

Questions about Nonprofits API

Ship Nonprofits API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.