Base URL: https://api.wxalerts.org
The Storm Prediction Center’s convective outlooks: Day 1 to Day 3 categorical, and the Day 1 tornado, hail and wind probabilities. One route lists what is issued, the other returns one outlook’s risk areas.
No key needed. Also served under /v1 with an API key (outlooks:read); see Conventions. Browsers block calls from other websites (CORS allows only
wxalerts.org), so call it from a server, script or app. Limits are on the
overview.
Timestamps end in Z. Every route here is a GET.
Shared errors
| Status | Body | When |
|---|---|---|
| 401 | {"detail": {"code": "api_key_invalid", "message": "..."}} |
A key was sent and is unknown, revoked or expired |
| 403 | {"detail": {"code": "insufficient_scope", "message": "...", "scope": "outlooks:read"}} |
/v1 with a key that lacks outlooks:read |
| 429 | {"detail": {"code": "rate_limited", "message": "..."}} with Retry-After and RateLimit-* |
Over the address or key budget |
See Errors.
GET /outlooks
Which outlooks are currently issued, and what is in them: the six map products
without geometry, ordered by day and then hazard. Build a product picker from
this rather than a hard-coded list. A product that has never been fetched is
absent, and one whose polling is failing says so in stale and last_error.
areas of 0 with an empty_label is no risk, which is different from no data.
Public; also at /v1/outlooks. No parameters.
| Field | Type | Description |
|---|---|---|
server_time |
timestamp | The server’s clock when the response was built |
outlooks |
array | One summary per product, by day then hazard |
outlooks[].product |
string | The slug to pass to /outlooks/{product}/geojson |
outlooks[].day |
integer | Which day the outlook is for, 1 to 8 |
outlooks[].hazard |
string | categorical, tornado, hail or wind here; severe, fire, dry_thunder or md on the other products |
outlooks[].label |
string | A short name, such as Day 1 categorical |
outlooks[].note |
string | What this outlook actually claims, in a sentence |
outlooks[].issued_at |
timestamp or null | When the forecaster published this version |
outlooks[].valid_from |
timestamp or null | Start of the period the outlook is about |
outlooks[].valid_to |
timestamp or null | End of the period. Day 1 runs to 12Z tomorrow whatever time it was issued, so this is not “when it goes stale” |
outlooks[].forecaster |
string or null | The forecaster or forecasters, as SPC signs it |
outlooks[].areas |
integer | Drawable risk areas. Zero is a normal, common answer |
outlooks[].empty_label |
string or null | SPC’s own phrasing when there is nothing to draw, such as Less Than 5% All Areas. Null when there are areas |
outlooks[].fetched_at |
timestamp | When the poller last reached SPC for this |
outlooks[].changed_at |
timestamp | When the content last actually moved. Lags fetched_at by design |
outlooks[].expired |
boolean | Whether valid_to is in the past. Say so rather than draw it silently |
outlooks[].stale |
boolean | Whether polling has failed for longer than three of its intervals. What is stored may still be correct; it is no longer confirmed |
outlooks[].last_error |
string or null | Why the last poll failed. Null after a success |
{
"server_time": "2026-11-09T19:06:41.749666Z",
"outlooks": [
{
"product": "day1-categorical",
"day": 1,
"hazard": "categorical",
"label": "Day 1 categorical",
"note": "Today's severe risk in the five named categories, from General Thunderstorms through High. Valid to 12Z tomorrow.",
"issued_at": "2026-11-09T16:09:00Z",
"valid_from": "2026-11-09T16:30:00Z",
"valid_to": "2026-11-10T12:00:00Z",
"forecaster": "Mosier/Moore",
"areas": 1,
"empty_label": null,
"fetched_at": "2026-11-09T19:03:05.075558Z",
"changed_at": "2026-11-09T16:20:25.151796Z",
"expired": false,
"stale": false,
"last_error": null
}
]
}
Cached for 5 minutes (max-age=300). There are no route specific errors.
GET /outlooks/{product}/geojson
One outlook’s risk areas as GeoJSON, lowest risk first, which is also the order
to draw them. Public; also at /v1/outlooks/{product}/geojson. There is no
bounding box parameter: an outlook is a handful of national polygons.
| Name | In | Type | Required | Default | Bounds and notes |
|---|---|---|---|---|---|
product |
path | string | yes | none | A slug from Every product, such as day1-categorical. Any other value is a 404 that lists the valid ones |
| Field | Type | Description |
|---|---|---|
type |
string | Always FeatureCollection |
server_time |
timestamp | The server’s clock |
outlook |
object | The same summary object /outlooks returns for this product |
features |
array | The risk areas, lowest risk first. Empty when there is nothing to draw, which is a normal answer, not an error |
features[].geometry |
object | A Polygon or MultiPolygon in WGS84, four decimal places |
features[].properties.product |
string | The product slug |
features[].properties.level |
string | The category (TSTM, MRGL, SLGT, ENH, MDT, HIGH) or the probability as a string (5%, 15%), or SIG for the hatched area |
features[].properties.rank |
integer | The order the level sorts in |
features[].properties.label |
string or null | SPC’s wording for the level |
features[].properties.stroke, fill |
string or null | SPC’s own colors as hex |
features[].properties.significant |
boolean | True on the hatched significant-severe area |
{
"type": "FeatureCollection",
"server_time": "2026-11-09T19:06:50.484971Z",
"outlook": {"product": "day1-categorical", "day": 1, "hazard": "categorical", "label": "Day 1 categorical", "areas": 1, "expired": false, "stale": false},
"features": [
{
"type": "Feature",
"geometry": {"type": "MultiPolygon", "coordinates": [[[[-101.06, 30.7], [-99.82, 31.12], [-98.8, 31.09], [-101.06, 30.7]]]]},
"properties": {
"product": "day1-categorical",
"level": "TSTM",
"rank": 2,
"label": "General Thunderstorms Risk",
"stroke": "#55BB55",
"fill": "#C1E9C1",
"significant": false
}
}
]
}
(The outlook object is abbreviated here; it carries every field listed under
/outlooks.)
| Status | Body | When |
|---|---|---|
| 404 | {"detail": "Unknown outlook 'x'. Known: day1-categorical, ..."} |
Not a product slug. The detail lists every valid one |
| 503 | {"detail": "No outlook has been fetched for 'x' yet."} |
A real product that has never been fetched on this deployment. Retry later rather than dropping it from a menu |
Cached for 5 minutes (max-age=300).
Field notes
note: show it; it is the difference between “15% wind” and “a 15% chance of 58 mph gusts within 25 miles”.stalemeans polling has failed for more than three of its usual intervals (about 15 minutes for the map products, 90 for the daily ones, 6 for mesoscale discussions).- Coordinates are rounded to four decimal places (about 11 m) and are not simplified, so a boundary matches the one SPC drew. An outlook is a handful of national polygons totalling a few kilobytes, and the point of the layer is the shape of the day across the country.
rankis SPC’s own number for categorical levels (2, 3, 4, 5, 6, 8), the percentage itself for probabilities, and 100 forSIG.levelis"5%","15%","30%"and so on on a probability outlook.labelon a risk area is SPC’s wording for the level, such as"Slight Risk".
Drawing it
Use stroke and fill. The colors of a convective outlook are the product,
and readers already know how to read them.
Features come back lowest risk first, which is also the order to draw them: a Slight Risk area sits inside the General Thunderstorms area it is part of, and drawing them the other way round hides it.
On the tornado, hail and wind outlooks, significant: true marks the hatched
10% significant-severe area, and it is always the last feature. Hatch it
rather than filling it. It is a second statement about ground the
probabilities have already colored (“of those storms, 10% or more would be EF2
or stronger”), and a solid fill reads as a higher probability than SPC issued.
Every product
The six map products, the ones /outlooks lists:
{product} |
|
|---|---|
day1-categorical |
today’s categorical risk, to 12Z tomorrow |
day2-categorical |
tomorrow, 12Z to 12Z |
day3-categorical |
the day after tomorrow, 12Z to 12Z |
day1-tornado |
chance of a tornado within 25 miles, with EF2+ hatching |
day1-hail |
chance of 1 inch or larger hail within 25 miles, with 2 inch hatching |
day1-wind |
chance of 58 mph or stronger gusts within 25 miles, with 75 mph hatching |
The route also serves SPC’s other products, which /outlooks does not list.
Read their summary from the outlook member of their own response.
{product} |
|
|---|---|
severe-day4 to severe-day8 |
Day 4 to 8 severe probability. SPC draws only 15% and 30% |
fire-day1, fire-day2 |
fire weather from wind and low humidity: levels ELEV, CRIT, EXTM |
drythunder-day1, drythunder-day2 |
dry thunderstorms: levels IDRT, SDRT |
fire-day3 to fire-day8 |
probability of critical fire weather |
drythunder-day3 to drythunder-day8 |
probability of dry thunderstorms |
md |
active mesoscale discussions: level and rank are the discussion number, label its “concerning” line. empty_label is "No active mesoscale discussions" when there are none |