# Grants.gov Opportunity Monitor (`snappytools/grants-gov-opportunity-monitor`) Actor

Type in a keyword and, if you like, a few agency codes. You get back one row per federal grant opportunity listed on Grants.gov, with the title, opportunity number, agencyName, status, openDate, closeDate and a direct url to the listing.

- **URL**: https://apify.com/snappytools/grants-gov-opportunity-monitor.md
- **Developed by:** [Snappy](https://apify.com/snappytools) (community)
- **Categories:** SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.90 / 1,000 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

## Grants.gov Scraper – US federal grant opportunities export

Type in a keyword and, if you like, a few agency codes. You get back one row per federal grant opportunity listed on Grants.gov, with the `title`, opportunity `number`, `agencyName`, `status`, `openDate`, `closeDate` and a direct `url` to the listing.

Run it on a schedule to keep an eye on new forecasts and postings in your field. Each row carries a stable `id`, so you can match it against earlier runs and spot what's new.

### Why this one

- **Filter by agency and status.** Narrow to agencies like HHS or DOE and to forecasted, posted, closed or archived opportunities.
- **Clean dates.** Open and close dates come back as ISO dates (YYYY-MM-DD), so they sort and filter properly in a spreadsheet.
- **Stable ids and links.** Every row has the Grants.gov `id` and a direct link to the listing.
- **No login needed.** You don't need a Grants.gov account or any key.
- **Pay per result.** $2.90 per 1,000 results, and runs that return nothing cost nothing.

### Quick start

```json
{
  "keyword": "climate",
  "agencies": "",
  "oppStatuses": "forecasted|posted",
  "maxItems": 5
}
```

This returns up to 5 forecasted or posted opportunities that match "climate".

### What you can use it for

| Who | What for |
|---|---|
| Grant writers and consultants | Build a weekly list of new opportunities for clients |
| Universities and research offices | Track funding calls from agencies such as NSF, NIH or DOE |
| Nonprofits | Watch for posted grants in their programme area before deadlines |
| Local governments | Find federal funding for infrastructure, health or housing projects |
| Market researchers | Count and compare grant activity by agency over time |

### How to use it

1. Click **Try for free**.
2. In **Keyword**, type what you're after, for example `rural health`.
3. In **Agency codes**, optionally add codes separated by a pipe, for example `HHS|DOE`. Leave it empty for all agencies.
4. In **Opportunity statuses**, keep `forecasted|posted` for open and upcoming calls, or add `closed` or `archived`.
5. Set **Max results** (1 to 1,000) to cap the run.
6. Click **Start**.

Tip: schedule a weekly run and compare the `id` values with earlier runs to see only new opportunities.

### What data you get

Each row is one grant opportunity.

| Field | What it is | Example |
|---|---|---|
| `id` | Grants.gov opportunity id | `364160` |
| `number` | Funding opportunity number | `NOAA-OAR-CPO-2027-33392` |
| `title` | Opportunity title | `Climate Program Office for FY 2012` |
| `url` | Link to the listing | `https://www.grants.gov/search-results-detail/103313` |
| `agencyCode` | Agency code | `DOC` |
| `agencyName` | Agency name | `Department of Commerce` |
| `status` | Opportunity status | `posted` |
| `documentType` | Listing type | `synopsis` |
| `openDate` | Posted date | `2026-10-27` |
| `closeDate` | Close date, empty if none | `2027-02-09` |
| `assistanceListings` | Assistance listing (CFDA) numbers | `["11.431"]` |
| `scrapedAt` | When the row was collected | `2026-11-13T11:25:37.901Z` |

### Pricing

| Event | Price |
|---|---|
| Result (each row saved to the dataset) | $0.0029 |

There is no start fee, and runs with no results cost nothing.

| Run | Cost |
|---|---|
| 100 results | $0.29 |
| 1,000 results | $2.90 |
| 10,000 results | $29.00 |

### Good to know

- **Limits:** up to 1,000 results per run.
- **Source:** the public Grants.gov search data. No login, no private data.
- **Not included:** full opportunity descriptions, attachments and eligibility details. Open the `url` for those.
- **Freshness:** results reflect Grants.gov at the moment of the run.
- **Agency codes** must match Grants.gov codes, such as `HHS`, `DOE` or `NSF`.
- **Empty close dates:** some listings, such as forecasts, have no `closeDate` set. It comes back as `null`.
- This tool isn't affiliated with or endorsed by Grants.gov or the US government.

### FAQ

**Can I get only new opportunities?** Schedule the run and compare `id` values with your previous export.

**Can I search several keywords?** Run once per keyword, or use a broader word.

**Can I include closed grants?** Yes. Add `closed` or `archived` to **Opportunity statuses**, separated by a pipe.

### Getting the data out

Download results as Excel, CSV or JSON from the Output tab. Send them to Google Sheets, Slack, Zapier, Make or webhooks from the **Integrations** tab. Every run is available through the Apify API, and you can schedule runs from **Schedules**.

### Questions or problems

Open an issue on the **Issues** tab and include the run link. I reply within one business day.

### Related tools

- [Public RSS Feed Monitor](https://apify.com/snappytools/rss-feed-monitor): watch public RSS feeds for new items
- [Government and Public Job Boards Aggregator (USAJobs API)](https://apify.com/snappytools/usajobs-public-job-search): search government job listings

# Actor input Schema

## `keyword` (type: `string`):

Words to search for in grant opportunity titles and descriptions, for example climate or rural health.

## `agencies` (type: `string`):

Optional Grants.gov agency codes separated by a pipe, for example HHS|DOE. Leave empty for all agencies.

## `oppStatuses` (type: `string`):

Statuses to include separated by a pipe: forecasted, posted, closed, archived.

## `maxItems` (type: `integer`):

Maximum number of opportunities to save in one run (1 to 1000).

## Actor input object example

```json
{
  "keyword": "climate",
  "agencies": "",
  "oppStatuses": "forecasted|posted",
  "maxItems": 20
}
```

# Actor output Schema

## `results` (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 = {
    "keyword": "climate",
    "agencies": "",
    "oppStatuses": "forecasted|posted",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("snappytools/grants-gov-opportunity-monitor").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 = {
    "keyword": "climate",
    "agencies": "",
    "oppStatuses": "forecasted|posted",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("snappytools/grants-gov-opportunity-monitor").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 '{
  "keyword": "climate",
  "agencies": "",
  "oppStatuses": "forecasted|posted",
  "maxItems": 20
}' |
apify call snappytools/grants-gov-opportunity-monitor --silent --output-dataset

```

## MCP server setup

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

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/3x3Uq6eR9JCnJf9uB/builds/GxQeObMVBtuvGmaKd/openapi.json
