# Grants.gov Funding Opportunity Scraper (`jonoworks/grants-gov-opportunities`) Actor

Search and extract federal grant opportunities from Grants.gov with full synopsis, eligibility, award amounts, deadlines, CFDA numbers, agency contacts, and attachment download links. Clean JSON, no login, pay per opportunity.

- **URL**: https://apify.com/jonoworks/grants-gov-opportunities.md
- **Developed by:** [Donavon Woolley](https://apify.com/jonoworks) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 grant opportunities

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 Funding Opportunity Scraper

Search and extract every federal grant opportunity on **Grants.gov** as clean, structured JSON. One run gives you the full synopsis, eligibility rules, award ceiling and floor, number of awards, deadlines, CFDA (assistance listing) numbers, agency contact, and direct download links for the NOFO attachments. No login, no API key, no captchas.

### What does Grants.gov Funding Opportunity Scraper do?

Grants.gov lists thousands of open, forecasted, closed, and archived federal funding opportunities from 26 grant-making agencies. The public site is built for browsing one opportunity at a time. This Actor turns it into a dataset you can filter, monitor, and load into your own tools.

For each opportunity it returns:

- Opportunity number, title, status (forecasted, posted, closed, archived), document type
- Agency code, agency name, top-level department
- Posted date, close date, archive date, last updated
- CFDA / assistance listing numbers and program titles
- Funding instruments (grant, cooperative agreement, other), funding categories, applicant types
- Full eligibility text
- Award ceiling, award floor, estimated total funding, number of awards, cost-sharing flag
- Plain-text synopsis (optionally raw HTML too)
- Agency contact name, email, and phone
- Every attachment with file name, size, MIME type, and a direct download URL
- Link back to the opportunity page on Grants.gov

### Why extract Grants.gov data?

- **Grant writers and consultants**: pull every opportunity in your niche each morning and stop refreshing the site.
- **Universities and research offices**: feed opportunities into an internal funding database or Slack channel.
- **Nonprofits and local governments**: filter by eligibility code so you only see what you can apply for.
- **SaaS and data products**: build grant-matching, alerting, or analytics on top of clean JSON instead of HTML.
- **AI agents**: call this Actor through the Apify MCP server and let an agent answer "what federal grants close this month for rural broadband?"

### Input

| Field | Type | Description |
|---|---|---|
| `keyword` | string | Free text, same as the search box on Grants.gov. Leave empty to list everything that matches the other filters. |
| `oppStatuses` | array | Any of `forecasted`, `posted`, `closed`, `archived`. Default `["posted"]`. |
| `agencies` | array | Agency codes such as `HHS`, `USDA-NIFA`, `DOC-EDA`, `DOE`, `NSF`. |
| `fundingCategories` | array | Category codes such as `AG`, `ED`, `EN`, `HL`, `ST`, `CD`, `IS`. |
| `eligibilities` | array | Eligibility codes such as `00` (state governments), `01` (county), `02` (city/township), `06` (public higher ed), `12` (501(c)(3) nonprofits), `23` (small businesses). |
| `fundingInstruments` | array | `G` grant, `CA` cooperative agreement, `PC` procurement contract, `O` other. |
| `cfda` | string | Assistance listing number, e.g. `11.029`. |
| `postedAfter` | date | Skip opportunities posted before this ISO date. |
| `closesAfter` | date | Skip opportunities that closed before this ISO date. |
| `maxResults` | integer | Stop after this many opportunities (default 100). |
| `includeDetails` | boolean | Fetch the full synopsis for each opportunity (default true). |
| `includeDescriptionHtml` | boolean | Also include the raw HTML synopsis. |

Example input:

```json
{
  "keyword": "broadband",
  "oppStatuses": ["posted", "forecasted"],
  "eligibilities": ["01", "02"],
  "closesAfter": "2026-10-01",
  "maxResults": 200
}
```

### Output example

```json
{
  "opportunityId": "363958",
  "opportunityNumber": "NOAA-NOS-NCCOS-2026-32934",
  "title": "Advancing coastal flood protection through public-private partnerships, innovative insurance products, and improved sediment management.",
  "agencyCode": "DOC-DOCNOAAERA",
  "agencyName": "DOC NOAA - ERA Production",
  "status": "posted",
  "docType": "synopsis",
  "postedDate": "2026-09-25",
  "closeDate": "2027-02-12",
  "cfdaNumbers": [
    "11.478"
  ],
  "url": "https://www.grants.gov/search-results-detail/363958",
  "scrapedAt": "2026-09-29T15:30:40.701Z",
  "topAgencyName": "Department of Commerce",
  "topAgencyCode": "DOC",
  "category": "Discretionary",
  "archiveDate": "2027-03-14",
  "lastUpdated": "Sep 25, 2026 11:52:47 AM EDT",
  "programTitles": [
    "Center for Sponsored Coastal Ocean Research Coastal Ocean Program"
  ],
  "fundingInstruments": [
    "Cooperative Agreement"
  ],
  "fundingCategories": [
    "Environment",
    "Natural Resources",
    "Science and Technology and other Research and Development"
  ],
  "applicantTypes": [
    "Others (see text field entitled \"Additional Information on Eligibility\" for clarification)"
  ],
  "eligibilityDescription": "Eligible applicants for Federal financial assistance in this competition are U.S. institutions of higher\r\neducation, non-profits, state and local governments, tribal government entities, U.S. Territor ...",
  "awardCeiling": 2000000,
  "awardFloor": 500000,
  "estimatedTotalFunding": 2000000,
  "numberOfAwards": 1,
  "costSharingRequired": null,
  "description": "The purpose of this document is to advise the public that NOAA/NOS/National Centers for Coastal Ocean Science (NCCOS)/Competitive Research Program (CRP) [formerly Center for Sponsored Coastal Ocean Research (CSCOR)/Coastal Ocean Program (COP)], is soliciting proposals for projects that will support  ...",
  "contact": {
    "name": "Nicola R Bell Grantor",
    "email": "Trevor.Meckley@noaa.gov",
    "phone": "301-628-1328",
    "description": "Technical Program Information: Trevor Meckley, Program Manager, Trevor.Meckley@n"
  },
  "attachments": [
    {
      "id": 355097,
      "fileName": "NOAA-NOS-NCCOS-2026-32934.pdf",
      "description": "Full Announcement",
      "mimeType": "application/pdf",
      "sizeBytes": 166608,
      "folder": "Full Announcement",
      "downloadUrl": "https://www.grants.gov/grantsws/rest/opportunity/att/download/355097"
    }
  ],
  "hasApplicationPackage": true
}
```

### How much does it cost?

This Actor uses **pay-per-event** pricing: you pay a small fixed amount per opportunity returned, and nothing else. There is no subscription and no charge for runs that return zero results.

- **$0.01 per opportunity** (with or without full details)

A typical daily monitor that returns 150 open opportunities in your field costs about $1.50. A one-time pull of every currently posted opportunity (roughly 900 to 1,500 records) costs $9 to $15.

### Legal and fair use

Grants.gov is a US federal government website and the opportunity data is public information. This Actor uses the same public search and detail endpoints the website itself uses, sends a small number of requests per second, and does not bypass any access control. Agency contact details are official government points of contact published for the purpose of answering applicant questions.

### Integrations and API

- **Schedule** the Actor to run every morning and receive new opportunities by email, Slack, or webhook.
- **Export** the dataset as JSON, CSV, Excel, or XML from the Apify Console or API.
- **Apify API**: start a run and read results from any language. See the API tab.
- **MCP**: this Actor is callable as a tool from Claude, ChatGPT, Cursor, and any MCP client through the Apify MCP server.
- **Integrations**: Google Sheets, Airtable, Zapier, Make, n8n, LangChain, and more through Apify integrations.

### FAQ

**Does it include forecasted opportunities?** Yes, set `oppStatuses` to include `forecasted`.

**Can I download the NOFO PDFs?** Each opportunity includes an `attachments` array with a direct `downloadUrl` for every file.

**How do I only get opportunities I am eligible for?** Use the `eligibilities` filter with your applicant type code, and read the `eligibilityDescription` field, which often narrows eligibility further than the code.

**How fresh is the data?** Every run fetches live from Grants.gov. Nothing is cached.

**What if I need more than 10,000 results?** Split the run by agency or status, or contact the developer through the Issues tab.

**Something looks wrong.** Open an issue on the Actor's Issues tab. Reports are usually answered within a business day.

# Actor input Schema

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

Free-text search, same as the Grants.gov search box. Leave empty to list every opportunity matching the other filters.

## `oppStatuses` (type: `array`):

Which opportunity statuses to include.

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

Optional Grants.gov agency codes, e.g. HHS, USDA-NIFA, DOC-EDA, DOE. Sub-agency codes are accepted.

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

Optional category codes, e.g. AG (Agriculture), ED (Education), EN (Energy), HL (Health), ST (Science & Technology), CD (Community Development), IS (Information & Statistics).

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

Optional applicant eligibility codes, e.g. 00 (State governments), 01 (County), 02 (City/township), 06 (Public higher ed), 12 (Nonprofits with 501c3), 22 (For-profit other than small business), 23 (Small businesses), 25 (Others).

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

Optional: G (Grant), CA (Cooperative Agreement), PC (Procurement Contract), O (Other).

## `cfda` (type: `string`):

Optional, e.g. 11.029 or 93.213.

## `postedAfter` (type: `string`):

Optional ISO date (YYYY-MM-DD). Opportunities opened before this date are skipped.

## `closesAfter` (type: `string`):

Optional ISO date (YYYY-MM-DD). Skip opportunities whose close date is before this date. Useful to drop deadlines that already passed.

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

Stop after this many opportunities. Each opportunity is one charged result.

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

Fetch the full synopsis for every opportunity (description, eligibility text, award ceiling/floor, number of awards, cost sharing, contact, attachments). Turn off for a faster list-only run with the same per-result price.

## `includeDescriptionHtml` (type: `boolean`):

Also include the raw HTML synopsis in addition to the plain-text version.

## Actor input object example

```json
{
  "keyword": "broadband",
  "oppStatuses": [
    "posted"
  ],
  "maxResults": 100,
  "includeDetails": true,
  "includeDescriptionHtml": false
}
```

# Actor output Schema

## `opportunities` (type: `string`):

One record per Grants.gov funding opportunity: number, title, agency, status, synopsis, eligibility, award amounts, dates, CFDA numbers, contacts and attachment links.

# 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": "broadband",
    "oppStatuses": [
        "posted"
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("jonoworks/grants-gov-opportunities").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": "broadband",
    "oppStatuses": ["posted"],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("jonoworks/grants-gov-opportunities").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": "broadband",
  "oppStatuses": [
    "posted"
  ],
  "maxResults": 100
}' |
apify call jonoworks/grants-gov-opportunities --silent --output-dataset

```

## MCP server setup

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

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/OxxtsgwNPczpmxrCv/builds/GjkVDZYvxDiLfbesz/openapi.json
