# Grants.gov Grant Matcher: Federal Grant Finder & Fit Score (`nerolabs/grants-gov-grant-matcher`) Actor

Finds open and forecast US federal grants on Grants.gov that fit your keywords, organisation type and state, scores fit 0 to 100, checks eligibility and adds past award sizes and recipients from USAspending. Monitor mode for new grants. $0.02 per matched grant. Agent-ready: x402, MCP.

- **URL**: https://apify.com/nerolabs/grants-gov-grant-matcher.md
- **Developed by:** [Adam Pearce](https://apify.com/nerolabs) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $14.00 / 1,000 matched grants

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Grants.gov Grant Matcher: Federal Grant Finder & Fit Score

**Find the US federal grants your organisation can actually win, scored 0 to 100, with eligibility checked and past award sizes attached.** Tell it what you do (keywords), what you are (nonprofit, small business, university, city, school district, tribe) and your state. It searches every open and forecast opportunity on Grants.gov, reads each one in full, drops the ones you are not eligible for, and returns the best fits with deadlines, award ceilings and who won this program before, from USAspending.

Built for **grant writers and consultants** who track grants for several clients, **nonprofits, schools, cities and small businesses** looking for funding, and **AI agents** that need a clean grant feed. Schedule it weekly in monitor mode and you get only the new grants, including a forecast that has just opened.

### What you get for each grant

| Field | What it tells you |
|---|---|
| `fitScore`, `fitReasons` | 0 to 100 and why: keywords found (title hits count double), eligibility, time left, award size, your state mentioned |
| `eligibility` | `eligible`, `open to all`, `check eligibility text` or `not listed` for your organisation type, plus `eligibilityNotes` (the agency's own words) |
| `status`, `closeDate`, `daysLeft`, `urgent` | Posted or forecast, the deadline (estimated for forecasts), days left, flagged when 21 days or fewer |
| `awardCeiling`, `awardFloor`, `totalFunding`, `expectedAwards` | How big each award is and how many the agency plans |
| `costSharingRequired`, `fundingType`, `categories` | Match funding needed or not, grant or cooperative agreement, topic |
| `medianPastAward`, `typicalAwardRange` | What awards under the same Assistance Listing actually paid recently (USAspending) |
| `topPastRecipients`, `pastRecipientsInYourState` | Who won this program before, and how many winners were in your state |
| `grantsGovUrl`, `announcementUrl`, `contactEmail` | Where to read the full notice and who to ask |

Sample row (shortened):

```json
{
  "fitScore": 63,
  "title": "Rural Health Network Development Program",
  "agency": "Health Resources and Services Administration",
  "status": "forecasted",
  "closeDate": "2027-03-16",
  "awardCeiling": 500000,
  "eligibility": "eligible",
  "matchedKeywords": ["rural health"],
  "medianPastAward": 198963,
  "topPastRecipients": "CHIRICAHUA COMMUNITY HEALTH CENTERS INC (2); ...",
  "fitReasons": "Matches 'rural health' (in the title). Your organisation type is listed as eligible. Forecast: not open yet, time to prepare.",
  "grantsGovUrl": "https://www.grants.gov/search-results-detail/..."
}
```

### Why this instead of searching Grants.gov by hand

- **One profile, every keyword.** Grants.gov's own search treats "rural health" as "rural OR health" and returns 700+ results. This runs each keyword tightly (every word), then wider, reads every candidate in full and scores it, so the top 10 are the top 10.
- **Eligibility done for you.** Grants that exclude your organisation type never reach you. "Others, see text" grants are kept and labelled so you can read the agency's note.
- **Know what to ask for.** Median and typical past awards plus past winners tell you whether $50,000 or $500,000 is the realistic ask, and who you are up against.
- **Forecasts included.** See grants months before they open, with estimated post and close dates.
- **Monitor mode.** Run it weekly; only new grants come back and only new grants are charged. Separate `watchName` per client.

### How much it costs

**$0.02 per matched grant returned** (cheaper on higher Apify plans: $0.018, $0.016, $0.014). Grants below your fit score, excluded by your words, closing too soon or already seen in monitor mode are never charged. Searching, reading details and the USAspending past-award lookups are free. A weekly 25-grant alert for one client costs about $2 a month.

### Input

- `keywords`: what you do, for example `youth mentoring`, `food bank`, `rural broadband`. Or `keywordListUrl`: a CSV or Google Sheet with a `keyword` column (one sheet per client works well).
- `organizationType`: nonprofit 501(c)(3), small business, public or private university, state, county or city government, school district, tribal government, housing authority, individual, or `any`.
- `state`: two-letter code or name.
- Optional filters: `fundingCategories` (Health, Education, Environment...), `agencies` (HHS, USDA, DOJ...), `grantsOnly`, `minAward`, `maxAward`, `minDaysToDeadline` (default 7), `excludeKeywords`, `includeForecasts` (default on).
- `minFitScore` (default 50), `maxGrants` (default 50), `maxOpportunitiesChecked` (default 200).
- `monitorMode`, `watchName`, `webhookUrl` for weekly alerts.

A run summary (counts, top 10, warnings) is saved as `SUMMARY` in the run's key-value store.

### For AI agents

Call it through the Apify MCP server (`nerolabs/grants-gov-grant-matcher`) or pay per call with x402. Pass `keywords`, `organizationType` and `state`; read `fitScore`, `eligibility`, `closeDate` and `grantsGovUrl`. Pay per event, limited permissions, no Standby.

### Data and limits

- Sources: the official Grants.gov API (search2 and fetchOpportunity) and the USAspending.gov API, both US federal government open data in the public domain. No scraping, no login, no key.
- Grants.gov holds a synopsis, not the full announcement PDF, so a keyword that only appears in the PDF scores lower. Grants that Grants.gov's own full-text search matched are still credited and marked `(Grants.gov search)`.
- Past awards cover the grant's first Assistance Listing number, the latest 100 awards in the window (default 3 years). New programs show 0. USAspending can be slow; if it times out, the grant is still returned with the past-award fields empty and a warning.
- Eligibility comes from the applicant types the agency ticked. Always read `eligibilityNotes` and the full notice before applying. This tool does not give legal or funding advice.

Questions or a feature you need? Open an issue on the Issues tab and it is usually answered the same day.

# Actor input Schema

## `keywords` (type: `array`):

Words and phrases that describe your work, for example 'youth mentoring', 'rural broadband', 'food bank'. Each one runs a full-text Grants.gov search; a hit in the title counts double in the fit score.

## `keywordListUrl` (type: `string`):

Optional. A CSV URL or a Google Sheet shared as 'Anyone with the link can view'. Uses a column named keyword, focus, program or topic, or else the first column. Added to 'keywords'.

## `excludeKeywords` (type: `array`):

Optional. Grants whose title or text mention any of these are dropped and not charged, for example 'clinical trial'.

## `organizationType` (type: `string`):

Checks each grant's eligible applicant list. Grants open to all and 'others, see text' grants are kept and labelled; grants that exclude your type are not returned.

## `state` (type: `string`):

Optional. Two-letter code or name (TX or Texas). Adds 5 points when a grant mentions your state and counts past recipients in your state.

## `includeForecasts` (type: `boolean`):

Forecasts are grants the agency has announced but not opened yet, with estimated dates, so you can prepare early.

## `fundingCategories` (type: `array`):

Optional. Only grants in these Grants.gov categories.

## `agencies` (type: `array`):

Optional. Grants.gov agency codes, for example HHS, USDA, DOJ, ED, HHS-NIH11.

## `grantsOnly` (type: `boolean`):

Leave out procurement contracts and other funding types.

## `minAward` (type: `integer`):

Optional. Drops grants whose award ceiling is below this. Grants with no published ceiling are kept.

## `maxAward` (type: `integer`):

Optional. Drops grants whose award floor is above this.

## `minDaysToDeadline` (type: `integer`):

Posted grants closing sooner than this are skipped.

## `minFitScore` (type: `integer`):

Only grants scoring at least this are returned and charged. Score = keywords (50) + eligibility (25) + time left (15) + award size (10) + state mentioned (5).

## `includePastAwards` (type: `boolean`):

For each grant's Assistance Listing number: how many awards were made recently, median and typical award size, top past recipients and past recipients in your state. Free, no extra charge.

## `pastAwardYears` (type: `integer`):

How far back the past award figures look (latest 100 awards inside the window).

## `maxGrants` (type: `integer`):

The best scoring grants, up to this many, are returned and charged.

## `maxOpportunitiesChecked` (type: `integer`):

Search hits are ranked by keyword hits and this many are read in full. Not charged.

## `monitorMode` (type: `boolean`):

Remembers what was returned under 'watchName' and returns only new grants next time, including a forecast that has now opened. Schedule it weekly for a grant alert.

## `watchName` (type: `string`):

Keeps separate memories for separate profiles or clients in monitor mode.

## `webhookUrl` (type: `string`):

Optional. Gets a JSON POST with the run summary (in monitor mode, only when something new was found).

## Actor input object example

```json
{
  "keywords": [
    "rural health",
    "telehealth",
    "behavioral health"
  ],
  "organizationType": "nonprofit_501c3",
  "state": "TX",
  "includeForecasts": true,
  "grantsOnly": false,
  "minDaysToDeadline": 7,
  "minFitScore": 50,
  "includePastAwards": true,
  "pastAwardYears": 3,
  "maxGrants": 10,
  "maxOpportunitiesChecked": 200,
  "monitorMode": false,
  "watchName": "default"
}
```

# Actor output Schema

## `grants` (type: `string`):

No description

## `summary` (type: `string`):

No description

# 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 = {
    "keywords": [
        "rural health",
        "telehealth",
        "behavioral health"
    ],
    "state": "TX",
    "maxGrants": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("nerolabs/grants-gov-grant-matcher").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 = {
    "keywords": [
        "rural health",
        "telehealth",
        "behavioral health",
    ],
    "state": "TX",
    "maxGrants": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("nerolabs/grants-gov-grant-matcher").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 '{
  "keywords": [
    "rural health",
    "telehealth",
    "behavioral health"
  ],
  "state": "TX",
  "maxGrants": 10
}' |
apify call nerolabs/grants-gov-grant-matcher --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nerolabs/grants-gov-grant-matcher"
        }
    }
}
```

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/91OXME2UPKM16kxB7/builds/RfLSmwf3FjcTFYe0t/openapi.json
