Base URL: https://api.wxalerts.org
Every NWS watch, warning, advisory and statement in effect, as the ingest merges them from NWWS-OI, EMWIN and the api.weather.gov CAP feed. Ask what is in effect at a point, everything inside a map view, the few most serious alerts in the country, or a view chosen for you.
Every route on this page is a GET and returns JSON. Most need no key. The two
national feeds (/alerts/active and /alerts/active/geojson) are served
only under /v1 and need an API key with the
alerts:read scope.
Browsers block calls from other websites (CORS allows only wxalerts.org), so call it from a server, script or app.
This is polling. To have the alerts for your saved places pushed to you the moment they are issued, and told when they end, use the MQTT alerts feed. To sort or color alerts, see Rank and color alerts by significance.
Access, limits and shared errors
Every route here is served twice. The bare path (for example /alerts/at) is
public and limited per address. The same path under /v1 (/v1/alerts/at)
needs a key, charges the request to the key and sends
Cache-Control: private. What differs between the two is explained in
Conventions. The two key-only routes exist only under /v1.
| Status | Body | When |
|---|---|---|
| 401 | {"detail": {"code": "api_key_required", "message": "..."}} |
A key-only route on its bare path, or /v1 with no key. The message names the /v1 path to use |
| 401 | {"detail": {"code": "api_key_invalid", "message": "..."}} |
A key was sent and is unknown, revoked or expired. This is never treated as anonymous |
| 400 | {"detail": {"code": "key_in_query", "message": "..."}} |
key or api_key in the query string. Send the key in a header |
| 403 | {"detail": {"code": "insufficient_scope", "message": "...", "scope": "alerts:read"}} |
The key lacks alerts:read |
| 422 | {"detail": [{"type": "...", "loc": ["query", "lat"], "msg": "...", "input": "..."}]} |
A parameter is missing, not a number, or out of bounds |
| 429 | {"detail": {"code": "rate_limited", "message": "..."}} |
Over the address or key budget. Carries Retry-After and RateLimit-* headers. The routes with their own tighter limit answer with a plain string detail instead, noted on each |
The 422 is the standard FastAPI validation body, an array under detail, one
entry per bad parameter. The bounding box checks below are the exception: they
answer 422 with a plain string detail. The full list of status codes is
under Errors, and the budgets under
Rate limits.
Timestamps on this page are ISO 8601 in UTC and end in Z.
The alert object
Most routes return alerts in this shape (the summary object). The GeoJSON
routes put it in each feature’s properties.
| Field | Type | Description |
|---|---|---|
id |
integer | The API’s numeric id for the alert |
vtec_key |
string or null | office.phenomena.significance.ETN.year. Null for products with no VTEC |
cap_id |
string or null | The CAP identifier, when the alert came from the CAP feed alone. Usually null when VTEC identifies it |
event |
string | The NWS event name, such as Tornado Warning |
office |
string | Issuing office, four letters, such as KBRO or PAFC |
phenomena |
string or null | VTEC hazard code: TO tornado, SV severe thunderstorm, FF flash flood, WS winter storm and so on |
significance |
string or null | VTEC significance: W warning, A watch, Y advisory, S statement. The axis to color and rank by |
etn |
integer or null | VTEC event tracking number |
status |
string | active, expired or cancelled (spelled that way, as on the MQTT feed). Only the alert page, the single-alert lookup and the ended-alerts route return anything but active |
severity |
string or null | CAP severity as the NWS sent it: Extreme, Severe, Moderate or Minor |
urgency |
string or null | CAP urgency as the NWS sent it |
certainty |
string or null | CAP certainty as the NWS sent it |
issued_at |
timestamp or null | Issuance of the newest product in the alert’s chain, so a follow-up statement moves it |
onset |
timestamp or null | When the hazard begins |
expires |
timestamp or null | The CAP “expect an update by” time, not necessarily the end of the hazard |
ends |
timestamp or null | Actual hazard end, when the product gives one |
ugc |
string array | NWS zone and county codes covered |
same |
string array | SAME (FIPS) county codes covered, as NOAA Weather Radio uses them |
headline |
string or null | The product’s headline, unedited |
description |
string or null | The product text, unedited |
instruction |
string or null | The product’s instructions, unedited |
geom_source |
string or null | Where the shape came from: polygon (the storm-based polygon the office drew), ugc (built from zone or county outlines) or none. An alert with none never appears on the routes that search by location |
sources |
string array | Which feeds delivered it: nwws, emwin and api |
updated_at |
timestamp | When the row was last seen by the ingest. It moves every minute while an alert is live, so do not read it as “last changed” |
short_id |
string | Eight-character public id of the alert’s page, https://wxalerts.org/alerts/{short_id}/ |
{
"id": 28449246,
"vtec_key": "PAFC.BZ.W.0014.2026",
"cap_id": null,
"event": "Blizzard Warning",
"office": "PAFC",
"phenomena": "BZ",
"significance": "W",
"etn": 14,
"status": "active",
"severity": "Severe",
"urgency": "Immediate",
"certainty": "Observed",
"issued_at": "2026-11-09T14:15:00Z",
"onset": "2026-11-09T20:00:00Z",
"expires": "2026-11-10T01:00:00Z",
"ends": "2026-11-10T21:00:00Z",
"ugc": ["AKZ732"],
"same": ["002063"],
"headline": "BLIZZARD WARNING REMAINS IN EFFECT FROM 11 AM THIS MORNING TO NOON AKST TUESDAY",
"description": "WWAK41 PAFC 091415 ...",
"instruction": "A Blizzard Warning means severe winter weather conditions are ...",
"geom_source": "ugc",
"sources": ["api", "emwin", "nwws"],
"updated_at": "2026-11-09T19:06:52.767357Z",
"short_id": "8k3wWa9l"
}
The alert FeatureCollection
/alerts/in-bounds, /alerts/ended-in-bounds, /alerts/active/geojson and
/alerts/focus return alerts as GeoJSON.
| Field | Type | Description |
|---|---|---|
type |
string | Always FeatureCollection |
features |
array | One feature per alert |
features[].type |
string | Always Feature |
features[].id |
integer | The alert’s numeric id |
features[].geometry |
object or null | Minified GeoJSON MultiPolygon in longitude, latitude order. Null when the alert has no shape |
features[].properties |
object | The alert object plus area, a readable place name built from the zones. area is left off /alerts/active/geojson, and an ended alert adds ended_at |
server_time |
timestamp | The database clock. Use it, not your own, to work out how long ago an alert was issued or how long it has left |
count |
integer | Number of features returned |
The properties object is the full alert object, text included, plus area.
/alerts/in-bounds and /alerts/active/geojson return only alerts that have a
shape.
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": 28589429,
"geometry": {"type": "MultiPolygon", "coordinates": [[[[-97.6, 26.54], [-97.32, 26.6], [-97.16, 26.15], [-97.52, 26.15], [-97.6, 26.54]]]]},
"properties": {
"id": 28589429,
"vtec_key": "KBRO.FA.Y.0065.2026",
"event": "Flood Advisory",
"office": "KBRO",
"phenomena": "FA",
"significance": "Y",
"status": "active",
"severity": "Minor",
"expires": "2026-11-09T21:30:00Z",
"ends": "2026-11-09T21:30:00Z",
"geom_source": "polygon",
"short_id": "38fIRcsb",
"area": "Cameron, Willacy (TX)"
}
}
],
"server_time": "2026-11-09T19:10:39.619349Z",
"count": 1
}
Caching and limits
| Route | Behavior |
|---|---|
/alerts/in-bounds |
Cache-Control: public, max-age=30 and an ETag. Send the tag back as If-None-Match and you get 304 Not Modified with no body until something in the active set changes. The tag covers the whole active set and your box, so two viewports never share one |
/alerts/in-bounds, /alerts/ended-in-bounds |
Limited to about 60 requests a minute per address between them, on top of the overall limit. Past that you get 429 with a Retry-After. Each call is a database query, so poll no faster than the 30 second cache and ask again when the map moves, not on a timer |
/v1/alerts/active/geojson |
Cache-Control: public, max-age=30 and an ETag; a request with If-None-Match gets an empty 304 until the set actually changes. Plan on 30 requests a minute at most; past that you get 429 with a Retry-After. For live updates, MQTT costs nothing between alerts |
/alerts/highest-severity, /alerts/focus |
Cache-Control: public, max-age=15 |
/alerts/page/{short_id} |
30 seconds while active, one day once ended |
/alerts/page/{short_id}/rundown |
30 seconds |
/alerts/pages |
15 minutes |
/alerts/ended-in-bounds |
Cache-Control: public, max-age=30, no ETag |
/alerts/at, /alerts/{identifier}, /v1/alerts/active |
The API sets no Cache-Control of its own. A request that carries a credential gets private, no-store |
The ETag is a quoted opaque value. A weak form (W/"..."), a comma separated
list or * in If-None-Match all match. Both 304 responses repeat the
ETag and Cache-Control headers.
On /v1 the Cache-Control becomes private (a shared cache never stores it)
and Vary: Authorization, X-API-Key, Cookie is added.
GET /alerts/active
Every active alert in the country, without geometry, newest issued first.
Key only: GET /v1/alerts/active with alerts:read. The bare path answers
401 api_key_required. Alerts with no shape are included here.
Paging is limit and offset over a stable order (issue time, then id)
with no total count: keep going until a page comes back shorter than limit.
The active set is a few hundred alerts on a typical day, so limit=2000
usually takes it in one request, which also avoids the set changing between
pages.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
event |
query | string | no | none | Exact event name, case sensitive: Tornado Warning, not tornado warning. A typo returns an empty list, not an error |
office |
query | string | no | none | Issuing office, exact: KBRO, not BRO |
severity |
query | string | no | none | CAP severity, exact: Extreme, Severe, Moderate or Minor. Any other value returns an empty list |
limit |
query | integer | no | 500 | 1 to 2000 |
offset |
query | integer | no | 0 | 0 or more |
Returns a JSON array of alert objects.
| Status | Body | When |
|---|---|---|
| 401 | api_key_required or api_key_invalid |
No key, or the bare path |
| 403 | insufficient_scope |
Key lacks alerts:read |
| 422 | validation array | limit outside 1 to 2000, offset negative, or a non-integer |
| 429 | rate_limited |
Over the per-key budget |
GET /alerts/active/geojson
Every active alert that has a shape, as one GeoJSON FeatureCollection. Newest
issued first, with no area property to keep it small, and no paging. This is
the whole national geometry set, often a few megabytes, so it has a tighter
limit of its own. Key only: GET /v1/alerts/active/geojson with
alerts:read.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
event |
query | string | no | none | Exact event name, case sensitive |
severity |
query | string | no | none | CAP severity, exact |
Returns the FeatureCollection. Sends
Cache-Control: public, max-age=30 (private on /v1) and an ETag.
| Status | Body | When |
|---|---|---|
| 304 | empty | If-None-Match matches the current ETag |
| 401, 403 | as above | Missing or bad key, or no alerts:read |
| 429 | {"detail": "Too many requests for this endpoint. ..."} (a plain string), with Retry-After and Cache-Control: no-store |
Over this route’s own limit (about 30 a minute). Respect the cache headers instead of re-polling |
GET /alerts/in-bounds
Active alerts whose shape touches a box, as a FeatureCollection. Most serious
first, the order a sidebar list is read in. This is what the live map polls.
Public: no key needed. Also at /v1/alerts/in-bounds with alerts:read.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
west |
query | number | yes | none | Longitude, -180 to 180. Must be less than east |
south |
query | number | yes | none | Latitude, -90 to 90. Must be less than north |
east |
query | number | yes | none | Longitude, -180 to 180. Boxes crossing the antimeridian are not supported |
north |
query | number | yes | none | Latitude, -90 to 90 |
Returns the FeatureCollection, with area on
each feature and alerts that have no shape left out.
| Status | Body | When |
|---|---|---|
| 304 | empty | If-None-Match matches the current ETag |
| 422 | {"detail": "south must be less than north"} |
south >= north |
| 422 | {"detail": "west must be less than east; boxes crossing the antimeridian are not supported"} |
west >= east |
| 422 | validation array | A value missing, not a number, or outside its range |
| 429 | {"detail": "Too many requests for this endpoint. ..."} (a plain string), with Retry-After and Cache-Control: no-store |
Over the per-address limit shared with ended-in-bounds |
GET /alerts/ended-in-bounds
Alerts in a box that ended within the last minutes, for a radar loop. The
live set only holds what is in effect now, so a warning that expired twenty
minutes ago would be missing from every frame it was in force for. Merge this
with /alerts/in-bounds and a frame at time T can show what was out at T. Same
FeatureCollection shape, most serious first, at most 500 features. status is
expired or cancelled, and each feature adds ended_at: the earlier of
ends and expires, or for a cancellation the time the cancelling product
arrived. An alert was in force at time T when it was issued before T and
ended_at is after T. Public. Also at /v1/alerts/ended-in-bounds.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
west, south, east, north |
query | number | yes | none | As on /alerts/in-bounds |
minutes |
query | integer | no | 70 | 1 to 180. How far back to look |
Errors are the same as /alerts/in-bounds, minus the 304. The window is
measured on the database clock, not yours.
GET /alerts/highest-severity
The most serious alerts active anywhere, ranked by significance, then by hazard
(tornado and tsunami first, down through winter, fire and flood to marine and
beach hazards), then by CAP urgency, then newest. Built for a “what matters
right now” strip: no geometry and no text, just enough to label a row and frame
a map on it. Public. Also at /v1/alerts/highest-severity.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
limit |
query | integer | no | 3 | 1 to 25 |
| Field | Type | Description |
|---|---|---|
server_time |
timestamp | The database clock |
alerts |
array | Alerts, most serious first |
alerts[].id, vtec_key, event, office, phenomena, significance, severity, urgency, issued_at, expires, ends, short_id |
As on the alert object | |
alerts[].bbox |
number array or null | [west, south, east, north] of the alert’s shape, or null for an alert with no shape. Pass it straight to a map’s fit-to-bounds call |
alerts[].area |
string | Human-readable affected area, derived from UGC zone names |
{
"server_time": "2026-11-09T19:07:19.446710Z",
"alerts": [
{
"id": 28449246,
"vtec_key": "PAFC.BZ.W.0014.2026",
"bbox": [-145.958206, 60.798342, -144.617057, 61.210759],
"event": "Blizzard Warning",
"area": "Thompson Pass (AK)",
"office": "PAFC",
"phenomena": "BZ",
"significance": "W",
"severity": "Severe",
"urgency": "Immediate",
"issued_at": "2026-11-09T14:15:00Z",
"expires": "2026-11-10T01:00:00Z",
"ends": "2026-11-10T21:00:00Z",
"short_id": "8k3wWa9l"
}
]
}
Errors: 422 when limit is outside 1 to 25. Cached for 15 seconds.
GET /alerts/focus
A map view chosen for you, with only the alerts inside it, most serious first.
Useful for a kiosk, a small teaser map or a screenshot bot. Public. Also at
/v1/alerts/focus.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
limit |
query | integer | no | 25 | 1 to 100. Most features to return |
strategy |
query | string | no | auto |
One of auto, highest-severity, most-alerts |
Strategies:
highest-severityframes the top-ranked active warning. Advisories and watches are never the anchor.most-alertsframes the office with the most active warnings and watches, or all alerts if nothing but advisories is out.autotrieshighest-severityand falls back tomost-alertswhen no warning is in effect.
| Field | Type | Description |
|---|---|---|
server_time |
timestamp | The database clock |
focus.reason |
string | Which rule chose the view: highest-severity, most-alerts or none. none means nothing with a shape qualified, and the view is the lower 48 with no features. That is not an error |
focus.center_lat, focus.center_lon |
number | Center of the view |
focus.bbox |
number array | [west, south, east, north], padded around the anchor and at least two degrees on a side |
focus.anchor_event |
string or null | Event the view is framed on. Null for most-alerts |
focus.anchor_office |
string or null | Office the view is framed on |
focus.anchor_area |
string or null | Readable area of the anchor alert, for a caption. For most-alerts it names the office’s most serious alert |
features |
array | Alerts inside the view, most serious first, as on the FeatureCollection |
count |
integer | Number of features returned |
truncated |
boolean | True when more alerts intersect the view than limit, and the least serious were dropped |
{
"server_time": "2026-11-09T19:07:19Z",
"focus": {
"reason": "highest-severity",
"center_lat": 61.0045505,
"center_lon": -145.2876315,
"bbox": [-146.42760815, 60.0045505, -144.14765485, 62.0045505],
"anchor_event": "Blizzard Warning",
"anchor_office": "PAFC",
"anchor_area": "Thompson Pass (AK)"
},
"features": [],
"count": 1,
"truncated": false
}
Busy Alaska marine offices with a hundred Small Craft Advisories do not win
most-alerts. none is also the reason when nothing qualifies for the
strategy you asked for. Errors: 422 for a strategy outside the three
values or a limit outside 1 to 100. Cached for 15 seconds.
GET /alerts/at
Every active alert covering a point, without geometry, newest issued first. The
call for “is anything in effect here”. An empty list means nothing is in
effect at that point. Alerts with no shape never match a point. Public. Also at
/v1/alerts/at.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
lat |
query | number | yes | none | Degrees north, -90 to 90 |
lon |
query | number | yes | none | Degrees east, -180 to 180 |
Returns a JSON array of alert objects, [] when none.
Errors: 422 validation array for a missing or out of range value. Swapping
latitude and longitude does not error: it asks about another place.
curl "https://api.wxalerts.org/alerts/at?lat=26.2&lon=-97.5"
GET /alerts/page/{short_id}
One alert by its short id, live or ended: what the public alert pages are built
from. Public. Also at /v1/alerts/page/{short_id}.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
short_id |
path | string | yes | none | The eight-character public id, the short_id of any alert object, such as 8k3wWa9l |
Returns the alert object plus:
| Field | Type | Description |
|---|---|---|
slug |
string | event-place-state-date. Decoration; the short id is the key |
path |
string | Canonical site-relative path, /alerts/{short_id}/{slug}/ |
area |
string | Human-readable affected area |
bbox |
number array or null | [west, south, east, north], null when the alert has no shape |
geometry |
object or null | Minified GeoJSON, as the map routes serve it |
Ended alerts are kept for 30 days and say so in status.
| Status | Body | When |
|---|---|---|
| 404 | {"detail": "no alert with short id 'xxxx'"} |
The id is not a valid short id, or no alert was ever issued under it |
| 410 | {"detail": "this alert has ended and passed the retention window"} |
The alert existed and was purged. Cache-Control: public, max-age=86400 |
This tells “this link was always wrong” apart from “this alert is over and deleted”. An active alert’s page is cached for 30 seconds, an ended one for a day.
GET /alerts/page/{short_id}/rundown
For a storm-based warning, the storm cell behind it and the places in its path.
Public. Also at /v1/alerts/page/{short_id}/rundown.
Only Tornado, Severe Thunderstorm, Extreme Wind and Special Marine warnings
with a shape get a cell. Anything else answers 200 with
reason: "not-a-cell-warning" and everything empty. places and pois are
filled only while the warning is active and the storm is still tracked.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
short_id |
path | string | yes | none | The alert’s eight-character public id |
| Field | Type | Description |
|---|---|---|
short_id |
string | The alert’s public id |
status |
string | The alert’s status: active, expired or cancelled |
storm_id |
integer or null | The storm’s id, for /v1/storms/{storm_id}/track and the storm cells routes |
match |
string or null | How the cell was found: issue-time (the ProbSevere object over the warning polygon when it was issued) or overlap-now (the active storm over the polygon now, when no scan was retained for that moment) |
reason |
string or null | Why cell or places is empty: not-a-cell-warning, no-cell-matched, or no-motion (the storm has no track to project yet) |
cell |
object or null | The storm, in the shape of a kind: cell feature’s properties on /storms/active/geojson. Null when no cell matched |
storm_active |
boolean | Whether the storm is still being tracked |
valid_time |
timestamp or null | The radar scan cell describes |
as_of |
string or null | latest (the storm’s latest scan) or issue (for an ended warning or a dissipated storm, the scan the warning was matched on) |
lead_minutes |
integer or null | How far ahead the places reach: the warning’s remaining time, 15 to 60 |
speed_kmh |
number or null | The speed the arrival times use: the cone speed, else the cell speed |
bearing_deg |
number or null | Direction the storm is moving toward, degrees clockwise from north |
places |
array | Up to 30 towns inside the storm’s cone, in arrival order |
pois |
array | Up to 50 points of interest, grouped by kind in the order listed below, each group in arrival order |
A place has name, display_name (as the search box shows it, Pensacola, FL),
state, county, population, lat, lon, minutes (from valid_time
until the storm’s leading edge reaches the place; 0 when the storm is already
over it), eta (the same arrival as a timestamp), distance_km (down the
track from the storm’s center) and turn (true when reached only by the turn
lobe, the cone along the HRRR storm motion).
A point of interest has kind, name, city, state, lat, lon,
minutes, eta, distance_km and turn, with the same meanings. kind is
one of school, college, hospital, nursing_home, assisted_living,
mobile_home_park, venue, campground, airport, prison or shelter.
{
"short_id": "9FNqeXAD",
"status": "cancelled",
"storm_id": 292687,
"match": "issue-time",
"reason": null,
"cell": {"kind": "cell", "storm_id": 292687, "prob_tor": 1, "prob_severe": 2, "speed_kmh": 50.9, "bearing_deg": 78, "valid_time": "2026-11-07T01:12:37Z", "lon": -69.381572, "lat": 42.483522},
"storm_active": false,
"valid_time": "2026-11-07T01:12:37Z",
"as_of": "issue",
"lead_minutes": null,
"speed_kmh": null,
"bearing_deg": null,
"places": [],
"pois": []
}
| Status | Body | When |
|---|---|---|
| 404 | {"detail": "no alert with short id 'xxxx'"} |
No alert under this id |
The numbers move every scan, so this is cached for 30 seconds even for an ended warning.
GET /alerts/pages
Every alert with a public page, newest first, for building a sitemap. Public.
Also at /v1/alerts/pages.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
limit |
query | integer | no | 50000 | 1 to 50000, the size of one sitemap file |
| Field | Type | Description |
|---|---|---|
pages |
array | One row per alert page, newest first |
pages[].short_id |
string | Eight-character public id |
pages[].path |
string | Canonical site-relative path |
pages[].status |
string | active, expired or cancelled |
pages[].lastmod |
timestamp | When the page last changed: the latest issuance, or for an ended alert the time it ended |
count |
integer | Number of pages returned |
{
"pages": [
{
"short_id": "8k3wWa9l",
"path": "/alerts/8k3wWa9l/blizzard-warning-thompson-pass-ak-2026-11-09/",
"status": "active",
"lastmod": "2026-11-09T19:06:52.767357Z"
}
],
"count": 1
}
Errors: 422 when limit is outside 1 to 50000. Cached for 15 minutes.
GET /alerts/{identifier}
One alert, in the alert object shape, by VTEC key, CAP id
or numeric id. Unlike the search routes this also answers for alerts that have
ended, while they are retained. Public. Also at /v1/alerts/{identifier}.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
identifier |
path | string | yes | none | A VTEC key such as PAFC.BZ.W.0014.2026, a CAP id (urn:oid:...) or the numeric id. Special Weather Statements have no VTEC key, so look those up by CAP id |
This route is declared last, so /alerts/active, /alerts/at,
/alerts/in-bounds, /alerts/pages and the other fixed paths are never read
as an identifier.
| Status | Body | When |
|---|---|---|
| 404 | {"detail": "no alert matching 'xxxx'"} |
No alert matches |
If several rows share a VTEC key (a follow-up of one event) one is returned.