# Grants.gov New Opportunity Alerts — Keyword Watch for US Grants (`openregistry/us-grants-new-alerts`) Actor

Schedule it and receive only the NEW US federal grant opportunities matching your keywords since the last run, plus forecasts that just opened. Official Grants.gov API, amounts and eligibility included, Slack, Discord or webhook alerts.

- **URL**: https://apify.com/openregistry/us-grants-new-alerts.md
- **Developed by:** [Mahé Perrin](https://apify.com/openregistry) (community)
- **Categories:** Automation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 new opportunity delivereds

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

## Grants.gov New Opportunity Alerts — Keyword Watch for US Grants

Stop re-reading the same Grants.gov search every week. Give this Actor your keywords (and, if you like, agencies, funding categories or eligibility), **schedule it**, and each run delivers **only the federal funding opportunities that are new since the previous run** — plus the forecasts that have **just opened for applications**.

Each delivered opportunity comes with the amounts and eligibility (award ceiling and floor, total funding, expected number of awards, eligible applicants, description, deadline, agency contact). Optional alert straight to **Slack**, **Discord** or any **webhook** (Zapier, Make, n8n, your CRM).

Data comes from the official **Grants.gov public API** (no key, no scraping). Independent tool, not affiliated with Grants.gov or any federal agency.

### Who it is for

Nonprofits, universities and research offices, grant writers and consultants, local governments, small businesses watching SBIR/STTR, tribal organizations — anyone who must not miss a new notice of funding opportunity in their field.

### How to schedule it

1. Enter your keywords (for example `broadband`, `rural health`, `STEM education`) and give the watchlist a **name** so its memory survives later edits.
2. Optional: narrow with agencies (`HHS`, `NSF`, `USDA`…), funding categories or who can apply. Paste a Slack incoming-webhook URL or any webhook in **Alert URL**.
3. Run it once. The first run delivers the opportunities posted in the last 7 days (adjustable, 0 = none) and records everything older as already known.
4. In Apify Console → **Schedules → Create new**, pick this Actor with the same input. Daily (`0 13 * * 1-5`) catches notices the day they are posted; weekly is fine for most teams.

Every following run delivers only what is new. Nothing new → empty dataset, no message (unless you turn on the heartbeat). The memory lives in a named key-value store of your own account, `us-grants-new-alerts-state`; delete its record to start over.

### Example alert

Slack message:

```
Grants.gov: 2 new opportunities for your watchlist
• FY27 Rural Broadband Pilot Program — Rural Utilities Service, up to $2,000,000, closes 2027-01-15 — https://www.grants.gov/search-results-detail/364150
• [now open] Community Health Workers for Rural Areas — HRSA, up to $500,000, closes 2027-02-03 — https://www.grants.gov/search-results-detail/361877
```

Dataset row (shortened):

```json
{
  "alertType": "new",
  "opportunityId": "364150",
  "opportunityNumber": "USDA-RUS-27-001",
  "title": "FY27 Rural Broadband Pilot Program",
  "status": "posted",
  "agencyName": "Rural Utilities Service",
  "postedDate": "2026-11-14",
  "closeDate": "2027-01-15",
  "awardCeiling": 2000000,
  "awardFloor": 100000,
  "estimatedTotalFunding": 40000000,
  "eligibleApplicants": ["State governments", "Native American tribal governments (Federally recognized)"],
  "description": "…",
  "matchedKeywords": ["broadband"],
  "url": "https://www.grants.gov/search-results-detail/364150",
  "detectedAt": "2026-11-16T13:00:05.311Z"
}
```

Other webhooks receive `{ source, title, count, generatedAt, runUrl, items: [ ...rows ] }`.

### Pricing

**$0.002 per new opportunity delivered.** Runs where nothing is new cost only the tiny platform usage. A typical watchlist sees a few to a few dozen new opportunities a month.

Set a maximum charge per run for a hard cap: what is not delivered is not marked as seen and comes with the next run, so nothing is lost.

### Honest limits

- Grants.gov search is full-text: a broad keyword (`health`) matches many notices. Use several precise keywords or add filters.
- Each keyword reads at most the 2,000 most recent matches per run — far more than appear between two scheduled runs.
- `now_posted` relies on Grants.gov keeping the same opportunity id when a forecast becomes a synopsis, which is its usual practice.
- Agency contacts (name, work e-mail, phone) are delivered only as Grants.gov publishes them for applicants; use them for that purpose.

# Actor input Schema

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

One search per keyword (Grants.gov full-text search). An opportunity matching several keywords is delivered once, with all its matched keywords.

## `watchlistName` (type: `string`):

Recommended for schedules. The memory of what was already delivered is stored under this name, so you can edit keywords and filters without receiving everything again. Leave empty and the memory is tied to the exact input.

## `firstRunDays` (type: `integer`):

On the very first run, opportunities posted in the last N days are delivered and everything older is recorded as already known. 0 = deliver nothing on the first run, only set the baseline.

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

Agency codes, e.g. HHS, NSF, DOD, USDA, DOE, ED, EPA, NASA, or a sub-agency such as HHS-NIH11 or DOD-DARPA. A code includes all its sub-agencies.

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

Keep opportunities in any of these categories.

## `eligibilities` (type: `array`):

Keep opportunities open to any of these applicant types.

## `fundingInstruments` (type: `array`):

Type of funding.

## `statuses` (type: `array`):

Forecasted = planned, not yet open; posted = open for applications. Both by default.

## `assistanceListing` (type: `string`):

Program number, e.g. 93.217.

## `alertWhenPosted` (type: `boolean`):

Deliver an opportunity again (alertType 'now_posted') when it moves from forecasted to posted: the moment applications open.

## `includeDetails` (type: `boolean`):

Reads the detailed record of each delivered opportunity (award ceiling and floor, total funding, eligible applicants, description, contact). Only new opportunities are read, so it stays fast.

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

Optional. When there is something new, the run POSTs a JSON message to this URL: a readable summary for Slack incoming webhooks and Discord webhooks, the full rows for any other URL (Zapier, Make, n8n, your server).

## `notifyWhenNothingNew` (type: `boolean`):

Send a short 'nothing new' message after each run (a heartbeat).

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

Anything beyond this is not marked as seen and is delivered by the next run.

## Actor input object example

```json
{
  "keywords": [
    "broadband",
    "rural health"
  ],
  "firstRunDays": 7,
  "statuses": [
    "forecasted",
    "posted"
  ],
  "alertWhenPosted": true,
  "includeDetails": true,
  "notifyWhenNothingNew": false,
  "maxResults": 500
}
```

# Actor output Schema

## `opportunities` (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": [
        "broadband",
        "rural health"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("openregistry/us-grants-new-alerts").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": [
        "broadband",
        "rural health",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("openregistry/us-grants-new-alerts").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": [
    "broadband",
    "rural health"
  ]
}' |
apify call openregistry/us-grants-new-alerts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,openregistry/us-grants-new-alerts"
        }
    }
}
```

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/R75CYWbZaj3lAVMKf/builds/FzRZClOZuPZSd2iaH/openapi.json
