# Grants.gov Opportunity Search & Award Lookup Tool (`nimbryxo-studio/grants-gov-opportunity-search-and-award-lookup`) Actor

Search Grants.gov funding opportunities by keyword, agency, category and status, or look up specific opportunities by number, with award amounts, deadlines and eligibility.

- **URL**: https://apify.com/nimbryxo-studio/grants-gov-opportunity-search-and-award-lookup.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** Automation, Lead generation, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

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

Learn more: https://docs.apify.com/actors/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 Opportunity Search & Award Lookup Tool

Grants.gov is the US government's central listing of federal funding opportunities from agencies such as NIH, NSF, DOE and USDA. This actor searches that listing by keyword, category, agency or status, or looks up specific opportunities directly by their opportunity number or ID.

### What this actor does

- Searches grant opportunities by free-text keyword, narrowed by category, agency name/code and status (posted, forecasted, closed, archived).
- Looks up one or more specific opportunities directly by opportunity number or numeric ID.
- Returns funding details — award ceiling and floor, total estimated program funding, expected number of awards — when the listing publishes them.
- Includes Assistance Listings (CFDA) numbers, eligibility text and the full synopsis for each opportunity.
- Omits any field a listing doesn't provide, so a record never contains a blank or placeholder value.

### Output per opportunity

| Field | Description |
|---|---|
| `opportunityId` | Grants.gov's internal opportunity ID. |
| `opportunityNumber` | Official grant/opportunity number (e.g. `PD-24-1340`). |
| `opportunityTitle` | Title of the funding opportunity. |
| `agencyCode`, `agencyName` | Issuing agency code and full name. |
| `opportunityCategory`, `opportunityCategoryLabel` | Category code and its label (e.g. `HL` / Health). |
| `fundingInstrumentType` | Type of funding instrument (e.g. grant, cooperative agreement). |
| `opportunityStatus` | `posted`, `forecasted`, `closed`, or `archived`. |
| `postDate` | Date the opportunity was posted. |
| `applicationDeadline` | Application close date. |
| `lastUpdatedDate` | Date the listing was last modified. |
| `awardCeiling`, `awardFloor` | Maximum and minimum award amount, in USD. |
| `estimatedTotalProgramFunding` | Total estimated funding for the program, in USD. |
| `expectedNumberOfAwards` | Expected number of awards to be made. |
| `cfdaNumbers` | Assistance Listings (CFDA) numbers tied to the opportunity. |
| `description` | Grant synopsis. |
| `eligibleApplicants` | Description of who may apply. |
| `moreInfoUrl` | Link to the opportunity's page on Grants.gov. |
| `scrapedAt` | ISO 8601 timestamp of when the record was collected. |

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | String (select) | `searchGrants` | `searchGrants` (keyword/filters) or `getGrantDetails` (lookup by ID). |
| `keyword` | String | `education` | Free-text keyword to search opportunities (`searchGrants` mode). |
| `category` | String (select) | – (all categories) | One of 25+ category codes, e.g. `HL` (Health), `ED` (Education), `EN` (Energy). |
| `agency` | String | – | Filter by agency name or code, e.g. `NASA`, `NIH`, `HHS`, `USDA`. |
| `oppStatus` | String (select) | `posted` | `posted`, `forecasted`, `closed`, or `archived`. |
| `opportunityIds` | Array of strings | `[]` | Opportunity numbers or numeric IDs to fetch directly (`getGrantDetails` mode). |
| `maxItems` | Integer | `50` | Maximum number of opportunities to return (1–1000). |

#### Example: search education grants

```json
{
  "mode": "searchGrants",
  "keyword": "education",
  "oppStatus": "posted",
  "maxItems": 50
}
```

#### Example: health-research grants in a category

```json
{
  "mode": "searchGrants",
  "keyword": "clinical research",
  "category": "HL",
  "maxItems": 100
}
```

#### Example: look up specific opportunities

```json
{
  "mode": "getGrantDetails",
  "opportunityIds": ["12345678", "87654321"]
}
```

### Use cases

- **Grant seeking** — monitor new postings in a field or agency relevant to your organization.
- **Nonprofit development research** — build a shortlist of open opportunities by category and deadline.
- **Funding landscape analysis** — compare award ceilings and program funding across agencies.
- **Consultant pipeline building** — track forecasted opportunities before they open for applications.
- **Compliance tracking** — pull eligibility text and deadlines for opportunities you're already pursuing.

### FAQ

**Do I need an account or key to use this?**
No, Grants.gov's listings are publicly accessible with no registration.

**How many opportunities can I retrieve per run?**
Up to 1,000, set by `maxItems`.

**What's the difference between `posted` and `forecasted`?**
`posted` opportunities are currently accepting applications; `forecasted` ones are expected to open in the future but aren't accepting applications yet.

**What is a CFDA number?**
A Catalog of Federal Domestic Assistance identifier for a federal assistance program — now officially called an Assistance Listings number. The actor returns it under `cfdaNumbers`.

**Can I filter by more than one agency at once?**
Not in a single run; `agency` takes one name or code at a time. Run it again per agency, or search broadly by keyword and filter the results afterward.

**Why do some records have no `awardCeiling` or `cfdaNumbers`?**
Not every listing publishes funding amounts or Assistance Listings numbers; the actor leaves those fields out rather than returning an empty value.

**How current is the data?**
Agencies update Grants.gov listings on their own schedule, typically daily; rerun the search periodically to catch new or changed opportunities.

**Is this affiliated with Grants.gov or the US government?**
No. This actor is an independent tool that reads Grants.gov's public listings and is not affiliated with, endorsed by, or sponsored by Grants.gov or any federal agency.

# Actor input Schema

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

searchGrants: search opportunities by keyword/filters; getGrantDetails: fetch a specific grant by opportunity ID.

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

Free-text keyword to search for grant opportunities.

## `category` (type: `string`):

Filter by opportunity category. Leave blank to search all categories.

## `agency` (type: `string`):

Filter by agency name or code, e.g. 'NASA', 'NIH', 'HHS', 'USDA'.

## `oppStatus` (type: `string`):

Filter by opportunity status. Defaults to posted.

## `opportunityIds` (type: `array`):

List of Grants.gov opportunity numbers (e.g. 'PD-24-1340') or numeric IDs to fetch details for. Opportunity numbers are preferred as they support exact lookup.

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

Maximum number of grant opportunities to return.

## Actor input object example

```json
{
  "mode": "searchGrants",
  "keyword": "education",
  "category": "",
  "oppStatus": "posted",
  "opportunityIds": [],
  "maxItems": 20
}
```

# Actor output Schema

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

Dataset containing all scraped federal grant opportunities.

# 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 = {
    "mode": "searchGrants",
    "keyword": "education",
    "category": "",
    "oppStatus": "posted",
    "opportunityIds": [],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/grants-gov-opportunity-search-and-award-lookup").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 = {
    "mode": "searchGrants",
    "keyword": "education",
    "category": "",
    "oppStatus": "posted",
    "opportunityIds": [],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/grants-gov-opportunity-search-and-award-lookup").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 '{
  "mode": "searchGrants",
  "keyword": "education",
  "category": "",
  "oppStatus": "posted",
  "opportunityIds": [],
  "maxItems": 20
}' |
apify call nimbryxo-studio/grants-gov-opportunity-search-and-award-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/grants-gov-opportunity-search-and-award-lookup"
        }
    }
}
```

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/HUb1np0nAnfg9kj8c/builds/yULICYEB7KQ2CK7Uo/openapi.json
