Charity API Docs

CharityQuery is a developer API for searching IRS nonprofit data across the United States. Use it to find nonprofits by location, classification, financial attributes, and IRS metadata, then request only the fields your application needs.

Start with one request
Search for nonprofits near a ZIP code and return a compact response.
curl "https://api.charityquery.com/nearby?origin_zip=28403&radius=25&fields=ein,name,city,state,ntee_group,distance_miles&limit=2" \
  -H "x-api-key: YOUR_API_KEY"

The /nearby endpoint finds nonprofits within a radius of a ZIP code or latitude/longitude pair. Results are sorted by distance_miles by default.

Follow the Quickstart →

How CharityQuery works

Most requests follow the same pattern: choose an endpoint, filter the results, select the fields you want, and paginate through the response.

Filter

Search by location, IRS classification, NTEE code, deductibility, financial ranges, geocode status, and more.

Select fields

Use the fields parameter to return only the data your app needs, such as ein, name, ntee_code, or distance_miles.

Use enriched responses

Many IRS-coded values return both the original code and a human-readable description.

Core endpoints

Nearby Search
Find nonprofits within a radius of a ZIP code or latitude/longitude pair.
/nearby?origin_zip=28403&radius=25
Read the Nearby Search guide →
Charity Search
Search and filter nonprofit records using standard query parameters.
/charities?state=NC&fields=ein,name,ntee_code&limit=25
Read the Filtering & Sorting guide →

Guides

OpenAPI Reference
Explore endpoints, parameters, and response schemas in the API reference.