# Grants.gov Amendment Signals: Deadline, Funding, Eligibility (`mdcurt/grants-gov-amendment-signals`) Actor

One signal per amended federal grant opportunity: deadline moved, award ceiling or total funding changed, eligibility changed, attachments replaced, forecast posted or re-dated — read from Grants.gov's own revision history, so the first run already works. Keyless, pay per signal.

- **URL**: https://apify.com/mdcurt/grants-gov-amendment-signals.md
- **Developed by:** [Matthew Curtis](https://apify.com/mdcurt) (community)
- **Categories:** News, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 88.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $35.00 / 1,000 amendment signals

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Grants.gov Amendment Signals: Deadline, Funding, Eligibility

One signal per **amended** federal grant opportunity. Grants.gov keeps every revision of an opportunity; this Actor reads that revision
history and emits a record only when something that changes an application changed: the deadline moved, the award ceiling or total funding
was corrected, the eligible applicant types or eligibility text changed, cost sharing flipped, attachments (amended NOFOs, Q\&A) were added
after posting, a forecast became a live opportunity, or a forecast's dates were pushed. Each record carries the old value, the new value,
the agency's own modification comment and the source link.

It is **stateless**: no baseline run, no key-value store to keep. The first run already returns the last N days of amendments, because the
comparison is against the pre-window revision stored by Grants.gov itself. Unchanged opportunities, publication-day edits and the NSF sync's
placeholder dates are not emitted and not charged.

### Who it is for

Grant writers, consultants and nonprofit / university development offices that have proposals in flight; AI agents that check whether a
program changed before a submission. The action a signal triggers: re-plan the submission (extension or shortened window), re-scope the
budget (ceiling or total changed), re-check eligibility, re-download the announcement package (new attachment), start the application
(forecast posted).

### Inputs

| Field | Default | What it does |
|---|---|---|
| `keyword` | `""` | Grants.gov search keyword applied to the opportunity list (title, number, agency, description). Empty = every open opportunity (≈ 1,450; one details call each, about two minutes). |
| `agencies` | `[]` | Agency codes as printed on an opportunity page (`HHS-NIH11`, `USDA-NIFA`, `DOD-ONR`). A top-level code (`HHS`, `USDA`, `DOD`) matches all of its sub-agencies. |
| `sinceDays` | `7` | Emit changes whose Grants.gov modification date falls inside the last N days. 1–2 for a daily alert, 7 for a weekly digest, max 60. |
| `kinds` | all but `description-changed` | Which change kinds to emit (list below). |
| `maxSignals` | `200` | Stop after this many signals; the scan stops as soon as the budget is spent. |
| `proxyConfiguration` | Apify Proxy, datacenter | Grants.gov served 1,453 requests from a datacenter IP with 0 blocks in testing. If the proxy cannot reach Grants.gov, a request's third attempt connects directly (the API is public and keyless). |

#### Change kinds

| `kind` | materiality | emitted when |
|---|---|---|
| `deadline-changed` | high | the application due date differs from the pre-window revision (both dates printed; `+N days`) |
| `deadline-rolled` | medium, *inferred* | the old due date had already passed when the record was edited and the new one is ≈ 1 year later — an annual programme re-dated after the fact, not an extension |
| `funding-changed` | high | award ceiling, award floor, estimated total funding or expected number of awards changed |
| `eligibility-changed` | high | the eligible applicant types list or the "Additional information on eligibility" text changed (punctuation/markup churn ignored) |
| `cost-sharing-changed` | medium | the cost-sharing / matching flag flipped |
| `category-changed` | medium | funding instrument or funding activity category list changed |
| `attachments-changed` | medium | an attachment folder was updated inside the window after posting; lists only the files created in the window; *verified* when the agency left an attachment change comment, otherwise *inferred* |
| `description-changed` | low (off by default) | the synopsis text changed and nothing above did |
| `forecast-posted` | high | a forecast became a live posting; the record shows the real due date beside the date the forecast had estimated |
| `forecast-changed` | medium | a forecast's estimated posting / application / award / project-start dates or amounts changed |

### Output record

```json
{
  "id": "47d50ccd127d61f7",
  "kind": "deadline-changed",
  "materiality": "high",
  "opportunityId": "362827",
  "opportunityNumber": "OFH-2600-DC-021C",
  "title": "FAIR HOUSING INITIATIVES PROGRAM PRIVATE ENFORCEMENT INITIATIVE",
  "agency": "Department of Housing and Urban Development",
  "agencyCode": "HUD",
  "cfda": ["14.418"],
  "sourceUrl": "https://www.grants.gov/search-results-detail/362827",
  "observedAt": "2026-11-02T22:08:51Z",
  "postedOn": "2026-07-02",
  "responseDate": "2027-01-01",
  "version": 6,
  "previousRevision": 3,
  "previousUpdatedAt": "2026-07-06T16:21:45Z",
  "modComments": "NOTE: HUD is extending the deadline of this NOFO for an additional 60 days. ...",
  "modifiedFields": ["revision", "version", "synopsisDesc"],
  "oldValue": { "responseDate": "2026-11-02" },
  "newValue": { "responseDate": "2027-01-01" },
  "affected": "Applicants preparing or considering a submission to OFH-2600-DC-021C",
  "whyItMatters": "Application deadline moved from 2026-11-02 to 2027-01-01 (+60 days). Agency comment: \"NOTE: HUD is extending the deadline ...\"",
  "confidence": "verified",
  "source": "grants.gov",
  "scrapedAt": "2026-11-10T13:30:48.836Z"
}
```

`observedAt` is the Grants.gov modification timestamp (UTC) of the current revision; `previousRevision` / `previousUpdatedAt` identify the
revision it was compared with. `confidence` is `verified` when the change is read from the revision fields themselves and `inferred` for the
two heuristic kinds (`deadline-rolled`, attachment-folder updates without an agency comment). `modComments` is the agency's own note
(≤ 300 characters). A SUMMARY record in the key-value store holds counts (listed, details checked, unchanged, signals by kind), timings and
the inferred rate limit.

### Pricing

Pay per **signal**, never per opportunity checked: **$0.05 per amendment signal + $0.005 per run** (Store discounts: −10/−20/−30 % on
Starter/Scale/Business plans). The whole feed is ≈ 25–30 signals a week (≈ $6/month for everything, daily), a keyword or agency watch
1–5 a week. A one-signal agent lookup costs $0.055. Compute for the whole feed is ≈ 2.3 minutes at 256 MB (≈ $0.004), so almost all of the
price is the signal. For comparison, page-monitoring services charge $8–99/month for a page quota and grant-prospecting suites $299–999/month.

### Measured speed and reliability (2026-11-10, datacenter proxy)

| run | result |
|---|---|
| keyword `Fair Housing`, 30 days, 1 signal (agent lookup) | 1 signal, first record 7.4 s, 30 requests, 7.8 s compute |
| whole feed, 5 days, deadline/funding/eligibility only | 3 deadline changes, first record 3.6 s, 870 requests, 96 s |
| keyword `NIH`, 14 days, forecast kinds | 11 forecasts posted, first record 1.6 s, 395 requests, 49 s |
| agencies `HUD` + `HHS-ACF`, 30 days | 7 signals, first record 4.6 s, 25 requests, 6 s |
| whole feed, 14 days, all default kinds | **50 signals** (16 forecast-posted, 13 attachments, 10 forecast-changed, 7 deadline, 3 rolled, 1 funding), 1,459 requests, 0 failed, 0 blocked, 139 s |

Precision gate before the build (`examples/sample-signals.json`): 20 random signals re-read against the raw revision history by a separate
script — **19 of 20 correct, 18 of 20 actionable**; the miss (a re-punctuated eligibility text) is now ignored by design. A second collection
of the same window an hour later reproduced the first (details in HANDOVER.md).

### Monitoring recipe

Schedule the Actor daily with `sinceDays: 2` (a one-day overlap so a late-evening amendment is never missed; ids are stable, so duplicates
are easy to drop downstream) and send the dataset to Slack, e-mail or a sheet. For a de-duplicated daily diff of any dataset, pair it with
[mdcurt/dataset-diff-monitor](https://apify.com/mdcurt/dataset-diff-monitor). Weekly digest: `sinceDays: 7`, `kinds` as default.

### For AI agents

Pass one input — `keyword` (a program name, an opportunity-number prefix such as `PAR-27` or an agency name) — and read the dataset: every
amendment to matching open opportunities in the last `sinceDays` (default 7; use 30 for "did this program change recently?"). Each record
says what changed (`kind`, `oldValue` → `newValue`), why it matters in one sentence, the agency's own comment and the Grants.gov link.
One lookup with `maxSignals: 1` costs $0.055 and returns in a few seconds; no account state, no baseline run, limited permissions only.

### Limitations

- Grants.gov's keyword search is broad (it matches descriptions too); narrow with `agencies` or an opportunity-number prefix.
- The whole feed means one details call per open opportunity (≈ 1,450 → ≈ 2–2.5 minutes). Narrowed runs take seconds.
- The agencies filter needs the exact code printed on Grants.gov for sub-agencies; top-level codes are expanded by prefix.
- Edits made on the day an opportunity was posted are treated as publication churn and dropped (a deadline correction on that day is kept).
- A revision that the agency did not comment on shows `modComments: null`; `modifiedFields` still lists the fields Grants.gov flagged.
- Closed and archived opportunities are not scanned (only `posted` and `forecasted`).

### Changelog

- 1.0.1 (2026-11-11) — reliability: opportunity details now come from the documented `api.grants.gov/v1/api/fetchOpportunity` route, with the route the Grants.gov website calls as an automatic fallback on every retry; a request that fails twice through the proxy is retried on a direct connection; a run whose requests keep failing stops within seconds with a clear message, and a scan near the run timeout exits cleanly with what it has. The first two Store runs of 1.0.0 ran into the one-hour timeout.
- 1.0.0 (2026-11-10) — first release: 10 change kinds from Grants.gov revision history, stateless, keyless, pay per signal. A deadline re-dated ≈ a year later counts as `deadline-rolled` only when the old date had already passed at the time of the edit; re-dating before the deadline is a `deadline-changed` extension (NIST CHIPS SMME, +362 days).

# Actor input Schema

## `keyword` (type: `string`):

Grants.gov search keyword applied to the opportunity list (title, number, agency, description), e.g. "housing", "NIH", "PAR-27". Leave empty for every open opportunity (≈ 1,450; one details call each, about a minute).

## `agencies` (type: `array`):

Grants.gov agency codes, e.g. \["HHS-NIH11", "USDA-NIFA", "DOD-ONR"] (the code printed on an opportunity page). A top-level code such as "HHS", "USDA" or "DOD" matches all of its sub-agencies. Leave empty for all agencies.

## `sinceDays` (type: `integer`):

Emit changes whose Grants.gov modification date falls inside the last N days (UTC). 1 for a daily alert, 7 for a weekly digest. Max 60.

## `kinds` (type: `array`):

Which amendment kinds to emit. `description-changed` (synopsis text edited with no change to dates, money or eligibility) is off by default.

## `maxSignals` (type: `integer`):

Stop after this many signals (each one is charged). The whole feed is ≈ 25–30 signals per week.

## `proxyConfiguration` (type: `object`):

Apify Proxy settings. Grants.gov's API is public and keyless and served 1,453 requests from a datacenter IP with 0 blocks in testing; if the proxy cannot reach it, a request's third attempt connects directly.

## Actor input object example

```json
{
  "keyword": "",
  "agencies": [],
  "sinceDays": 7,
  "kinds": [
    "deadline-changed",
    "deadline-rolled",
    "funding-changed",
    "eligibility-changed",
    "cost-sharing-changed",
    "category-changed",
    "attachments-changed",
    "forecast-posted",
    "forecast-changed"
  ],
  "maxSignals": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `records` (type: `string`):

One record per amended opportunity and change kind: kind, materiality, opportunity number, agency, old and new values, the agency's own modification comment, whyItMatters, confidence, sourceUrl.

## `summary` (type: `string`):

SUMMARY record: counts, duplicates and known ids skipped, blocked pages, inferred rate limit, p95 latency, time to first record and compute seconds.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keyword": "",
    "agencies": [],
    "kinds": [
        "deadline-changed",
        "deadline-rolled",
        "funding-changed",
        "eligibility-changed",
        "cost-sharing-changed",
        "category-changed",
        "attachments-changed",
        "forecast-posted",
        "forecast-changed"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("mdcurt/grants-gov-amendment-signals").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keyword": "",
    "agencies": [],
    "kinds": [
        "deadline-changed",
        "deadline-rolled",
        "funding-changed",
        "eligibility-changed",
        "cost-sharing-changed",
        "category-changed",
        "attachments-changed",
        "forecast-posted",
        "forecast-changed",
    ],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("mdcurt/grants-gov-amendment-signals").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keyword": "",
  "agencies": [],
  "kinds": [
    "deadline-changed",
    "deadline-rolled",
    "funding-changed",
    "eligibility-changed",
    "cost-sharing-changed",
    "category-changed",
    "attachments-changed",
    "forecast-posted",
    "forecast-changed"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call mdcurt/grants-gov-amendment-signals --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mdcurt/grants-gov-amendment-signals"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zHU9xRfgBtiTra9Rz/builds/WFPk16odZe2i29Wi6/openapi.json
