> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Grants.gov

> US federal grant opportunities from Grants.gov: keyword and filter search over forecasted, posted, closed and archived opportunities, and the full detail of one opportunity.

![](https://mintcdn.com/webrouter/gPu3tCeozwRcDBjt/logo/data-apis/grants-gov.webp?fit=max\&auto=format\&n=gPu3tCeozwRcDBjt\&q=85\&s=eab37ccd49db941f7beca5459ffad3b1)

[Web Catalog · Government](https://docs.webrouter.net/data-apis.md?category=government)

No key needed

Endpoints

2

Auth

None

[Vendor docs](https://www.grants.gov/api/api-guide)

## Notes

* search2 and fetchOpportunity are keyless; other Grants.gov REST APIs need a key issued through the Help Desk and are not listed here.
* Both calls are reads over POST with a JSON body, and wrap the answer as \{errorcode, msg, token, data}; errorcode 0 means success.
* Multi-value filters are one string joined with '|' (e.g. oppStatuses 'forecasted|posted').

## Endpoints

POST

Search grant opportunities

Opportunities matching a keyword and filters, with id, number, title, agency, open and close dates, status and assistance listing numbers, plus facet counts.

[Open](#grants-gov-search)

POST

Get a grant opportunity

Full detail of one opportunity: synopsis, agency contact, award ceiling and floor, dates, eligibility and category.

[Open](#grants-gov-opportunity-get)

### Search grant opportunities

POST

`/v1/api/search2`

`grants-gov.search`

Opportunities matching a keyword and filters, with id, number, title, agency, open and close dates, status and assistance listing numbers, plus facet counts.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`keyword`</td><td>string</td><td>body</td><td>Free-text keyword. Example `health`</td></tr>
    <tr><td>`rows`</td><td>integer</td><td>body</td><td>Number of results to return. Example `10`</td></tr>

    <tr>
      <td>
        `oppNum`
      </td>

      <td>
        string
      </td>

      <td>
        body
      </td>

      <td>
        Funding opportunity number.
      </td>
    </tr>

    <tr><td>`oppStatuses`</td><td>string</td><td>body</td><td>Statuses joined with '|': forecasted, posted, closed, archived. Example `forecasted|posted`</td></tr>
    <tr><td>`agencies`</td><td>string</td><td>body</td><td>Agency code(s), e.g. HHS. Example `HHS`</td></tr>
    <tr><td>`eligibilities`</td><td>string</td><td>body</td><td>Eligibility code(s), e.g. 01 for county governments. Example `01`</td></tr>
    <tr><td>`fundingCategories`</td><td>string</td><td>body</td><td>Funding category code(s), e.g. HL (health), AR (arts). Example `HL`</td></tr>
    <tr><td>`aln`</td><td>string</td><td>body</td><td>Assistance Listing Number (formerly CFDA). Example `93.866`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.grants.gov/api/common/search2) · Same job: [NIH RePORTER](https://docs.webrouter.net/data-apis/nih-reporter.md#nih-reporter-projects-search)

```python Python theme={null}
router.call_data_api("grants-gov.search", {'keyword': 'health', 'rows': 10, 'oppStatuses': 'forecasted|posted', 'agencies': 'HHS', 'eligibilities': '01', 'fundingCategories': 'HL', 'aln': '93.866'})
```

```text MCP theme={null}
call_data_api(endpoint="grants-gov.search", params={"keyword": "health", "rows": 10, "oppStatuses": "forecasted|posted", "agencies": "HHS", "eligibilities": "01", "fundingCategories": "HL", "aln": "93.866"})
```

> [!NOTE]
>
> * A read over POST.
> * The response's facet lists (oppStatusOptions, eligibilities, fundingCategories, fundingInstruments, agencies) give the codes valid for the filters, with counts.

### Get a grant opportunity

POST

`/v1/api/fetchOpportunity`

`grants-gov.opportunity.get`

Full detail of one opportunity: synopsis, agency contact, award ceiling and floor, dates, eligibility and category.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`opportunityId` required</td><td>integer</td><td>body</td><td>Opportunity id (the 'id' from a search hit, not the opportunity number). Example `289999`</td></tr>
  </tbody>
</table>

[Vendor docs](https://www.grants.gov/api/common/fetchopportunity)

```python Python theme={null}
router.call_data_api("grants-gov.opportunity.get", {'opportunityId': 289999})
```

```text MCP theme={null}
call_data_api(endpoint="grants-gov.opportunity.get", params={"opportunityId": 289999})
```

> [!NOTE]
>
> * A read over POST.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.