Search Historical Opportunities
search_historical_opportunitiesSearch Grants.gov's FULL opportunity history (closed and archived opportunities back to 2004, plus forecasted opportunities not yet posted) — coverage search_opportunities' live API cannot serve, since search2 only usefully answers "what is open right now". Covers Grants.gov's full catalog, refreshed once a day (see data_as_of). Filter by agency code, CFDA/Assistance Listing number, keyword (full-text over title + description), status, opportunity category, or post-date range. Unlike search_opportunities, status here defaults to EVERY status, not just "posted" — pass status explicitly to narrow. Answers "what did this agency fund last fiscal year", "what opportunities under CFDA 93.351 have ever closed", "what is forecasted for next year that hasn't posted yet".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aln | No | Alias for cfda. | |
| cfda | No | Assistance Listing Number / CFDA number, exact match, e.g. "93.351". Alias: aln. | |
| limit | No | Rows to return, 1-500 (default 25). | |
| agency | No | Alias for agency_code. | |
| offset | No | 0-based start record, for paging. | |
| status | No | posted | closed | archived | forecasted. Omit to search every status, unlike the live tool (whose default is "posted"). | |
| keyword | No | Full-text search over the opportunity title and description (PostgreSQL websearch syntax — quote a phrase, "-word" to exclude). More forgiving than the live tool's exact-phrase keyword match. | |
| agency_code | No | Agency or sub-agency code, e.g. "NIH" or "HHS-NIH11" or "DOS". Matches as a prefix/segment against the fully-qualified codes on file (same bare-vs-qualified forgiveness as search_opportunities' `agencies`). Alias: agency. | |
| post_date_to | No | Only opportunities posted on/before this date, YYYY-MM-DD. | |
| post_date_from | No | Only opportunities posted on/after this date, YYYY-MM-DD. | |
| opportunity_category | No | Single-letter Grants.gov category code: D discretionary, M mandatory, C continuation, E earmark, O other. |