Grants.gov Scraper · Grant Opportunities, Agencies & Awards
Pricing
from $1.30 / 1,000 grant opportunity returneds
Grants.gov Scraper · Grant Opportunities, Agencies & Awards
Scrape US federal grant opportunities, funding announcements, and agency award notices from Grants.gov by keyword, agency, category, eligibility, and status.
Pricing
from $1.30 / 1,000 grant opportunity returneds
Rating
0.0
(0)
Developer
Tarek Etman
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share

Grants.gov Scraper · Grant Opportunities, Agencies & Awards
The Grants.gov Scraper extracts structured public federal grant opportunities, Notice of Funding Opportunity (NOFO) announcements, agency award listings, and eligibility criteria directly from the official U.S. federal Grants.gov database. Designed for high performance, reliability, and entity resolution, it aggregates funding notices by awarding federal agency and delivers structured JSON output optimized for analytical workflows, grant intelligence, competitive research, and automated lead generation.
Maintained by reapX. Every row cites the Apify run that produced it — nothing is inferred, modelled or filled in, and a field absent from the source is absent from the row. The extracted archive for this source is browsable at reapx.dev/data/grants-gov-scraper/ and mirrored as an open dataset on Hugging Face and Kaggle. Questions: reapxdev@proton.me
Features & Capabilities
- Direct JSON API Access: Queries official U.S. federal Grants.gov webservices over HTTP without headless browser overhead, achieving fast execution and minimal resource consumption.
- Entity Page Resolution: Automatically maps every grant opportunity to its awarding agency via
companyName, enabling entity-level aggregation across departments and bureaus. - Granular Filter Options: Search by keyword, federal agency code (e.g.
HHS,DOD,NSF,EPA), funding category, applicant eligibility, award instrument type, date window, and opportunity status. - Pay-Per-Event Pricing: Transparent per-record event pricing (
grant-returned) with tiered volume discounts from Free to Diamond tiers. Blocked or zero-result requests are never charged. - 50 Pre-configured Tasks: Includes 50 ready-to-run task configurations covering defense, healthcare, agriculture, STEM education, small business innovation, and climate resilience.
⬇️ Input
The actor accepts structured JSON input specifying search parameters, filtering options, and capacity limits.
Input Parameters Table
| Field Name | Type | Default / Prefill | Description |
|---|---|---|---|
keyword | String | "health" | Keyword search term to filter grant opportunity titles and descriptions. Leave empty to search across all topics. |
agencies | String | "" | Filter by federal agency abbreviation or code (e.g. DOD, NSF, DOI, EPA, NASA). Leave empty for all agencies. |
oppStatuses | Array | ["forecasted", "posted"] | Opportunity lifecycle statuses: forecasted, posted, closed, archived. |
fundingCategories | Array | [] | Funding sector categories: HL (Health), ED (Education), ST (Science/Tech), ENV (Environment), AG (Agriculture), EN (Energy). |
eligibilities | Array | [] | Applicant eligibility codes: 12 (501c3 Nonprofits), 06 (State Higher Ed), 23 (Small Business), 07 (Tribal Gov), 00 (State Gov). |
fundingInstruments | Array | [] | Award instrument types: G (Grant), CA (Cooperative Agreement), PC (Procurement Contract). |
dateRange | Integer | None | Filter grants posted or modified within the past N days (e.g. 30, 60, 90, 365). |
sortBy | String | `"openDate | desc"` |
maxItems | Integer | 100 | Capacity limit for total grant records to scrape. Max 10,000 items per run. |
Example Input JSON
{"keyword": "climate resilience","agencies": "EPA","oppStatuses": ["forecasted", "posted"],"fundingCategories": ["ENV", "ST"],"eligibilities": ["06", "12", "23"],"sortBy": "openDate|desc","maxItems": 100}
⬆️ Output
The actor stores all scraped records in its default dataset. Each record represents a single federal grant opportunity.
Output Field Schema
| Field Name | Data Type | Description | Example Value |
|---|---|---|---|
companyName | String | Primary entity identifier. Awarding federal agency or department name. | "National Institutes of Health" |
agencyCode | String | Sub-agency code or departmental acronym. | "HHS-NIH11" |
opportunityId | String | Federal grant opportunity funding announcement number. | "FOR-MD-25-003" |
grantsGovId | String | Grants.gov internal numerical database identifier. | "359138" |
title | String | Full descriptive title of the grant opportunity notice. | "Notice of Funding Opportunity Announcement for Health Disparities" |
openDate | String | Date the grant opportunity opened for applications (MM/DD/YYYY). | "05/27/2025" |
closeDate | String | Application closing date or submission deadline (MM/DD/YYYY). | "01/11/2027" |
oppStatus | String | Current status (forecasted, posted, closed, archived). | "posted" |
docType | String | Document notice type (synopsis, forecast). | "synopsis" |
cfdaList | Array | Catalog of Federal Domestic Assistance (CFDA) numbers. | ["93.307"] |
Sample Output Row
{"companyName": "National Institutes of Health","agencyCode": "HHS-NIH11","opportunityId": "FOR-MD-25-003","grantsGovId": "359138","title": "Notice of Funding Opportunity Announcement for Addressing Determinants of Health Disparities Among Rural Populations (R01 - Clinical Trial Optional)","openDate": "05/27/2025","closeDate": "01/11/2027","oppStatus": "posted","docType": "synopsis","cfdaList": ["93.307"]}
How it works
- HTTP JSON Request: The scraper issues structured POST requests directly to
https://api.grants.gov/v1/api/search2with payload filters for keywords, agencies, categories, eligibility, and statuses. - Entity Mapping: The scraper extracts the federal agency name and maps it to
companyName. Ifagencyis empty, it falls back toagencyCodeorU.S. Federal Government. Long agency names are normalized to 80 characters max to guarantee compatibility withgrowth.entity_pages. - Streamed Pushes: Results are pushed to the Apify default dataset incrementally as they are fetched from the API.
- Retry & Backoff: Handles rate limits (HTTP 429) and server errors (HTTP 5xx) with exponential backoff and automatic retries.
- Pay-Per-Event Charging: Charges per delivered row via
grant-returned. If a query yields zero items or encounters a terminal HTTP error, zero charges are incurred.
Use Cases & Integration Examples
Python Integration Example
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_TOKEN")run_input = {"keyword": "renewable energy","agencies": "DOE","oppStatuses": ["forecasted", "posted"],"maxItems": 50}run = client.actor("reapx/grants-gov-scraper").call(run_input=run_input)dataset_items = client.dataset(run["defaultDatasetId"]).list_items().itemsfor item in dataset_items:print(f"[{item['companyName']}] {item['opportunityId']}: {item['title']}")
JavaScript / Node.js Integration Example
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });const input = {keyword: 'artificial intelligence',agencies: 'NSF',maxItems: 50};const run = await client.actor('reapx/grants-gov-scraper').call(input);const { items } = await client.dataset(run.defaultDatasetId).listItems();items.forEach((item) => {console.log(`Agency: ${item.companyName} | ID: ${item.opportunityId} | Title: ${item.title}`);});
50 Pre-configured Tasks
The scraper includes 50 task configurations stored in TASKS.json. Key task subsets include:
- Agency Collections:
dod-defense-grants,nsf-science-awards,epa-environmental-funding,nasa-space-science-grants,usda-agriculture-rural,doe-clean-energy-grants,ed-education-innovations. - Category Deep Dives:
category-health-grants,category-science-tech,category-environment,category-energy-grants,category-agriculture,category-business-commerce. - Applicant Eligibility Tasks:
eligibility-nonprofits-501c3,eligibility-higher-ed,eligibility-small-business,eligibility-tribal-governments,eligibility-state-governments. - Targeted Topic Searches:
topic-climate-change,topic-cybersecurity,topic-ai-machine-learning,topic-cancer-research,topic-clean-water,topic-broadband-telecom. - Date & Lifecycle Windows:
recent-30days-posted,forecasted-upcoming-grants,closing-soon-grants,historical-archived-grants.
❓ FAQ
Q: Does this scraper require a Grants.gov API key?
No. The scraper accesses public search endpoints on Grants.gov without requiring user-provided API credentials.
Q: What is the entity identifier used for entity pages?
The scraper outputs companyName holding the federal awarding agency name. This allows growth.entity_pages to aggregate opportunities by agency department (e.g. National Institutes of Health, National Science Foundation).
Q: How frequently is Grants.gov data updated?
Grants.gov updates opportunity listings continuously throughout the business day. Running the scraper with dateRange: 30 or sorting by openDate|desc captures the latest funding releases.
Q: What applicant eligibility codes are supported?
Supported eligibility codes include 12 (501c3 Nonprofits), 06 (Public Higher Ed), 20 (Private Higher Ed), 23 (Small Businesses), 07 (Tribal Governments), 00 (State Governments), 01 (County Governments), 02 (City/Township), 05 (School Districts), 08 (Housing Authorities), and 22 (For-profit entities).
Q: Can I scrape historical or closed grants?
Yes. Set oppStatuses to include ["closed", "archived"] to retrieve historical funding notices.
💬 Your feedback
We actively maintain this actor. If you encounter missing fields, API updates, or want new filter capabilities added, please contact us at reapxdev@proton.me.
Unofficial - not affiliated with Grants.gov or the U.S. Federal Government. Collects public data only. reapx. Contact reapxdev@proton.me.
🧪 Example input
A real, runnable configuration — this is an actual input this Actor has run with.
{"agencies": "DOD","oppStatuses": ["forecasted","posted"],"maxItems": 100}
📄 Sample output
One real row from a real run of this Actor, unedited.
{"companyName": "National Park Service","agencyCode": "DOI-NPS","opportunityId": "P12AC10113","grantsGovId": "141593","title": "Vegetation Interns","openDate": "01/30/2012","closeDate": "","oppStatus": "posted","docType": "synopsis","cfdaList": ["15.931"]}
⚠️ Run outcomes and error handling
This Actor reports what happened in the run's status message, and it always keeps whatever it collected. These are the outcomes you can get and what each one means.
| Outcome | What it means |
|---|---|
| Success | Rows were returned and you were charged grant-returned at $0.002 per row. |
| No matches | The source returned nothing for your filters. Nothing is charged. Widen the date window or drop a filter. |
What is guaranteed either way
- Every row is pushed as it is built, not buffered to the end of the run. Anything that buffers output loses everything to a timeout, a block or a migration; this does not.
- A field absent from the source is absent from the row. Nothing is inferred, modelled or filled in to make a row look complete.