# US Federal Grants (Grants.gov opportunities) (`darikami/us-federal-grants`) Actor

Federal funding opportunities from Grants.gov: title, agency, open and close dates, estimated funding, award ceiling, applicant types, CFDA programs, description, link. Forecasted, posted, closed and archived. Search by words, agency, program, category and dates, or look up opportunity numbers.

- **URL**: https://apify.com/darikami/us-federal-grants.md
- **Developed by:** [DARIKAMI GmbH](https://apify.com/darikami) (community)
- **Categories:** 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

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

## US Federal Grants (Grants.gov opportunities)

**This product uses the Grants.gov API but is not endorsed or certified by the U.S. Department of Health and Human Services.**

**Federal funding opportunities from Grants.gov, the US government's grant portal: forecasted, posted, closed and archived (884 posted and 588 forecasted on 2026-11-06).**
Each item has the number, the title, the agency, the status, the open and closing dates, the estimated funding, the award ceiling and floor, the applicant types, the CFDA programs, the description and the link.
**USD 0.003 per opportunity (USD 3 per 1,000).** Search by words, agency, program, category and dates, or look up opportunity numbers. You pay only for the opportunities delivered.

| Number | Title | Agency | Opened | Closing | Award ceiling (USD) |
|---|---|---|---|---|---|
| HRSA-27-072 | Women's Initiative for Screening and Health (WISH) | Health Resources and Services Administration | 2026-11-06 | 2027-01-08 | 1,000,000 |
| DFOP0019913 | Strengthening Moldova's Energy and Trade Security | Bureau of European and Eurasian Affairs | 2026-11-06 | 2026-12-06 | 40,000,000 |
| 27-500 | Major Research Instrumentation Program: (MRI) | U.S. National Science Foundation | 2026-11-06 | 2027-01-29 | 4,000,000 |
| USDA-APHIS-10025-VSSP0000-27-0002 | National Animal Disease Preparedness and Response Program | Animal and Plant Health Inspection Service | 2026-11-05 | 2027-01-07 | 2,000,000 |
| USDA-APHIS-10025-VSSP0000-27-0001 | National Animal Disease Preparedness and Response Program | Animal and Plant Health Inspection Service | 2026-11-05 | 2027-01-07 | 4,000,000 |

The rows come from a real cloud run of 2026-11-06: posted opportunities opened from 2026-11-01, at most 5. The full item is under Output.

### Who uses it

- **Grant writers and consultants:** the new opportunities of the week by agency, category or CFDA program, with the ceiling, the applicant types and the closing date.
- **Universities, nonprofits and small businesses:** a daily list of the opportunities that fit your field.
- **Research and market analysis:** the opportunities of an agency or program over the years (closed and archived).

### What it does not do

- Opportunities only. No awards, no applications, no award recipients.
- The agency contact (name, e-mail, telephone) is not returned. The notice on Grants.gov names it.
- No attachments and no application packages. The item gives the link to the opportunity on Grants.gov.
- With `details` off, the item holds the search fields only: title, agency, dates, CFDA numbers.
- The API answers one opportunity per request: with details, a run takes about a second per opportunity.

### Input

```json
{
  "query": "health",
  "statuses": ["posted"],
  "agencies": ["HHS-HRSA"],
  "openedFrom": "2026-10-01",
  "details": true,
  "maxResults": 200
}
```

All fields are optional. An empty input returns the first 200 forecasted and posted opportunities, newest first.

| Field | What it does |
|---|---|
| `query` | Keywords for the Grants.gov search. |
| `statuses` | `forecasted`, `posted`, `closed`, `archived`. A lookup by number asks for every status unless you set some. |
| `agencies` | Grants.gov agency codes, for example `HHS-NIH11`, `HHS-HRSA`, `NSF`. |
| `fundingCategories` | Category codes, for example `HL` (health), `ED` (education), `EN` (energy). |
| `fundingInstruments` | `G` (grant), `CA` (cooperative agreement), `PC` (procurement contract), `O` (other). |
| `cfdaNumbers` | Assistance listing numbers, for example `93.110`. |
| `openedFrom`, `openedTo` | The open date, both days included (YYYY-MM-DD). The search reads newest first and stops at the first older one. |
| `closingFrom`, `closingTo` | The closing date. Forecasts have none and drop out. |
| `opportunityNumbers` | Look up these opportunities, for example `HRSA-27-072`. A number not found comes back as a free `not-found` item. |
| `details` | True (the default): fetch each opportunity for the description, amounts and applicant types. False: the search fields only, 250 per request. |
| `maxResults` | The run stops after this number of opportunities. Default 200. |

An opportunity must pass every filter that you set.

### Output

One item per opportunity. With `details` on:

```json
{
  "id": "US-GRANTS-363546",
  "opportunityId": "363546",
  "opportunityNumber": "HRSA-27-072",
  "title": "Women's Initiative for Screening and Health (WISH)",
  "agencyCode": "HHS-HRSA",
  "agencyName": "Health Resources and Services Administration",
  "status": "posted",
  "documentType": "synopsis",
  "openDate": "2026-11-06",
  "closeDate": "2027-01-08",
  "cfdaNumbers": ["93.110"],
  "opportunityUrl": "https://www.grants.gov/search-results-detail/363546",
  "category": "Discretionary",
  "postingDate": "2026-11-06",
  "responseDate": "2027-01-08",
  "archiveDate": "2027-04-30",
  "estimatedFunding": 1000000,
  "awardCeiling": 1000000,
  "awardFloor": 0,
  "numberOfAwards": 1,
  "applicantTypes": ["County governments", "Small businesses", "State governments"],
  "fundingInstruments": ["Cooperative Agreement"],
  "fundingCategories": ["Health"],
  "programs": [{ "cfdaNumber": "93.110", "title": "Special Projects of Regional and National Significance" }],
  "description": "The purpose of Women's Initiative for Screening and Health (WISH) is to improve women's health across the lifespan ...",
  "personalDataRemoved": false
}
```

- The `applicantTypes` list is shortened here. `description` is the text of the synopsis (or of the forecast), without HTML.
- A forecast also has `estimatedSynopsisPostingDate`, `estimatedAwardDate` and `fiscalYear`.
- `documentType`: `synopsis` or `forecast`.

### Pricing (pay per event)

| Event | Price | When |
|---|---|---|
| `opportunity` | **USD 0.003** | one opportunity that matched your filters or numbers, pushed to the dataset |

Free: error items, `not-found` items and the note "nothing matched".
1,000 opportunities cost USD 3.
You pay no more than the maximum charge that you set for a run.

### Personal data

- The agency contact of an opportunity (name, e-mail, telephone, address) is not read.
- A description that holds an e-mail address, a telephone number or a "Contact:" line is not returned: `description` is null and `personalDataRemoved` is true. About 1 opportunity in 6 on 2026-11-06. The text stays at `opportunityUrl`, and the item costs the same.
- The test works on patterns. A name on a line of its own can remain.

### Data source and terms

- **Source:** the Grants.gov API, `https://api.grants.gov/v1/api/search2` and `fetchOpportunity`. The API guide (`https://www.grants.gov/api/api-guide`, read 2026-11-06) says: "Authentication and authorization are not required for the following APIs: Endpoint : search2 Endpoint : fetchOpportunity".
- **Terms:** the Grants.gov API Terms of Service (`https://www.grants.gov/api/terms-conditions`, read 2026-11-07): "You may use the Grants.gov API to search, display, analyze, retrieve, view and otherwise "get" information from grants data." Every item carries the notice these terms ask for.
- The actor sends one request a second. It is provided without warranty. The opportunity at `opportunityUrl` is the official text.

### Reliability

A run fails with exit code 1 and an `ERROR` line in the log in these cases:

- a request fails after the retries, or the answer is not JSON;
- the API answers with an error code.

The opportunities found until then stay in the dataset.
The run summary is in the default key-value store under `SUMMARY`, the counts under `STATS`.

**More official-data actors by darikami:** [US federal contract opportunities (SAM.gov)](https://apify.com/darikami/us-federal-contract-opportunities) · [US business entities](https://apify.com/darikami/us-business-entities) · [SEC EDGAR filings](https://apify.com/darikami/sec-edgar-filings) · [US motor carriers](https://apify.com/darikami/us-motor-carriers).
In an AI agent: ask the Apify MCP server (`mcp.apify.com`) for `darikami/us-federal-grants`.

# Actor input Schema

## `query` (type: `string`):

Keywords for the Grants.gov search. Empty: every opportunity of the statuses.

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

Empty: forecasted and posted - or every status for a lookup by number.

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

Grants.gov agency codes, for example HHS-NIH11, HHS-HRSA, NSF, DOS-EUR.

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

Grants.gov category codes, for example HL (health), ED (education), EN (energy), ST (science and technology).

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

G (grant), CA (cooperative agreement), PC (procurement contract), O (other).

## `cfdaNumbers` (type: `array`):

For example 93.110.

## `openedFrom` (type: `string`):

First open date (YYYY-MM-DD), included. The search reads newest first and stops at the first older opportunity.

## `openedTo` (type: `string`):

Last open date (YYYY-MM-DD), included.

## `closingFrom` (type: `string`):

First closing date (YYYY-MM-DD), included. Forecasts have no closing date and drop out.

## `closingTo` (type: `string`):

Last closing date (YYYY-MM-DD), included.

## `opportunityNumbers` (type: `array`):

Look up these opportunities, for example HRSA-27-072. A number not found comes back as a free not-found item.

## `details` (type: `boolean`):

True: one more request a second per opportunity for the description, amounts, applicant types and dates. False: the search fields only (title, agency, dates, CFDA numbers), 250 per request.

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

The run stops after this number of opportunities. With details, 200 take about 4 minutes.

## Actor input object example

```json
{
  "query": "health",
  "details": true,
  "maxResults": 200
}
```

# Actor output Schema

## `results` (type: `string`):

One item per opportunity: number, title, agency, status, dates, amounts, applicant types, programs, description, link.

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

SUMMARY record: pushed, charged, attempts, errors, stoppedByBudget, ok, message.

## `stats` (type: `string`):

STATS record: requests, hits read, hits dropped by the date filters, details fetched, descriptions changed by the privacy filter, numbers not found.

# 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 = {
    "query": "health"
};

// Run the Actor and wait for it to finish
const run = await client.actor("darikami/us-federal-grants").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 = { "query": "health" }

# Run the Actor and wait for it to finish
run = client.actor("darikami/us-federal-grants").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 '{
  "query": "health"
}' |
apify call darikami/us-federal-grants --silent --output-dataset

```

## MCP server setup

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

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/8ZA9uc2IV4zW1LQVS/builds/xD19wfEDpytgRullF/openapi.json
