Developer API for IRS nonprofit data
Find and filter U.S. nonprofits with a simple API
CharityQuery helps developers search IRS nonprofit data by location, classification, financial attributes, and nearby radius. Build discovery tools, research platforms, and location-aware nonprofit apps faster.
IRS nonprofit data is powerful, but hard to use
Raw IRS charity datasets are large, code-heavy, and difficult to query without preprocessing, metadata lookups, filtering logic, and location enrichment.
CharityQuery turns that data into a fast, predictable API with developer-friendly filtering, field selection, enriched code responses, and nearby nonprofit search.
Nearby nonprofit search
Find nonprofits within a radius using ZIP codes or coordinates, with distance included in each result.
Powerful filtering
Filter by state, ZIP, NTEE codes, IRS classifications, deductibility, financial ranges, geocode status, and more.
Field selection
Request only the fields your app needs for smaller responses and cleaner frontend data handling.
Enriched IRS codes
Many coded fields return readable descriptions, so your app does not need separate lookup tables.
fetch("https://api.charityquery.com/nearby?origin_zip=28403&radius=10&fields=ein,name,city,state,ntee_group,distance_miles,lat,lng&limit=3", {
headers: {
"x-api-key": "YOUR_API_KEY"
}
})Response
{
"page": 1,
"limit": 3,
"total": 11,
"totalPages": 4,
"next": 2,
"prev": null,
"origin": {
"lat": 34.2237,
"lng": -77.8862,
"source": "zip"
},
"charities": [
{
"ein": "010718189",
"name": "Rs And Tc Jervay Foundation Inc",
"city": "Wilmington",
"state": "NC",
"ntee_group": {
"code": "A",
"description": "Arts, Culture and Humanities"
},
"lat": "34.230768",
"lng": "-77.940127",
"distance_miles": 3.13
}
]
}Local discovery apps
Surface nearby nonprofits by cause, distance, ZIP code, or geography.
Donation platforms
Help users discover relevant nonprofits before routing them into your donation flow.
Research tools
Analyze nonprofit organizations by classification, location, financial ranges, and metadata.
Start building with nonprofit data
Get an API key, make your first request, and start searching U.S. nonprofits in minutes.