# Nonprofit Data API with Grants, RFPs and Charity Check: Candid (`nabeelbaghoor/nonprofit-grants-data-api`) Actor

Search US nonprofits and read full profiles with Form 990 financials, leaders and programs, Charity Check IRS Pub 78, BMF and OFAC status, demographics, grant funders, recipients and transactions, and open RFPs through the Candid (GuideStar, Foundation Center) APIs by EIN. Bring your own key.

- **URL**: https://apify.com/nabeelbaghoor/nonprofit-grants-data-api.md
- **Developed by:** [Nabeel Hassan](https://apify.com/nabeelbaghoor) (community)
- **Categories:** Developer tools, Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 nonprofit, grant or rfp search results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Nonprofit Data API with Grants, RFPs and Charity Check: Candid

Search US nonprofits, pull full nonprofit profiles with Form 990 financials, verify IRS charity status by EIN, and research grant funders, recipients, grant transactions and open RFPs through Candid's APIs with your own subscription key, as clean rows you can export to CSV, Excel or JSON.

Candid is the nonprofit formed by GuideStar and Foundation Center. Its APIs cover US nonprofits from the IRS Business Master File, Form 990 filings and nonprofit-reported profile data, more than 4 million grant records gathered every year, and a live feed of open grant opportunities. This actor wraps the Essentials nonprofit search, the Premier nonprofit profile, Charity Check, Demographics, the Grants API (funders, recipients and transactions) and the RFP API (opportunity search and opportunities by funder). Use it for grantmaking due diligence, donation and DAF compliance checks, prospect research, CRM enrichment, fundraising intelligence and nonprofit sector analysis. Bring your own API key.

BYOK, not live tested: every route, parameter and response field comes from Candid's own API reference at developer.candid.org, and every route was probed on 2026-10-28 with an invalid key. The actor has not been run against a live Candid key.

### What it does

- **Nonprofit search** (Essentials API v4): search by name, EIN or keywords and filter by state, city, ZIP code and radius, NTEE major code, PCS subject and population codes, Candid Seal of Transparency level, IRS Pub 78 verification, revoked status and total revenue range. One row per nonprofit with EIN, Candid entity ID, mission, website, leader, contact, address and coordinates, NTEE code, IRS subsection, seal level, employees and most recent revenue, expenses and assets. Pages 25 at a time.
- **Nonprofit profile by EIN** (Premier API v4): the full profile, with Form 990 financials (revenue, expenses, assets, liabilities and every revenue and expense line), financial trends, officers, board, senior staff, highest paid employees, programs and results, documents, funding sources and the embedded Charity Check.
- **Charity Check by EIN**: IRS Publication 78 and Business Master File status, Internal Revenue Bulletin listing, OFAC screening, revocation and reinstatement, subsection, foundation and 509(a) status, deductibility and parent organizations, for donation and grant compliance.
- **Demographics by EIN**: staff, senior staff and board totals and the demographic categories (race and ethnicity, gender identity and more) the organization reported to Candid.
- **Grant funders, recipients and transactions** (Grants API): filter by keyword, GeoNames location (funder, recipient or area served), year, PCS subject, population, support strategy and transaction codes, funder or recipient key or EIN, amount range, government grantmakers and last updated date. Funder and recipient rows give total amount and grant count; transaction rows give funder, recipient, amount, year, subjects, populations and description.
- **Open RFP opportunities** (RFP API): search live grant opportunities by keyword, subject, population and geographic area, newly added since a date, sorted by deadline, or list every open opportunity of one funder by EIN or Candid entity ID.
- **Pay only for results**: EINs with no record and refused lookups become a free row that says why, never charged.

### How to use it

1. Get Candid API access: request a free trial (500 calls over 30 days, 10 calls a minute) or a subscription at developer.candid.org. Candid issues a separate subscription key for each API product.
2. Pick a mode, then paste the key of the product that mode uses into the API key field (or set the DATA_API_KEY environment secret).
3. Fill in the search terms and filters, or the EINs, for that mode.
4. Download the dataset as JSON, CSV or Excel, or connect it to your workflow through the Apify API, webhooks or integrations.

### Input

| Field | Modes | Notes |
| --- | --- | --- |
| `mode` | all | `nonprofitSearch`, `nonprofitProfile`, `charityCheck`, `demographics`, `grantFunders`, `grantRecipients`, `grantTransactions`, `rfpSearch`, `rfpFunder` |
| `searchTerms` | search modes | name, EIN or keywords |
| `eins` | profile, Charity Check, demographics, RFP by funder | one EIN per line; demographics and RFP by funder also take Candid entity IDs |
| `subjectCodes`, `populationCodes` | nonprofit search, grants, RFP | Candid PCS codes such as SE or PA01 |
| `geonameIds` | grants (one), RFP (several) | GeoNames IDs such as 6252001 |
| `states`, `cities`, `zipCode`, `radiusMiles`, `nteeMajorCodes`, `profileLevels`, `pub78VerifiedOnly`, `excludeRevoked`, `minRevenue`, `maxRevenue`, `searchSortBy` | nonprofit search | Essentials v4 filters |
| `years`, `locationType`, `supportCodes`, `transactionCodes`, `funderIds`, `recipientIds`, `idsAreEins`, `includeGovernment`, `minAmount`, `maxAmount`, `grantSortBy` | grants | Grants API filters |
| `updatedSince` | grants, RFP | yyyy-mm-dd |
| `rfpSortByDeadline`, `sortOrder` | RFP, and sort order for search and grants | |
| `maxResults` | all | most rows returned and charged, default 100 |
| `requestsPerMinute` | all | pacing, default 60 |
| `apiKey` | all | your Candid subscription key for the mode's product, stored as a secret |

Which key each mode needs:

| Mode | Candid API product |
| --- | --- |
| Nonprofit search | Essentials |
| Nonprofit profile by EIN | Premier |
| Charity Check by EIN | Charity Check |
| Demographics by EIN | Demographics |
| Grant funders, recipients, transactions | Grants |
| Open RFP opportunities, by funder | RFP |

Example Charity Check input:

```json
{
    "mode": "charityCheck",
    "eins": ["13-1837418", "53-0196605"]
}
```

### Output

One row per record. Illustrative Charity Check row (example values from Candid's documentation, trimmed; not a live response):

```json
{
    "mode": "charityCheck",
    "recordType": "charityCheck",
    "query": "13-1837418",
    "found": true,
    "ein": "13-1837418",
    "name": "Candid",
    "city": "New York",
    "state": "NY",
    "subsection": "501(c)(3) Public Charity",
    "rulingYear": 1957,
    "pub78Verified": true,
    "bmfStatus": true,
    "deductibility": "A public charity (50% deductibility limitation).",
    "ofacStatus": "This organization was not included in the Office of Foreign Assets Control Specially Designated Nationals (SDN) list.",
    "record": { "...": "the full Candid Charity Check record" }
}
```

Search and profile rows add `candidEntityId`, `mission`, `website`, `nteeCode`, `sealLevel`, `leaderName`, contact columns, `employees`, `fiscalYear`, `totalRevenue`, `totalExpenses` and `totalAssets`. Grants rows add `funderName`, `funderKey`, `funderEin`, `recipientName`, `recipientKey`, `recipientEin`, `amountUsd`, `grantCount`, `yearIssued`, `grantSubjects`, `grantPopulations` and `description`. RFP rows add `title`, `description`, `amount`, `currency`, `deadline`, `url` and the funder columns.

### Pricing

Pay per event, only for rows that carry a real Candid record:

| Event | Price |
| --- | --- |
| Nonprofit, grant or RFP search result | $0.005 |
| Full nonprofit profile (Premier) | $0.02 |
| Charity Check or demographics record | $0.01 |

Your Candid subscription and its call quota apply on top. A search page of up to 25 rows is one Candid API call.

### FAQ

#### What is Candid?

Candid is the US nonprofit created in 2019 when GuideStar and Foundation Center merged. It publishes the largest source of information on US nonprofits, foundations and grants, built from IRS filings and data nonprofits share through their Candid profiles.

#### Is this the GuideStar API?

Yes. The GuideStar APIs are now Candid's APIs on api.candid.org. This actor uses the current v4 Essentials and Premier endpoints, which Candid recommends over v1 to v3 (those sunset on March 31, 2027).

#### Do I need my own Candid API key?

Yes. This actor is bring your own key: it calls Candid with your subscription key and your plan. Without a key the run ends straight away with a message saying how to get one, and nothing is charged.

#### Why does each mode need a different key?

Candid sells each API (Essentials, Premier, Charity Check, Demographics, Grants, RFP) as its own subscription with its own keys. A run reads one mode, so paste the key of the product that mode uses. A key from another product is rejected with HTTP 401, and the run ends with a message naming the product it needs.

#### How do I verify a charity is eligible for tax deductible donations?

Use the Charity Check mode with the organization's EIN. `pub78Verified` says whether it is listed in IRS Publication 78, `bmfStatus` whether it is on the IRS Business Master File, `ofacStatus` gives the OFAC sanctions screening, and the full record holds revocation, reinstatement and 509(a) details.

#### How do I find foundations that fund my cause?

Use the grant funders mode with a keyword or PCS subject code, a GeoNames location with the location type set to recipient, recent years and an amount range, sorted by amount. Each row is a funder with its total amount and number of matching grants. Then list that funder's open opportunities with the RFP by funder mode.

#### Where do I find PCS codes and GeoNames IDs?

Candid's taxonomy guide (Philanthropy Classification System) and its GeoNames guide on developer.candid.org list them. Top level PCS codes such as SE (health) include their child codes.

#### How many grants can one search return?

The Grants API returns 25 rows a page and stops at page 100, so one search returns at most 2,500 rows. Narrow the search with years or amounts for more.

#### What do I pay?

The actor's per row price above, plus whatever your Candid subscription charges. Trial keys are free for 500 calls over 30 days.

### Keyword map

nonprofit data API, GuideStar API, Candid API, charity search API, nonprofit search by EIN, Form 990 financials API, IRS Pub 78 verification, charity check API, 501(c)(3) lookup, OFAC charity screening, nonprofit demographics data, foundation grants database, grant funders API, grant recipients, Foundation Directory data, open RFP grant opportunities, fundraising prospect research.

### Routes and verification

| Mode | Route | Source | Probe with invalid key (twice) |
| --- | --- | --- | --- |
| Nonprofit search | POST /essentials/v4 | API reference, /essentials/v4 | 401 `Access denied due to invalid subscription key` |
| Nonprofit profile | GET /premier/v4/{ein} | API reference, /premier/v4 | 401 |
| Charity Check | GET /charitycheck/v1/{ein} | API reference, /charitycheck/v1 | 401; /charitycheck/v9 404 `Resource not found` |
| Demographics | GET /demographics/v1/{ein} | API reference, /demographics/v1 and the 03.25.2026 changelog | 401 |
| Grant funders, recipients, transactions | GET /grants/v1/funders, /recipients, /transactions | API reference, Grants API | 401 on /funders |
| RFP search, by funder | GET /rfp/v1/search, /rfp/v1/profile | API reference, RFP API | 401 on /search; /nonprofits/v1/search 404 |

The key goes in the documented `Subscription-Key` header and never in a URL or a log line. Array filters for the Grants and RFP APIs are sent comma separated, as the Grants pages document; the RFP pages do not state the array format, so this is an assumption to check against a live key. Charity Check Bulk, the PDF endpoints, the News API, the Taxonomy GraphQL API and the Essentials lookup tables are not wrapped.

### Licensing and data use

This actor works only with your own Candid subscription key, and your agreement with Candid applies. Candid's API terms let a licensee serve Candid data to its own users and customers but not republish, resell or sublicense it, and require any page that shows Candid data to display "Powered by Candid" and "© Candid. (www.candid.org)". Keep that attribution wherever you show these rows. This actor is not affiliated with or endorsed by Candid.

# Actor input Schema

## `mode` (type: `string`):

Each mode calls one Candid API product and needs that product's subscription key. Nonprofit search uses Essentials; profile by EIN uses Premier; Charity Check and Demographics use their own APIs; the three grants modes use the Grants API; the two RFP modes use the RFP API.

## `searchTerms` (type: `string`):

Search modes. A name, EIN or keywords, such as food bank or 13-1837418. Sent as search_terms to Essentials, query to the Grants API and search_term to the RFP API.

## `eins` (type: `array`):

Profile, Charity Check, Demographics and RFP by funder modes. One nine digit EIN per line, with or without the dash. Demographics and RFP by funder also take numeric Candid entity IDs such as 6908122.

## `subjectCodes` (type: `array`):

Optional. Candid Philanthropy Classification System subject codes, such as SE (health) or SB (education). Nonprofit search, grants and RFP modes.

## `populationCodes` (type: `array`):

Optional. PCS population codes, such as PA01 (children and youth) or PG0302 (low-income people). Nonprofit search, grants and RFP modes.

## `geonameIds` (type: `array`):

Optional. Numeric GeoNames IDs, such as 6252001 (United States) or 5332921 (California). Grants modes take one; RFP modes take several (geographic area).

## `states` (type: `array`):

Optional. Two letter US state codes, one per line.

## `cities` (type: `array`):

Optional. US city names, one per line.

## `zipCode` (type: `string`):

Optional. A five digit ZIP code, alone or as the center of the radius below.

## `radiusMiles` (type: `integer`):

Optional. Miles around the ZIP code, 1 to 50.

## `nteeMajorCodes` (type: `array`):

Optional. National Taxonomy of Exempt Entities major group letters, such as K (food, agriculture and nutrition) or T (philanthropy).

## `profileLevels` (type: `array`):

Optional. Only organizations holding one of these seal levels.

## `pub78VerifiedOnly` (type: `boolean`):

Optional. Only organizations listed in IRS Publication 78 (eligible to receive tax deductible contributions).

## `excludeRevoked` (type: `boolean`):

Optional. Leave out organizations whose tax exempt status the IRS revoked.

## `minRevenue` (type: `integer`):

Optional. Most recent year total revenue, at least this many US dollars.

## `maxRevenue` (type: `integer`):

Optional. Most recent year total revenue, at most this many US dollars.

## `searchSortBy` (type: `string`):

Leave on relevance, or sort by name, gross receipts, assets, distance from the ZIP code or year founded.

## `years` (type: `array`):

Optional. Years the grants were awarded, in YYYY format.

## `locationType` (type: `string`):

With a GeoNames ID: whether it is the funder's location, the recipient's location or the area served.

## `supportCodes` (type: `array`):

Optional. PCS support strategy codes, such as UA (general support).

## `transactionCodes` (type: `array`):

Optional. PCS transaction codes, such as TA (cash grants).

## `funderIds` (type: `array`):

Optional. Candid funder keys, such as GATE023 (Bill and Melinda Gates Foundation), or EINs with the option below.

## `recipientIds` (type: `array`):

Optional. Candid recipient keys, such as 279943, or EINs with the option below.

## `idsAreEins` (type: `boolean`):

Turn on when the funder and recipient lists hold EINs rather than Candid keys (sent as id_type=ein).

## `includeGovernment` (type: `string`):

Whether US government grantmakers are listed.

## `minAmount` (type: `integer`):

Optional. Only grants of at least this many US dollars.

## `maxAmount` (type: `integer`):

Optional. Only grants of at most this many US dollars.

## `grantSortBy` (type: `string`):

Funders sort by funder name, amount or count; recipients by recipient name, amount or count; transactions by either name, year, amount or count.

## `updatedSince` (type: `string`):

Optional, yyyy-mm-dd. Grants modes: records added or updated on or after this date. RFP modes: opportunities added since this date.

## `rfpSortByDeadline` (type: `boolean`):

RFP modes. Sort opportunities by deadline (combine with ascending order for the soonest first).

## `sortOrder` (type: `string`):

Ascending or descending, for the sort chosen above.

## `maxResults` (type: `integer`):

The most rows this run returns and charges for. Searches page 25 at a time; a grants search stops at 2,500 rows.

## `requestsPerMinute` (type: `integer`):

Pacing for calls to Candid. Trial keys allow 10 a minute, sandbox keys 60 and production keys 480. Throttled calls are retried after a pause.

## `apiKey` (type: `string`):

The subscription key of the Candid API product your mode uses (Essentials, Premier, Charity Check, Demographics, Grants or RFP), from your Candid developer account. Stored as a secret, sent only in the Subscription-Key header to api.candid.org and never logged. You can instead set the DATA_API_KEY environment secret.

## Actor input object example

```json
{
  "mode": "nonprofitSearch",
  "searchTerms": "food bank",
  "searchSortBy": "",
  "locationType": "",
  "includeGovernment": "",
  "grantSortBy": "",
  "sortOrder": "",
  "maxResults": 100,
  "requestsPerMinute": 60
}
```

# Actor output Schema

## `records` (type: `string`):

One row per nonprofit, profile, Charity Check, demographics record, funder, recipient, grant or RFP opportunity the chosen mode read.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchTerms": "food bank"
};

// Run the Actor and wait for it to finish
const run = await client.actor("nabeelbaghoor/nonprofit-grants-data-api").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "searchTerms": "food bank" }

# Run the Actor and wait for it to finish
run = client.actor("nabeelbaghoor/nonprofit-grants-data-api").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "searchTerms": "food bank"
}' |
apify call nabeelbaghoor/nonprofit-grants-data-api --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nabeelbaghoor/nonprofit-grants-data-api"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8HEvz6SiwtcZLowwj/builds/bTLqOMiy15nPlue1p/openapi.json
