# Grants.gov

> Find U.S. federal grant funding on Grants.gov. Search every agency's forecasted, open, closed and archived opportunities by keyword, agency, category and eligibility, get one in full with its funding, deadline and documents, count matches by filter, and start a workflow when a matching opportunity is posted. No account or API key required.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/grants-gov

## Actions

### Count opportunities

Count the Grants.gov opportunities that match a search, broken down by status, department and agency, funding category, who may apply, funding instrument and how recently they were posted: the counts Grants.gov shows beside its search filters. No API key required.

**Inputs**

- Keywords (`keyword`, text): Words to look for in the title, synopsis and numbers, as in Grants.gov's search box. Leave empty for every opportunity.
- Opportunity number (`opportunity_number`, text): Only the opportunity with this number, exactly as the agency wrote it, such as DE-FOA-0003630.
- Assistance Listing number (`assistance_listing`, text): Only opportunities funded by this program, by its Assistance Listing number (formerly CFDA number), such as 93.866.
- Agencies (`agencies`, list): Only opportunities from these agencies. A department followed by * (such as DOE*) takes every agency in it. Leave empty for every agency.
- Funding categories (`funding_categories`, list): Only opportunities in any of these categories of funding activity. One or more of: `ACA` (Affordable Care Act), `AG` (Agriculture), `AR` (Arts), `BC` (Business and Commerce), `CD` (Community Development), `CP` (Consumer Protection), `DPR` (Disaster Prevention and Relief), `ED` (Education), `ELT` (Employment, Labor and Training), `EN` (Energy), and 18 more.
- Eligibility (`eligibilities`, list): Only opportunities open to any of these kinds of applicant, as the agency listed them. Unrestricted opportunities are listed as such, so add Unrestricted to include them. One or more of: `00` (State governments), `01` (County governments), `02` (City or township governments), `04` (Special district governments), `05` (Independent school districts), `06` (Public and State controlled institutions of higher education), `07` (Native American tribal governments (Federally recognized)), `08` (Public housing authorities/Indian housing authorities), `11` (Native American tribal organizations (other than Federally recognized tribal governments)), `12` (Nonprofits having a 501(c)(3) status with the IRS, other than institutions of higher education), and 7 more.
- Funding instruments (`funding_instruments`, list): Only opportunities that give money in any of these ways. One or more of: `CA` (Cooperative Agreement), `G` (Grant), `PC` (Procurement Contract), `O` (Other).
- Statuses (`statuses`, list): Forecasted (announced, not yet open), Posted (open for applications), Closed (past its deadline) or Archived. Forecasted and Posted by default. One or more of: `forecasted`, `posted`, `closed`, `archived`. Default: `["forecasted", "posted"]`.
- Posted within (days) (`posted_within_days`, number): Only opportunities posted, or forecast, within this many days of today, from 1 to 3,650. Works with the Forecasted and Posted statuses only. From 1 to 3650.

**Outputs**

- `by_department` (list): Matches per department, each with its agencies.
- `by_eligibility` (list): Matches per applicant type that may apply.
- `by_funding_category` (list): Matches per funding category.
- `by_funding_instrument` (list): Matches per funding instrument.
- `by_posted_within` (list): Matches posted in the last few days and weeks.
- `by_status` (list): Matches in each status, including statuses not searched.
- `searched_for` (text): The search's filters, in words.
- `total` (number): How many opportunities match, in the statuses searched.

**Example output**

```json
{
  "by_department": [
    {
      "agencies": [
        {
          "code": "DOC-DOCNOAAERA",
          "count": 5,
          "name": "DOC NOAA - ERA Production"
        }
      ],
      "code": "DOC",
      "count": 5,
      "filter_value": "DOC*",
      "name": "Department of Commerce"
    },
    {
      "agencies": [
        {
          "code": "DOI-BOR",
          "count": 5,
          "name": "Bureau of Reclamation"
        },
        {
          "code": "DOI-FWS",
          "count": 6,
          "name": "Fish and Wildlife Service"
        },
        {
          "code": "DOI-USGS1",
          "count": 1,
          "name": "Geological Survey"
        }
      ],
      "code": "DOI",
      "count": 12,
      "filter_value": "DOI*",
      "name": "Department of the Interior"
    }
  ],
  "by_eligibility": [
    {
      "code": "02",
      "count": 5,
      "name": "City or township governments"
    },
    {
      "code": "01",
      "count": 5,
      "name": "County governments"
    }
  ],
  "by_funding_category": [
    {
      "code": "ENV",
      "count": 4,
      "name": "Environment"
    },
    {
      "code": "NR",
      "count": 20,
      "name": "Natural Resources"
    }
  ],
  "by_funding_instrument": [
    {
      "code": "CA",
      "count": 15,
      "name": "Cooperative Agreement"
    },
    {
      "code": "G",
      "count": 11,
      "name": "Grant"
    }
  ],
  "by_posted_within": [
    {
      "count": 2,
      "days": 7,
      "name": "Posted in the Last 1 Week"
    },
    {
      "count": 4,
      "days": 28,
      "name": "Posted in the Last 4 Weeks"
    }
  ],
  "by_status": [
    {
      "code": "forecasted",
      "count": 0,
      "name": "Forecasted"
    },
    {
      "code": "posted",
      "count": 20,
      "name": "Posted"
    },
    {
      "code": "closed",
      "count": 621,
      "name": "Closed"
    },
    {
      "code": "archived",
      "count": 5826,
      "name": "Archived"
    }
  ],
  "searched_for": "forecasted or posted, matching 'water'",
  "total": 20
}
```

### Get opportunity

Get one grant opportunity from Grants.gov in full: its synopsis, estimated funding, award ceiling and floor, expected number of awards, who may apply, deadline, contact, attached documents with download links and application packages, and for a forecast its expected posting, deadline and award dates. No API key required.

**Inputs**

- Opportunity ID (`opportunity_id`, text, required): The opportunity's numeric Grants.gov ID, such as 364136, as Search opportunities and the trigger give it, or a link to its page on grants.gov.

**Outputs**

- `agency` (text): The posting agency's name.
- `agency_code` (text): The posting agency's code, e.g. DOE-ARPAE.
- `application_packages` (list): The application packages to apply with through Grants.gov.
- `archive_date` (text): When Grants.gov will archive it, as YYYY-MM-DD.
- `assistance_listings` (list): The programs that fund it.
- `award_ceiling` (number): The most one award can be, in US dollars. Empty when not given.
- `award_floor` (number): The least one award can be, in US dollars. Empty when not given.
- `category` (text): The kind of funding, e.g. Discretionary, Mandatory or Continuation.
- `close_date` (text): The application deadline. Empty for a forecast, as YYYY-MM-DD.
- `close_date_note` (text): What the agency says about the deadline, such as a time of day.
- `contact_details` (text): The agency's contact details as it wrote them, as plain text.
- `contact_email` (text): The contact's email address.
- `contact_name` (text): Who to contact at the agency.
- `contact_phone` (text): The contact's phone number.
- `cost_sharing_required` (true/false): Whether applicants must share the cost (cost sharing or matching).
- `department` (text): The agency's department, e.g. Department of Energy.
- `department_code` (text): The agency's department code, e.g. DOE.
- `description` (text): The synopsis (or the forecast's description), as plain text.
- `documents` (list): The files attached to the opportunity, such as the full announcement.
- `eligibility_details` (text): The agency's own words on who may apply, as plain text.
- `eligible_applicants` (list): Who may apply, as Grants.gov's applicant types.
- `estimated_award_date` (text): When a forecast's awards are expected. Empty otherwise, as YYYY-MM-DD.
- `estimated_close_date` (text): When a forecast's applications are expected to be due. Empty otherwise, as YYYY-MM-DD.
- `estimated_post_date` (text): When a forecast is expected to be posted. Empty otherwise, as YYYY-MM-DD.
- `estimated_project_start_date` (text): When a forecast's projects are expected to start. Empty otherwise, as YYYY-MM-DD.
- `estimated_total_funding` (number): The total the agency expects to award, in US dollars. Empty when not given.
- `expected_awards` (number): How many awards the agency expects to make.
- `fiscal_year` (number): A forecast's fiscal year. Empty otherwise.
- `funding_categories` (list): What the funding is for.
- `funding_category_details` (text): The agency's explanation of an Other category, as plain text.
- `funding_instruments` (list): How the money is given.
- `id` (text): Grants.gov's numeric ID for the opportunity, e.g. 364136. Get opportunity takes it.
- `last_updated` (text): When the agency last changed it, as ISO 8601.
- `links` (list): Web pages the agency links to instead of attaching a file.
- `more_info_label` (text): What that link is, in the agency's words.
- `more_info_url` (text): A link the agency gives for more about the opportunity.
- `number` (text): The opportunity number the agency gave it, e.g. DE-FOA-0003630.
- `posted_date` (text): When it was posted, or forecast for a forecast, as YYYY-MM-DD.
- `status` (text): forecasted, posted, closed or archived.
- `title` (text): The opportunity's title.
- `url` (text): The opportunity's page on Grants.gov.

**Example output**

```json
{
  "agency": "National Institutes of Health",
  "agency_code": "HHS-NIH11",
  "application_packages": [
    {
      "assistance_listing": "93.286",
      "closing_date": "2030-02-01",
      "competition_id": "FORMS-I",
      "competition_title": "Use for due date on or after January 25, 2025.",
      "opening_date": "2027-01-01",
      "package_id": "PKG00294447"
    }
  ],
  "archive_date": "2031-02-01",
  "assistance_listings": [
    {
      "number": "93.286",
      "program_title": "Discovery and Applied Research for Technological Innovations to Improve Human Health"
    },
    {
      "number": "93.866",
      "program_title": "Aging Research"
    }
  ],
  "award_ceiling": null,
  "award_floor": null,
  "category": "Discretionary",
  "close_date": "2030-12-01",
  "close_date_note": null,
  "contact_details": "NIBIB Program Officers for RFA-EB-26-004\nNIBIB_Devices@NIH.gov",
  "contact_email": "NIBIB_Devices@NIH.gov",
  "contact_name": "National Institutes of Health",
  "contact_phone": "301-402-2541",
  "cost_sharing_required": false,
  "department": "Department of Health and Human Services",
  "department_code": "HHS",
  "description": "This Notice of Funding Opportunity (NOFO) is to encourage applications from investigators to advance the development and translation of next-generation technologies to prevent, monitor, diagnose, and treat disorders within the missions of the NIH Brain Research through Advancing Innovative Neurotechnologies (BRAIN) and The Helping to End Addiction Long-term (HEAL) Initiatives.",
  "documents": [
    {
      "description": "RFA-EB-28-004-Full-Announcement.html",
      "file_name": "RFA-EB-28-004-Full-Announcement.html",
      "folder": "Full Announcement",
      "id": "355351",
      "mime_type": "text/html;charset=UTF-8",
      "size_bytes": 141672,
      "uploaded_at": "2026-10-23T09:17:22-04:00",
      "url": "https://apply07.grants.gov/grantsws/rest/opportunity/att/download/355351"
    }
  ],
  "eligibility_details": "Other Eligible ApplicantsIndian/Native American Tribal Governments (Other than Federally Recognized);Eligible Agencies of the Federal Government;U.S. Territory or Possession.",
  "eligible_applicants": [
    {
      "code": "23",
      "name": "Small businesses"
    },
    {
      "code": "00",
      "name": "State governments"
    },
    {
      "code": "20",
      "name": "Private institutions of higher education"
    }
  ],
  "estimated_award_date": null,
  "estimated_close_date": null,
  "estimated_post_date": null,
  "estimated_project_start_date": null,
  "estimated_total_funding": 6000000,
  "expected_awards": 4,
  "fiscal_year": null,
  "funding_categories": [
    {
      "code": "HL",
      "name": "Health"
    }
  ],
  "funding_category_details": null,
  "funding_instruments": [
    {
      "code": "G",
      "name": "Grant"
    }
  ],
  "id": "361380",
  "last_updated": "2026-10-23T09:17:14-04:00",
  "links": [],
  "more_info_label": null,
  "more_info_url": null,
  "number": "RFA-EB-28-004",
  "posted_date": "2026-10-23",
  "status": "posted",
  "title": "NextTech: Translational Development of Next-Generation Diagnostic and Therapeutic Devices (R18 Clinical Trial Not Allowed)",
  "url": "https://www.grants.gov/search-results-detail/361380"
}
```

### Search opportunities

Search the federal grant opportunities listed on Grants.gov by keywords, opportunity number, Assistance Listing number, agency, funding category, who may apply, funding instrument, status and how recently they were posted. Each result has its number, title, agency, status, posting date, deadline and link. No API key required.

**Inputs**

- Keywords (`keyword`, text): Words to look for in the title, synopsis and numbers, as in Grants.gov's search box. Leave empty for every opportunity.
- Opportunity number (`opportunity_number`, text): Only the opportunity with this number, exactly as the agency wrote it, such as DE-FOA-0003630.
- Assistance Listing number (`assistance_listing`, text): Only opportunities funded by this program, by its Assistance Listing number (formerly CFDA number), such as 93.866.
- Agencies (`agencies`, list): Only opportunities from these agencies. A department followed by * (such as DOE*) takes every agency in it. Leave empty for every agency.
- Funding categories (`funding_categories`, list): Only opportunities in any of these categories of funding activity. One or more of: `ACA` (Affordable Care Act), `AG` (Agriculture), `AR` (Arts), `BC` (Business and Commerce), `CD` (Community Development), `CP` (Consumer Protection), `DPR` (Disaster Prevention and Relief), `ED` (Education), `ELT` (Employment, Labor and Training), `EN` (Energy), and 18 more.
- Eligibility (`eligibilities`, list): Only opportunities open to any of these kinds of applicant, as the agency listed them. Unrestricted opportunities are listed as such, so add Unrestricted to include them. One or more of: `00` (State governments), `01` (County governments), `02` (City or township governments), `04` (Special district governments), `05` (Independent school districts), `06` (Public and State controlled institutions of higher education), `07` (Native American tribal governments (Federally recognized)), `08` (Public housing authorities/Indian housing authorities), `11` (Native American tribal organizations (other than Federally recognized tribal governments)), `12` (Nonprofits having a 501(c)(3) status with the IRS, other than institutions of higher education), and 7 more.
- Funding instruments (`funding_instruments`, list): Only opportunities that give money in any of these ways. One or more of: `CA` (Cooperative Agreement), `G` (Grant), `PC` (Procurement Contract), `O` (Other).
- Statuses (`statuses`, list): Forecasted (announced, not yet open), Posted (open for applications), Closed (past its deadline) or Archived. Forecasted and Posted by default. One or more of: `forecasted`, `posted`, `closed`, `archived`. Default: `["forecasted", "posted"]`.
- Posted within (days) (`posted_within_days`, number): Only opportunities posted, or forecast, within this many days of today, from 1 to 3,650. Works with the Forecasted and Posted statuses only. From 1 to 3650.
- Sort by (`sort`, text): The order of the results. Leave empty for the best match to the keywords, or newest first without keywords. One of: `best_match` (Best match for the keywords), `newest` (Newest posted first), `oldest` (Oldest posted first), `closing_soonest` (Closing soonest first), `closing_latest` (Closing latest first), `number_a_z` (Opportunity number, A to Z), `number_z_a` (Opportunity number, Z to A), `agency_a_z` (Agency code, A to Z), `agency_z_a` (Agency code, Z to A).
- Maximum results (`limit`, number): How many opportunities to return, from 1 to 1,000. 25 by default. From 1 to 1000. Default: `25`.
- Offset (`offset`, number): How many matches to skip, to read the next page: the previous page's offset plus its count. From 0 to 100000. Default: `0`.

**Outputs**

- `count` (number): How many are in this page of results.
- `did_you_mean` (text): A spelling Grants.gov suggests for the keywords, when it has one.
- `has_more` (true/false): Whether more matches follow this page.
- `offset` (number): How many matches were skipped before this page.
- `opportunities` (list): The matching opportunities, in order.
- `searched_for` (text): The search's filters, in words.
- `sort` (text): The order of the results, e.g. newest or best_match.
- `total` (number): How many opportunities match the search in all.

**Example output**

```json
{
  "count": 2,
  "did_you_mean": null,
  "has_more": true,
  "offset": 0,
  "opportunities": [
    {
      "agency": "Advanced Research Projects Agency Energy",
      "agency_code": "DOE-ARPAE",
      "assistance_listings": [
        "81.135"
      ],
      "close_date": "2026-11-20",
      "id": "364136",
      "number": "DE-FOA-0003630",
      "posted_date": "2026-10-21",
      "status": "posted",
      "title": "Unlocking New Levels of Output and Capacity for Key Subsurface Resources (UNLOCK)",
      "url": "https://www.grants.gov/search-results-detail/364136"
    },
    {
      "agency": "Advanced Research Projects Agency Energy",
      "agency_code": "DOE-ARPAE",
      "assistance_listings": [
        "81.135"
      ],
      "close_date": "2026-11-20",
      "id": "364135",
      "number": "DE-FOA-0003631",
      "posted_date": "2026-10-21",
      "status": "posted",
      "title": "Unlocking New Levels of Output and Capacity for Key Subsurface Resources SBIR/STTR (UNLOCK SBIR/STTR)",
      "url": "https://www.grants.gov/search-results-detail/364135"
    }
  ],
  "searched_for": "forecasted or posted, matching 'water'",
  "sort": "best_match",
  "total": 121
}
```
