NWS Weather Alerts Delta Monitor avatar

NWS Weather Alerts Delta Monitor

Pricing

$5.00 / 1,000 alert delivereds

Go to Apify Store
NWS Weather Alerts Delta Monitor

NWS Weather Alerts Delta Monitor

Watchlist-based delta monitor of U.S. National Weather Service active weather alerts — emits one dataset item per newly observed alert matching your state/zone/event-type/severity watchlist. Free when nothing changes. Public data: https://api.weather.gov/alerts/active

Pricing

$5.00 / 1,000 alert delivereds

Rating

0.0

(0)

Developer

Valunex

Valunex

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

15 days ago

Last modified

Categories

Features

Limited permissions

Share

Watchlist-based delta monitor of U.S. National Weather Service (NWS) active weather alerts. Emits one dataset alert per newly observed NWS alert matching a state / zone / event-type / severity watchlist — "free when nothing changes" (unchanged replays emit nothing).

Discovery (search terms)

NWS weather alerts monitor · National Weather Service alert watchlist · severe weather alert tracker · api.weather.gov alerts monitor · weather.gov active alerts delta · NOAA weather alert monitor · NWS tornado flood winter weather fire weather watchlist

Who it is for

Commercial insurers (hail/wind/storm claims), construction and site managers, event venues and organizers, schools, and logistics and fleet operators that need early severe-weather signal to reduce property loss and downtime.

What it monitors

The NWS active-alerts feed (https://api.weather.gov/alerts/active?status=actual) for new active weather alerts — tornado, severe thunderstorm, flood, flash flood, winter weather and fire weather — matching the watchlist. The Actor emits one dataset item per newly observed alert since the last run.

Data source

Public NWS data only — no API key, no login, no proxies:

No credentials, no proxies, no scraping of anti-bot pages, no commercial inference (no LLMs) inside the product.

Input

See actor/.actor/input_schema.json. All fields optional; the default input watches every active alert nationwide.

  • watchlist: array of pipe-separated filter strings "state|zone|eventType|severity" (max 50). Every field is optional — leave it empty to match anything (e.g. "CA||Flash Flood|Severe" matches California flash-flood alerts of any severity; "|||" matches everything). Leave the watchlist empty to monitor every active alert nationwide. One checkpoint is kept per entry so repeat runs emit only new alerts.
    • state: U.S. state 2-letter ANSI code (e.g. "CA"). Matched against the alert's UGC zone state prefix and area description.
    • zone: NWS UGC zone code (e.g. "NMC007"). Matched against the alert's geocode UGC zones and affected zones.
    • eventType: case-insensitive substring matched against the NWS event name (e.g. "Tornado", "Severe Thunderstorm", "Flash Flood", "Winter Storm", "Fire Weather").
    • severity: alert severity (e.g. "Extreme", "Severe", "Moderate", "Minor"). Case-insensitive.
  • sinceDays (1-365, default 1): how far back to look for active alerts on the first run; repeat runs only emit alerts newer than the last checked state.
  • maxResults (1-200, default 50): cap on alerts emitted in a single run.

Example (severe flood watchlist for California):

{
"watchlist": [
"CA||Flash Flood|Severe",
"CA||Flood|Severe"
],
"sinceDays": 1,
"maxResults": 50
}

Output

One dataset item per new weather alert alert. Sample:

{
"alertId": "urn:oid:2.49.0.1.840.0.c23205fe48dff016d59bd5b73fabc636b758456a.002.1",
"event": "Severe Thunderstorm Watch",
"severity": "Severe",
"urgency": "Future",
"certainty": "Possible",
"effective": "2026-11-01T19:00:00-07:00",
"expires": "2026-11-01T21:00:00-07:00",
"onset": "2026-11-01T19:00:00-07:00",
"sent": "2026-11-01T11:45:00-07:00",
"areaDesc": "Colfax, NM; Guadalupe, NM; Lincoln, NM",
"state": "NM",
"zones": ["NMC007", "NMC019", "NMC027"],
"senderName": "NWS Albuquerque NM",
"status": "Actual",
"messageType": "Update",
"category": "Met",
"web": "https://alerts.weather.gov/cap/...php",
"eventTimeMs": 1790000200000,
"newSinceLastRun": true,
"watchlistMatched": { "state": "NM", "zone": null, "eventType": null, "severity": null },
"source": "https://api.weather.gov/alerts/active"
}

Checkpoint / delta behaviour

State (a per-entry since-time checkpoint plus a set of seen alert ids) is kept per watchlist entry in the Actor default key-value store. Repeat runs emit only genuinely new alerts matching the watchlist; unchanged replays emit nothing ("free when nothing changes"). Resetting the store re-emits the baseline.

Limits

  • Max 50 watchlist entries, 200 alerts per run, 365-day lookback.
  • The full set of currently active alerts is fetched once per run (~400-500 alerts, ~1 second) and filtered client-side; one API failure never aborts the run.

Files

  • actor/main.py — Apify SDK Python Actor
  • actor/requirements.txt — pinned deps (apify==4.1.0, httpx==0.27.2)
  • actor/tests/test_monitor.py — deterministic unit tests, no network
  • actor/.actor/actor.json, .actor/input_schema.json, .actor/output_schema.json, .actor/dataset_schema.json — Apify platform metadata

Verification

Run pytest actor/tests before release (builder acceptance criterion). The suite is deterministic and needs no network. Run ruff check actor/ and ruff format --check actor/ to keep the source clean.

Licensing

Only Apify SDK + httpx. Original code; no competitor code copied; no Apex code; no secrets committed. Public domain US government data.