NWS Weather Alerts API - Active by County or ZIP Code
Pricing
$2.00 / 1,000 alerts
NWS Weather Alerts API - Active by County or ZIP Code
Official National Weather Service active alerts (warnings, watches, advisories) for U.S. counties, ZIP codes or states, with severity, urgency, certainty, onset/ends/expires, instruction and link. One row per alert. $2.00 per 1,000 alerts. Not endorsed by NOAA or the National Weather Service.
Pricing
$2.00 / 1,000 alerts
Rating
0.0
(0)
Developer
InfoComp Data
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
10 days ago
Last modified
Categories
Features
Share
NWS Weather Alerts API: Active by County or ZIP Code
Get currently active official National Weather Service alerts (warnings, watches, advisories, statements) for U.S. counties, ZIP codes or whole states. One row per alert with event, severity, urgency, certainty, headline, affected area, onset / ends / expires, issuing NWS office, recommended action (instruction) and a link to the official alert.
Data comes from the keyless official National Weather Service API (api.weather.gov/alerts/active). ZIP codes are resolved with the U.S. Census Bureau ZIP Code Tabulation Area center point (TIGERweb), then NWS alerts for that point are returned. No scraping, no API key.
Not endorsed by NOAA or the National Weather Service. NWS alert data is a U.S. government work in the public domain. ZIP lookups use Census Bureau data but are not endorsed or certified by the Census Bureau.
Who is it for?
- Insurance, property, restoration and field-service teams that need to know what is active for a list of counties or ZIPs.
- Developers who want a clean one-row-per-alert feed filtered by severity or event instead of parsing CAP/GeoJSON.
- Newsletters, dashboards and notification tools that poll weather hazards by location.
Pricing
$2.00 per 1,000 alerts. One Alert event ($0.002) per saved row. No start fee, no run fee. Failed lookups, unknown locations, locations with no matching alerts, and duplicate alerts are free. If you set a maximum cost per run, the Actor stops cleanly once it is reached (it checks before fetching each location and before saving rows).
| Alerts | Price |
|---|---|
| 25 (default prefilled run) | $0.05 |
| 1,000 | $2.00 |
| 10,000 | $20.00 |
An empty result (nothing active right now) is normal and costs nothing.
Input
| Field | What it does |
|---|---|
counties | NWS county code (TXC453), 5-digit FIPS (48453), state + county name (TX, Travis or Travis County, TX), or an NWS forecast-zone code (TXZ192). Counties are matched on the alert's UGC and SAME (FIPS) codes. |
zipCodes | 5-digit ZIPs (ZIP+4 accepted, the +4 is ignored). Resolved to the ZIP Code Tabulation Area center point; alerts covering that point are returned. |
states | Two-letter state / territory codes or full names: every active alert in the state. Prefilled CA, FL, AK. If you give no counties, ZIPs or states (e.g. {}), CA, FL, AK are used. |
severity | Optional filter: Extreme, Severe, Moderate, Minor, Unknown. |
events | Optional filter by event name, case-insensitive partial match (e.g. Tornado Warning, Flood). |
maxResults | Default 25, max 500. Each alert is saved and charged once even if it matches several locations. |
Up to 25 locations (counties + ZIPs + states) per run.
Example: {"counties": ["CA, San Diego", "06017", "TXC453"], "zipCodes": ["99501"], "severity": ["Severe", "Extreme"]}
Output sample (real alert, fetched 2026-11-14 with the default input)
{"alertId": "urn:oid:2.49.0.1.840.0.884f0a1a387ff0cfd27b1b0f712f3cb6c99ed622.002.1","event": "High Surf Warning","severity": "Moderate","urgency": "Expected","certainty": "Likely","headline": "High Surf Warning issued November 14 at 9:40AM PST until November 15 at 4:00AM PST by NWS Eureka CA","area": "Southwestern Humboldt; Coastal Mendocino","onset": "2026-11-14T09:40:00-08:00","ends": "2026-11-15T04:00:00-08:00","expires": "2026-11-15T04:00:00-08:00","effective": "2026-11-14T09:40:00-08:00","sent": "2026-11-14T09:40:00-08:00","sender": "NWS Eureka CA","instruction": "Large breaking waves along the coast will lead to increased wave\nrun-up on beaches with waves topping and washing over large rocks\nand jetties. These large waves can be erratic and unpredictable.\nUse extra caution near the surf zone as these large waves will be\ncapable of sweeping people into the frigid and turbulent ocean\nwater. Mariners traversing the bar are urged to exercise extreme\ncaution or stay in port until the threat subsides. Please contact\nthe U.S. Coast Guard for information regarding harbor and bar\nclosures.","description": "* WHAT...Dangerously large breaking waves 22 to 30 feet. * WHERE...Southwestern Humboldt and Coastal Mendocino Counties. * WHEN...Until 4 AM PST Sunday. * IMPACTS...Breaking waves can sweep people ...","messageType": "Update","category": "Met","response": "Avoid","ugcCodes": ["CAZ104","CAZ109"],"sameCodes": ["006023","006045"],"matchedLocation": "CA","link": "https://api.weather.gov/alerts/urn:oid:2.49.0.1.840.0.884f0a1a387ff0cfd27b1b0f712f3cb6c99ed622.002.1","dataCredit": "Official National Weather Service alerts (api.weather.gov/alerts/active)","disclaimer": "Not endorsed by NOAA or the National Weather Service. Data is a U.S. government work in the public domain. ZIP lookups use Census Bureau data but are not endorsed or certified by the Census Bureau.","scrapedAt": "2026-11-14T19:21:21Z"}
Fields: alertId, event, severity, urgency, certainty, headline, area, onset, ends, expires, effective, sent, sender, instruction, description, messageType, category, response, ugcCodes, sameCodes, matchedLocation, link, dataCredit, disclaimer, scrapedAt. Run summary (locations, unknown locations, timing) is in the key-value store as OUTPUT.
Limits and caveats
- Active alerts only: this is a live snapshot, not history. The result changes minute to minute and can be empty.
- A county matches when the alert's UGC list contains the county code or its SAME list contains the county FIPS. Alerts for a zone that covers only part of a county are included.
- A ZIP is matched by its Census ZCTA center point, which can differ from the postal ZIP boundary. Alerts that only cover another part of the ZIP area are not returned.
- Marine and offshore zones are returned only through state / point matches that the NWS API reports.
- Reasonable use: the Actor sends a User-Agent with a website only, limited concurrency, and a 240-second fetch budget; failed requests are retried at most 3 times.
- The NWS may require an API key in the future; the Actor would then need an update.