# Grants.gov Federal Funding & Grant Opportunities Scraper (`apex-b2b-data/grants-gov-federal-funding-opportunities`) Actor

Extract active, forecasted, and closed federal grants and funding opportunities from Grants.gov. Filter by keyword, agency, status, and category. Includes agency contact officers, direct emails, phone numbers, award ceilings/floors, CFDA assistance listings, and B2B opportunity scores.

- **URL**: https://apify.com/apex-b2b-data/grants-gov-federal-funding-opportunities.md
- **Developed by:** [George Barnes](https://apify.com/apex-b2b-data) (community)
- **Categories:** Lead generation, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.05 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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 Federal Funding & Grant Opportunities Scraper ($1.50 / 1K)

Extract live, active, and forecasted US federal grant opportunities across all 26 grant-making federal agencies (HHS/NIH, NSF, DOD, DOE, USDA, ED, EPA, NASA, and more). Enriched with direct agency contact officer names, verified emails, direct phone numbers, award ceilings and floors, Assistance Listing (CFDA) numbers, eligibility categories, and automated B2B opportunity scoring (`0–100`).

***

### Why Choose This Actor?

Unlike brittle browser-based web scrapers that break whenever government web portals update their front-end UI, this Actor interfaces directly with official Grants.gov REST endpoints (`POST /v1/api/search2` and `POST /v1/api/fetchOpportunity`). It operates with **zero browser overhead**, **zero residential proxy costs**, and **100% data reliability**.

#### Competitive Feature Comparison

| Feature | Generic Grants Scrapers | Manual Grants.gov Search | **This Actor (Superset)** |
| :--- | :---: | :---: | :---: |
| **Pricing Model** | $30–$60 / month subscription | Free (Hours of manual work) | **$1.50 per 1,000 records (Pay-Per-Event)** |
| **Direct Contact Officers** | ❌ None | ⚠️ Buried in PDF synopsis | ✅ **Extracted & parsed (Name, Email, Phone)** |
| **E.164 Phone Normalization** | ❌ Raw strings | ❌ None | ✅ **Standardized `(XXX) XXX-XXXX` & `+1...`** |
| **Award Ceiling & Floor ($)** | ⚠️ Unparsed text | ⚠️ Manual reading | ✅ **Clean numeric floats for filtering** |
| **Assistance Listings (CFDA)** | ❌ Missing | ⚠️ Single code | ✅ **Complete CFDA list + Program titles** |
| **Eligibility Classifications** | ❌ Missing | ⚠️ Dense legal text | ✅ **Structured tags (e.g. Small Business, 501c3)** |
| **B2B Opportunity Scoring** | ❌ None | ❌ None | ✅ **0–100 composite grant readiness score** |
| **Incremental Monitor Mode** | ❌ None | ❌ None | ✅ **Stateful KV store deduplication** |
| **Clay / n8n / Make Integration** | ⚠️ Complex webhooks | ❌ None | ✅ **1-Click Sync REST API endpoint** |

***

### Transparent Pay-Per-Event Pricing

| Volume | Cost (USD) | Effective Rate | Best For |
| :--- | :--- | :--- | :--- |
| **20 Records (Trial Run)** | **$0.03** | $0.0015 / record | Instant zero-config pipeline verification |
| **250 Records (Weekly Digest)** | **$0.37** | $0.0015 / record | Tracking newly posted agency funding programs |
| **1,000 Records (Bulk Portfolio)** | **$1.50** | $0.0015 / record | Full multi-agency federal funding pipeline sync |
| **5,000 Records (Enterprise Feed)** | **$7.50** | $0.0015 / record | Nation-wide grant database building & intelligence |

***

### Ready-to-Use JSON Playbooks

#### Playbook 1: 1-Click Zero-Config Trial Run (All Posted Grants)

Extract the latest 20 active federal grants across all agencies with full contact details and award amounts.

```json
{
  "oppStatuses": "posted",
  "maxItems": 20,
  "fetchDetails": true
}
```

#### Playbook 2: Biomedical & Healthcare Funding (NIH & HHS Focus)

Target high-ceiling medical, pharmaceutical, and healthcare opportunities posted by NIH, CDC, and HHS.

```json
{
  "keyword": "health",
  "oppStatuses": "posted",
  "fundingCategories": ["HL"],
  "agencies": "HHS",
  "fetchDetails": true,
  "maxItems": 50
}
```

#### Playbook 3: Artificial Intelligence, Defense & Deep Tech (NSF & DOD)

Discover scientific research grants and defense technology funding solicitations.

```json
{
  "keyword": "artificial intelligence",
  "oppStatuses": "posted|forecasted",
  "fundingCategories": ["ST"],
  "agencies": "NSF|DOD",
  "fetchDetails": true,
  "maxItems": 50
}
```

#### Playbook 4: Small Business Innovation (SBIR/STTR Commercialization)

Identify commercial grant programs eligible for for-profit corporations and small businesses.

```json
{
  "keyword": "small business",
  "oppStatuses": "posted",
  "fundingCategories": ["BC", "ST"],
  "fetchDetails": true,
  "maxItems": 30
}
```

#### Playbook 5: Scheduled Daily Feed with Monitor Mode

Run every morning on Apify schedule; only new grants posted since the previous execution are delivered.

```json
{
  "oppStatuses": "posted",
  "monitorMode": true,
  "monitorStoreName": "grants-daily-seen",
  "maxItems": 100,
  "fetchDetails": true
}
```

***

### Output Dataset Schema

Every output record delivers clean, structured JSON containing all 14 dataset overview transformation columns plus rich superset intelligence:

| Field | Type | Description |
| :--- | :--- | :--- |
| `opportunity_id` | `string` | Unique Grants.gov internal opportunity identifier |
| `opportunity_number` | `string` | Official solicitation number (e.g. `PAR-25-274`) |
| `opportunity_title` | `string` | Official grant funding opportunity title |
| `agency_name` | `string` | Sponsoring federal agency or department name |
| `agency_contact_name` | `string` | Designated grant administrator or program officer |
| `agency_contact_email` | `string` | Verified email address of the agency contact officer |
| `agency_contact_phone` | `string` | Direct telephone number formatted as `(XXX) XXX-XXXX` |
| `award_ceiling` | `number` | Maximum funding dollar amount per award (or `null`) |
| `award_floor` | `number` | Minimum funding dollar amount per award (or `null`) |
| `post_date` | `string` | Date published in ISO format (`YYYY-MM-DD`) |
| `close_date` | `string` | Application deadline in ISO format (`YYYY-MM-DD`) |
| `cfda_numbers` | `array` | List of Assistance Listing / CFDA numbers (e.g. `["93.213"]`) |
| `opportunity_score` | `number` | Composite B2B grant readiness score (`0–100`) |
| `extracted_at` | `string` | UTC ISO extraction timestamp |

#### Sample Output Record

```json
{
  "opportunity_id": "357305",
  "opportunity_number": "PAR-25-274",
  "opportunity_title": "Feasibility Clinical Trials of Mind and Body Interventions for NCCIH High Priority Research Topics (R34 Clinical Trial Required)",
  "agency_name": "National Institutes of Health",
  "agency_contact_name": "National Institutes of Health",
  "agency_contact_email": "grantsinfo@nih.gov",
  "agency_contact_phone": "(301) 402-2541",
  "agency_contact_phone_e164": "+13014022541",
  "award_ceiling": 750000.0,
  "award_floor": 250000.0,
  "estimated_total_funding": null,
  "post_date": "2024-11-21",
  "close_date": "2026-11-17",
  "cfda_numbers": [
    "93.213"
  ],
  "cfda_details": [
    {
      "cfda_number": "93.213",
      "program_title": "Research and Training in Complementary and Integrative Health"
    }
  ],
  "opportunity_score": 90,
  "opportunity_score_reasons": [
    "Baseline grant score (+50)",
    "Grant is active and currently open for applications (+10)",
    "Direct agency contact email verified (+15)",
    "Direct agency contact phone available (+10)",
    "Substantial grant ceiling ($750,000) (+10)",
    "Assistance Listing (CFDA) cataloged: 93.213 (+5)"
  ],
  "lead_segments": [
    "ACTIVE_POSTED",
    "DIRECT_OFFICER_CONTACT",
    "MID_TIER_GRANT",
    "SMALL_BUSINESS_ELIGIBLE",
    "HEALTH_RESEARCH"
  ],
  "eligible_applicant_types": [
    "Small businesses",
    "Nonprofits having a 501(c)(3) status with the IRS",
    "Public and State controlled institutions of higher education",
    "State governments"
  ],
  "funding_instruments": [
    "Grant"
  ],
  "funding_categories": [
    "Health"
  ],
  "doc_type": "synopsis",
  "opp_status": "posted",
  "grant_url": "https://www.grants.gov/search-results-detail/357305",
  "description_snippet": "The goal of this notice of funding opportunity (NOFO) is to support feasibility trials of complementary and integrative health approaches with physical and/or psychological therapeutic inputs...",
  "extracted_at": "2026-11-04T00:22:26Z"
}
```

***

### Integration Snippets

#### 1. Clay / n8n / Make / Retool (Apify REST API)

Trigger the scraper synchronously and immediately receive the JSON array of enriched grants in a single HTTP request:

```bash
curl -X POST "https://api.apify.com/v2/acts/<YOUR-USERNAME>~grants-gov-federal-funding-opportunities/run-sync-get-dataset-items?token=<YOUR-APIFY-TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
    "keyword": "renewable energy",
    "oppStatuses": "posted",
    "maxItems": 25
  }'
```

#### 2. Python SDK

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR-APIFY-TOKEN>")

run = client.actor("<YOUR-USERNAME>/grants-gov-federal-funding-opportunities").call(
    run_input={
        "keyword": "cybersecurity",
        "oppStatuses": "posted",
        "fundingCategories": ["ST"],
        "maxItems": 50,
        "fetchDetails": True,
    }
)

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(f"[{item['opportunity_score']}] {item['opportunity_title']} | {item['agency_contact_email']} | Ceiling: ${item.get('award_ceiling')}")
```

#### 3. Model Context Protocol (MCP) Server Configuration

Connect this Actor to Claude Desktop or OpenAI agents using the official Apify MCP Server:

```json
{
  "mcpServers": {
    "apify-grants-scraper": {
      "command": "npx",
      "args": [
        "-y",
        "@apify/mcp-server-apify",
        "--token",
        "<YOUR-APIFY-TOKEN>",
        "--actors",
        "<YOUR-USERNAME>/grants-gov-federal-funding-opportunities"
      ]
    }
  }
}
```

***

### License & Data Attribution

Data is sourced in real-time from the official Grants.gov REST API maintained by the U.S. Department of Health and Human Services (HHS). Public domain US government information.

# Actor input Schema

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

Keyword or phrase to search across opportunity titles, numbers, and descriptions (e.g. 'artificial intelligence', 'health', 'renewable energy'). Leave blank to search all opportunities.

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

Funding opportunity status filter. Select 'posted' for currently open grants, 'forecasted' for upcoming programs, or 'posted|forecasted' for both.

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

Filter by Grants.gov funding activity category codes (e.g. HL=Health, ST=Science and Technology, ED=Education, ENV=Environment, AG=Agriculture, BC=Business and Commerce).

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

Filter by grant type: G=Grant, CA=Cooperative Agreement, PC=Procurement Contract, O=Other.

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

Filter by federal funding agency code (e.g. 'HHS', 'NIH', 'NSF', 'DOD', 'DOE', 'USDA', 'ED', 'EPA', 'NASA').

## `fetchDetails` (type: `boolean`):

Deep-crawl /fetchOpportunity for each opportunity to extract direct agency contact officer name, email, phone, award ceiling/floor, and applicant eligibility.

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

Maximum number of opportunities to extract and enrich (1 - 500).

## `monitorMode` (type: `boolean`):

When enabled, remembers previously scraped opportunity IDs in a persistent Key-Value store and only outputs newly discovered grants on subsequent runs.

## `monitorStoreName` (type: `string`):

Name of the Apify Key-Value store used to track seen opportunity IDs across scheduled runs.

## Actor input object example

```json
{
  "keyword": "",
  "oppStatuses": "posted",
  "fundingCategories": [],
  "fundingInstruments": [],
  "agencies": "",
  "fetchDetails": true,
  "maxItems": 10,
  "monitorMode": false,
  "monitorStoreName": "grants-seen-opportunities"
}
```

# Actor output Schema

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

Structured JSON records produced by Grants.gov Federal Funding & Grant Opportunities Scraper in the default dataset.

# 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 = {
    "oppStatuses": "posted",
    "maxItems": 10,
    "monitorStoreName": "grants-seen-opportunities"
};

// Run the Actor and wait for it to finish
const run = await client.actor("apex-b2b-data/grants-gov-federal-funding-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 = {
    "oppStatuses": "posted",
    "maxItems": 10,
    "monitorStoreName": "grants-seen-opportunities",
}

# Run the Actor and wait for it to finish
run = client.actor("apex-b2b-data/grants-gov-federal-funding-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 '{
  "oppStatuses": "posted",
  "maxItems": 10,
  "monitorStoreName": "grants-seen-opportunities"
}' |
apify call apex-b2b-data/grants-gov-federal-funding-opportunities --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apex-b2b-data/grants-gov-federal-funding-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/KuccFTUya0EM18Xuq/builds/QcIjnc21hGbO1dyYP/openapi.json
