Grants.gov Scraper · Grant Opportunities, Agencies & Awards avatar

Grants.gov Scraper · Grant Opportunities, Agencies & Awards

Pricing

from $1.30 / 1,000 grant opportunity returneds

Go to Apify Store
Grants.gov Scraper · Grant Opportunities, Agencies & Awards

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

Tarek Etman

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

reapX — public sources in, addressable records out

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 NameTypeDefault / PrefillDescription
keywordString"health"Keyword search term to filter grant opportunity titles and descriptions. Leave empty to search across all topics.
agenciesString""Filter by federal agency abbreviation or code (e.g. DOD, NSF, DOI, EPA, NASA). Leave empty for all agencies.
oppStatusesArray["forecasted", "posted"]Opportunity lifecycle statuses: forecasted, posted, closed, archived.
fundingCategoriesArray[]Funding sector categories: HL (Health), ED (Education), ST (Science/Tech), ENV (Environment), AG (Agriculture), EN (Energy).
eligibilitiesArray[]Applicant eligibility codes: 12 (501c3 Nonprofits), 06 (State Higher Ed), 23 (Small Business), 07 (Tribal Gov), 00 (State Gov).
fundingInstrumentsArray[]Award instrument types: G (Grant), CA (Cooperative Agreement), PC (Procurement Contract).
dateRangeIntegerNoneFilter grants posted or modified within the past N days (e.g. 30, 60, 90, 365).
sortByString`"openDatedesc"`
maxItemsInteger100Capacity 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 NameData TypeDescriptionExample Value
companyNameStringPrimary entity identifier. Awarding federal agency or department name."National Institutes of Health"
agencyCodeStringSub-agency code or departmental acronym."HHS-NIH11"
opportunityIdStringFederal grant opportunity funding announcement number."FOR-MD-25-003"
grantsGovIdStringGrants.gov internal numerical database identifier."359138"
titleStringFull descriptive title of the grant opportunity notice."Notice of Funding Opportunity Announcement for Health Disparities"
openDateStringDate the grant opportunity opened for applications (MM/DD/YYYY)."05/27/2025"
closeDateStringApplication closing date or submission deadline (MM/DD/YYYY)."01/11/2027"
oppStatusStringCurrent status (forecasted, posted, closed, archived)."posted"
docTypeStringDocument notice type (synopsis, forecast)."synopsis"
cfdaListArrayCatalog 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

  1. HTTP JSON Request: The scraper issues structured POST requests directly to https://api.grants.gov/v1/api/search2 with payload filters for keywords, agencies, categories, eligibility, and statuses.
  2. Entity Mapping: The scraper extracts the federal agency name and maps it to companyName. If agency is empty, it falls back to agencyCode or U.S. Federal Government. Long agency names are normalized to 80 characters max to guarantee compatibility with growth.entity_pages.
  3. Streamed Pushes: Results are pushed to the Apify default dataset incrementally as they are fetched from the API.
  4. Retry & Backoff: Handles rate limits (HTTP 429) and server errors (HTTP 5xx) with exponential backoff and automatic retries.
  5. 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 ApifyClient
client = 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().items
for 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.

OutcomeWhat it means
SuccessRows were returned and you were charged grant-returned at $0.002 per row.
No matchesThe 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.