Grants.gov Scraper – Federal & Nonprofit Grants Finder

Search open US federal grant opportunities on the official Grants.gov API by keyword, agency, eligibility, and deadline. No API key.

Hosted MCP Server

npx add-mcp 'https://mcp.apify.com?tools=dedicated_crest/grants-gov-opportunity-finder'

Installs into Claude Code, Codex, Cursor and more

Documentation

Grants.gov Scraper – Federal Grants & Nonprofit Grants Finder (dedicated_crest/grants-gov-opportunity-finder) Actor

Grants.gov scraper & grant finder for federal and nonprofit grants: search US grant opportunities by keyword, agency, CFDA/ALN and eligibility (nonprofits, universities, small business). Deadlines, award ceiling, total funding, contacts. New & closing-soon alerts. $3/1,000.

Pricing

$3.00 / 1,000 grants

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 section below.

Each client library has reference documentation the quickstart does not restate: JavaScript/TypeScript (npm install apify-client) and Python (pip install apify-client).

README

Grants.gov Scraper – Federal Grants & Nonprofit Grants Finder

Search open US federal grant opportunities, including nonprofit grants, on the official Grants.gov API. Give it a keyword plus optional agency, Assistance Listing (CFDA/ALN), and applicant eligibility filters, and it returns one row per opportunity with the deadline, days left, award ceiling and floor, total program funding, eligible applicants, agency contact, and a direct Grants.gov link. No API key or login.

Price: $0.003 per grant opportunity saved ($3 per 1,000). There is no start fee. You are charged only for rows saved to the dataset.

Try a run for free: New Apify accounts can use the Free plan, which includes $5 of platform usage credit each month and does not require a credit card, so a small test run is covered. Unused credit does not roll over.

Try it now: the form is pre-filled with the keyword artificial intelligence, statuses forecasted + posted, and 20 results with full details. Click Start. The test run below finished in about 6 seconds.

Buyer use cases

  1. Find open federal grants for a 501(c)(3) — set eligibilities to 12 (nonprofits with 501(c)(3) status, other than higher education). Add a keyword such as community health or workforce, and keep statuses as posted, to list opportunities the organization can apply for, with deadlines and award amounts. To focus on California-eligible or California-serving programs, combine the eligibility filter with a keyword such as California or the relevant agency.
  2. Weekly deadline alerts for a university or research office — set closingWithinDays to 14 or 30, sortBy to closingSoon, and optionally an agency code such as NSF or HHS-NIH11.
  3. New-grant monitoring — set postedWithinDays to 7 with a topic keyword (for example workforce or artificial intelligence) and schedule the Actor weekly to catch newly posted opportunities.

Real run results (11 Nov 2026)

Pre-filled input: keyword artificial intelligence, statuses forecasted + posted, maxItems: 20 (run DsETKllh5U8cyXC81, about 6 seconds, 20 of 165 matching opportunities saved, run at 10:03 AM PT). First 8 rows:

NumberTitleAgencyStatusDeadlineAward ceilingTotal funding
PD-19-127YScience of Learning and Augmented Intelligence (SL)NSFposted2027-02-10——
W519TC-25-S-0001Broad Agency Announcement for Fundamental AI Resear…DOD-AMC-ACCRIforecasted———
G27AS00079Cooperative Agreement for Affiliated Partner with t…DOI-USGS1posted2026-11-14$150K$150K
PAS-TUNIS- APS FY2026Annual Program Statement (APS) For Fiscal Year 2026DOS-TUNforecasted—$200K—
26-504Postdoctoral Research Fellowships in Biology (PRFB)NSFposted2027-09-28—$16.5M
25-531Cybersecurity Innovation for Cyberinfrastructure (C…NSFposted2027-01-20$1.2M$12M
26-507National Science Foundation Fostering Interdiscipli…NSFposted2026-11-18—$8.5M
26-512Unlocking Dataset Value for AI-Enabled Scientific D…NSFposted2027-11-03—$100M

For AI agents

This Actor is dedicated_crest/grants-gov-opportunity-finder. Call it through the Apify API, the official JavaScript or Python client, or Apify's MCP server. Send JSON input with:

  • keyword (string): search phrase, for example "community health"
  • statuses (array of strings): posted, forecasted, closed, and/or archived (default: forecasted + posted)
  • eligibilities (array of strings): Grants.gov codes such as 12 (501(c)(3) nonprofits), 06 / 20 (universities), 23 (small businesses)
  • agencies, cfda, closingWithinDays, postedWithinDays, sortBy, maxItems, includeDetails

Each output row is one funding opportunity. Stable fields include id, number, title, agencyCode, agency, status, openDate, closeDate, daysUntilClose, cfdaList, url, awardCeiling, awardFloor, estimatedTotalFunding, eligibleApplicants, description, contactName, contactEmail, and contactPhone.

What does Grants.gov Opportunity Finder do?

Grants.gov lists thousands of federal funding opportunities (NOFOs / funding announcements) from NSF, NIH, DOE, DOD, USDA, HUD, NASA, the Department of Education and dozens of other agencies. This Actor queries the public Grants.gov search API, optionally fetches the full detail record for each opportunity, and saves one tidy row per opportunity to an Apify dataset that you can download as JSON, CSV, Excel, XML or HTML, or send to Google Sheets, Slack, Zapier, Make, n8n or your own API.

Features

  • 🔎 Free-text keyword search (e.g. artificial intelligence, climate resilience, SBIR)
  • 🏛️ Filter by agency codes (e.g. NSF, HHS-NIH11, DOE)
  • 🔢 Filter by Assistance Listing / CFDA number (e.g. 47.075)
  • ✅ Filter by applicant eligibility codes (nonprofits, universities, small businesses, …)
  • 📅 Filter by status: forecasted, posted, closed, archived
  • ⏰ "Closing within N days" filter — ideal for scheduled weekly deadline alerts
  • 🆕 "Posted within last N days" filter — only newly posted grants, perfect for a weekly "new grants" alert
  • ↕️ Sort by relevance, newest posted first, or soonest deadline first
  • 💰 Full details: award ceiling and floor, estimated total funding, expected number of awards, cost sharing, funding instruments, categories, eligible applicants, description and agency contact
  • 🔗 Direct link to every opportunity on Grants.gov

How to use it

  1. Click Try for free / Start.
  2. Enter a keyword and (optionally) agencies, CFDA, eligibility codes, statuses and a deadline window.
  3. Set Max results.
  4. Run it and download the results, or schedule it (e.g. every Monday) and connect an integration to get new opportunities delivered automatically.

Input example

{
  "keyword": "artificial intelligence",
  "statuses": ["forecasted", "posted"],
  "agencies": ["NSF"],
  "closingWithinDays": 60,
  "maxItems": 100,
  "includeDetails": true
}
FieldDescription
keywordFree-text search
statusesforecasted, posted, closed, archived (default: forecasted + posted)
agenciesGrants.gov agency codes, e.g. NSF, HHS-NIH11, DOE
cfdaAssistance Listing number, e.g. 47.075
eligibilitiesGrants.gov eligibility codes, e.g. 12 (501(c)(3) nonprofits), 20 (private universities), 23 (small businesses), 25 (others)
closingWithinDaysOnly keep opportunities whose deadline is within N days
postedWithinDaysOnly keep opportunities posted in the last N days (sorts newest first automatically)
sortByrelevance (default), newest or closingSoon
maxItemsMaximum number of opportunities to return (pre-filled and default: 20)
includeDetailsFetch award amounts, description, eligibility and contact (default true)

Output example

{
  "id": "320753",
  "number": "PD-19-127Y",
  "title": "Science of Learning and Augmented Intelligence (SL)",
  "agencyCode": "NSF",
  "agency": "U.S. National Science Foundation",
  "status": "posted",
  "docType": "synopsis",
  "openDate": "2019-09-19",
  "closeDate": "2027-02-10",
  "daysUntilClose": 116,
  "cfdaList": [
    "47.075"
  ],
  "url": "https://www.grants.gov/search-results-detail/320753",
  "awardCeiling": null,
  "awardFloor": 550,
  "estimatedTotalFunding": null,
  "expectedAwards": null,
  "costSharing": false,
  "fundingInstruments": [
    "Grant"
  ],
  "categories": [
    "Science and Technology and other Research and Development"
  ],
  "eligibleApplicants": [
    "Unrestricted (i.e., open to any type of entity above), subject to any clarification in text field entitled \"Additional Information on Eligibility\""
  ],
  "eligibilityNotes": "",
  "description": "Science of Learning and Augmented Intelligence (SL) supports potentially transformative research that develops basic theoretical insights and fundamental knowle…",
  "contactName": "U.S. National Science Foundation",
  "contactEmail": "grantsgovsupport@nsf.gov",
  "contactPhone": "703-292-4203",
  "lastUpdated": "2026-10-15"
}

Pricing

Pay per event: $0.003 per grant opportunity returned ($3 per 1,000), full details included, no start fee. You only pay for opportunities saved to your dataset. Set a Maximum cost per run and the Actor stops cleanly when it's reached. The 20-result test run above (DsETKllh5U8cyXC81) used about $0.0003 of platform usage, which is covered by the Free plan's $5 monthly credit.

How that compares with other Grants.gov Actors on the Apify Store (free-tier list prices from the Store API, checked 18 Oct 2026; paid Apify plans may get lower tiered prices on some):

ActorPrice per 1,000 resultsStart fee
This Actor$3.00none
Grants.gov Federal Grants Scraper (solidcode)$9.60$0.005
Grants.gov Opportunity Scraper (moving_beacon-owner1)$9.99$0.00005
Grants Gov Scraper (fortuitous_pirate)$4.38$0.001
Grants.gov Scraper API (pink_comic)$2.00$0.0001
Grants.gov Scraper, Award Ceiling & ALN Codes (hridayrungta)$1.50none

Some Actors are cheaper per row. This one adds the deadline and "posted within" alert filters, the full detail record (award ceiling/floor, total funding, eligibility, contact) on every row, and automatic retries that keep partial results if Grants.gov stops responding.

Tips

  • Weekly new-grants alert: {"keyword": "youth mental health", "postedWithinDays": 7} on a Monday schedule, connected to Google Sheets, Slack or email.
  • Deadline digest: {"closingWithinDays": 30, "sortBy": "closingSoon"} to see what's due soon.
  • Nonprofit funding only: add "eligibilities": ["12"] (501(c)(3) nonprofits).
  • Set includeDetails to false for a faster, lighter list (no award amounts/contacts).
  • Combine with the Google Sheets or Slack integrations to share new opportunities with your team.

FAQ

Is this legal? Yes. It uses the official, public Grants.gov API. Contact details are those published by agencies on Grants.gov.

What if Grants.gov is down or slow? The Actor retries automatically with backoff for up to about 2 minutes. If Grants.gov still doesn't respond partway through a run, the Actor keeps every grant it already saved, finishes successfully and sets the status to "Partial results: Grants.gov stopped responding after N grants". You're only charged for the grants actually returned; just run it again later for the rest.

Is it affiliated with Grants.gov? No. This Actor is not affiliated with, endorsed by, or sponsored by Grants.gov or the US Government.

Found a bug or need a feature? Open an issue in the Actor's Issues tab — feedback is welcome.

How do I get a weekly email or Slack message with new grants? Create a schedule (e.g. every Monday) with postedWithinDays: 7 and add the Slack, email or Google Sheets integration to the schedule's task.

Which eligibility code is for nonprofits? 12 = 501(c)(3) nonprofits (other than higher education), 13 = nonprofits without 501(c)(3), 20 = private universities, 06 = public universities, 23 = small businesses, 25 = others. Leave it empty to get everything.

Does it include private foundation grants? No. Grants.gov lists federal opportunities only. For awards that were already made, see USAspending in Related tools below.

Can I use it from an AI agent or my own code? Yes. Call it through the Apify API, the JavaScript/Python clients or Apify's MCP server; output fields are stable.

Related tools

Other Actors by the same developer that work well with this one:

⭐ Enjoying it?

If this Actor saved you time, a quick rating on its Apify Store page helps a lot, and it helps other people find it. Feedback or a missing feature? Open an issue on the Actor's Issues tab. Thank you!

Actor input Schema

keyword (type: string):

Plain-language search phrase sent to the Grants.gov API, for example 'artificial intelligence', 'community health', or 'workforce'. Leave empty to search by the other filters only.

statuses (type: array):

Opportunity statuses to include. 'posted' = open for applications now; 'forecasted' = expected to open; 'closed' and 'archived' are past opportunities. Default: forecasted and posted.

agencies (type: array):

Optional Grants.gov agency codes to keep, for example NSF, HHS-NIH11, DOE, USDA-NIFA. Leave empty for all agencies.

cfda (type: string):

Optional Assistance Listing (CFDA/ALN) number, for example 47.075. Leave empty for all listings.

eligibilities (type: array):

Optional Grants.gov applicant eligibility codes. Common values: 12 = 501(c)(3) nonprofits (other than higher education), 13 = nonprofits without 501(c)(3), 06 = public universities, 20 = private universities, 23 = small businesses, 25 = others. Leave empty for all applicant types.

closingWithinDays (type: integer):

If set, only keep opportunities whose application deadline is within the next N days (useful for weekly deadline alerts).

postedWithinDays (type: integer):

If set, only keep opportunities posted (opened) on Grants.gov in the last N days, for example 7 for a weekly new-grants alert. Sorts newest first.

sortBy (type: string):

Result order: relevance (default), newest (most recently posted first), or closingSoon (soonest deadline first). When postedWithinDays is set, results are sorted newest first unless you override this.

maxItems (type: integer):

Maximum number of grant opportunities to save and charge for. Use a small number (for example 20) for a fast first run.

includeDetails (type: boolean):

If true (default), fetch the full Grants.gov detail record for each opportunity: award ceiling/floor, total funding, description, eligible applicants, and agency contact. This is one extra request per row.

Actor input object example

{
  "keyword": "artificial intelligence",
  "statuses": [
    "forecasted",
    "posted"
  ],
  "maxItems": 20,
  "includeDetails": true
}

Actor output Schema

results (type: string):

Grant opportunities with deadlines, award amounts, eligibility, agency contacts and Grants.gov 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

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": "artificial intelligence",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("dedicated_crest/grants-gov-opportunity-finder").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

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": "artificial intelligence",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("dedicated_crest/grants-gov-opportunity-finder").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

echo '{
  "keyword": "artificial intelligence",
  "maxItems": 20
}' |
apify call dedicated_crest/grants-gov-opportunity-finder --silent --output-dataset

MCP server setup

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

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/imbcI522UkGM5yadr/builds/vr3u4z5foken45e3g/openapi.json