Scraper API
Grants.govgrantsgov.searchAvailable
US grant opportunities
Funding opportunities: number, title, agency, status, open and close dates and assistance listings.
Give it Words, statuses or an agency.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 5
- Record
- 12 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/grantsgov.search/runs
sent, and answered
a record of the run12 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 12 fields are set down here; the whole record is below.

What it is used for
- Find funding
- Search by words and agency and keep what is open, with its
close_date. - Watch new programmes
- Read forecasted opportunities on a schedule to prepare before they open.
- Serve your clients
- Match the day's new opportunities to the nonprofits or firms you advise.
What you send
Words, statuses or an agency. These are its 5 inputs, as its schema has them.
keywordstring Optional- Words in the opportunity.
statuseslist of strings Optional- Any of forecasted, posted, closed and archived; left out, the forecasted and posted ones.
agencystring Optional- Only this department or agency, by its Grants.gov code, such as HHS or HHS-NIH11.
max_resultsinteger Optional- Opportunities a page, up to 100.Default
25 offsetinteger Optional- How many to skip, to read the next page.Default
0
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/grantsgov.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"keyword":"broadband","max_results":2}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("grantsgov.search", {
"keyword": "broadband",
"max_results": 2,
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("grantsgov.search", {
keyword: "broadband",
max_results: 2,
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "grantsgov.search", map[string]any{"keyword": "broadband", "max_results": 2})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("grantsgov.search", Map.of("keyword", "broadband", "max_results", 2));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run grantsgov.search --input keyword=broadband --input max_results=2Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
Funding opportunities: number, title, agency, status, open and close dates and assistance listings. A record has 12 fields. One we could not read is null, never an empty string or a zero.
{
"opportunity_id": "346815",
"number": "PWEAA2023",
"url": "https://www.grants.gov/search-results-detail/346815",
"title": "FY 2025 EDA Public Works and Economic Adjustment Assistance Programs",
"agency_code": "DOC-EDA",
"agency": "Economic Development Administration",
"status": "posted",
"open_date": "2023-03-14",
"close_date": null,
"assistance_listings": [
"11.307",
"11.300"
],
"total_results": 18,
"fetched_at": "2026-11-23T23:15:34.528869Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
The fields of a record
opportunity_idstring- Grants.gov's id, which
grantsgov.opportunitytakes. numberstring or null- The funding opportunity number, e.g.
NOAA-OAR-CPO-2027-33392. urlstring- The opportunity's page on grants.gov.
titlestring or null- The opportunity's title.
agency_codestring or null- The agency's code, e.g.
DOC-EDA. agencystring or null- The agency.
statusstring or nullforecasted,posted,closedorarchived.open_datestring or null- The day it opened,
YYYY-MM-DD. close_datestring or null- The day applications close,
YYYY-MM-DD. Null when none is set. assistance_listingslist of strings- Its assistance listing numbers (CFDA), e.g.
11.431. total_resultsinteger or null- How many opportunities match the search in all.
fetched_atdatetime- When Grants.gov was asked, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- An opportunity with no closing date has close_date null.
- A code Grants.gov does not list returns no records.
The bounds its schema sets
statuses- at most 4 items
max_results- 1 to 100; 25 unless you say otherwise
offset- 0 to 10,000; 0 unless you say otherwise
Questions
What does US grant opportunities return?
Funding opportunities: number, title, agency, status, open and close dates and assistance listings. A record has 12 fields, among them opportunity_id, number, url, title, agency_code and agency. A value that could not be read is null, never an empty string or a zero.
What do I send?
Words, statuses or an agency. Optional: keyword, statuses, agency, max_results and offset.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: statuses at most 4 items; max_results 1 to 100 (25 unless you say otherwise); offset 0 to 10,000 (0 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
An opportunity with no closing date has close_date null. A code Grants.gov does not list returns no records.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id grantsgov.search and the same input. It costs what the same API call costs.
Used in this playbook
A playbook runs US grant opportunities as one of its steps and hands back the finished list. Its runs of this scraper cost what they cost here, and the playbook adds nothing.
Public sector
Tender Alerts
New public tenders that match your words and codes, from the EU, UK and US, with buyer, deadline, value and link.
Grants.gov
US federal grant opportunities from Grants.gov: searches by words, status and agency, and one opportunity with its funding and who may apply.
US grant opportunity
grantsgov.opportunityGrants.gov's id of an opportunity, or its address. The opportunity in full: description, department and agency, dates, award ceiling and floor, total funding, funding instruments and categories, and who may apply.
- Industry
- Government and public records
- Where
- United States
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.