Microproduct data guidebeginner

Grants.gov Opportunities

Federal grant opportunity postings for building funding inboxes and agency opportunity monitors.

At a glance

Difficulty
Beginner — comfortable for a first prototype
Size
Small · ≤0.2 GB
Formats
JSON
Access
API
API key
Not required
Provider
Grants.gov
Updates
Daily

From source to product signal

Test a product idea in four steps

Grants.gov search2 returns opportunity summaries without authentication. Start with one keyword and posted status. A posting is not an award, and eligibility, close dates, and attachments must be read on the opportunity itself.

1

Check the setup

  • Python 3.10 or newer
  • A notebook environment such as Jupyter or Google Colab
  • An internet connection
2

Access the data

  1. 1.Open the Grants.gov API guide and note that search2 uses POST.
  2. 2.Search one keyword among posted opportunities with a small row count.
  3. 3.Keep opportunity number, title, agency, and close date.
Open official source
3

Run the Python example

Install the packages, then run the notebook cell.

python -m pip install pandas requests

import pandas as pd
import requests

response = requests.post(
    "https://api.grants.gov/v1/api/search2",
    json={
        "keyword": "climate",
        "oppStatuses": "posted",
        "rows": 20,
        "startRecordNum": 0,
    },
    timeout=30,
)
response.raise_for_status()
payload = response.json()
opportunities = pd.DataFrame(payload.get("data", {}).get("oppHits", payload.get("oppHits", [])))
opportunities["retrieved_at_utc"] = pd.Timestamp.now(tz="UTC")
print(opportunities.head())
4

Test a useful signal

List posted climate grant opportunities

Test whether search2 can power a bounded federal-funding inbox.

  1. 01Keep opportunity number, title, agency, and close date from the bounded response.
  2. 02Sort by close date and flag records missing an agency name.
  3. 03Explain that a posted opportunity is not an award and that eligibility is defined on the full notice.

Dataset details

Grants.gov is a government source. Last verified 2026-08-18. Temporal coverage: posted, forecasted, and closed federal opportunities.

Theme

Government & Policy

Domains

Research FundingPublic SpendingGovernment

Data types

TabularDocuments

Tasks

Opportunity MonitoringAgency ComparisonAlerting

Geography

United States

Formats

JSON

Provider

Grants.gov

Data terms

U.S. Government public data / federal copyright guidance