Get Historical Opportunity
get_historical_opportunityFetch one Grants.gov opportunity by its numeric opportunity ID, in ANY status (open, closed, archived, or forecasted), unlike get_opportunity, which calls the live API and only reliably resolves currently-open opportunities. Returns the full record plus a computed status (derived from close/archive dates against today, the same vocabulary search_historical_opportunities uses) and data_as_of.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"opportunity_id": 358857
},
"name": "get_historical_opportunity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opportunity_id | Yes | Numeric opportunity ID (returned by search_historical_opportunities or search_opportunities as "id"). |