About this endpoint
What it does
Returns the official severe weather warnings active right now in the United States (National Weather Service) or Germany (Deutscher Wetterdienst), either for a whole country or states, or for specific map points. Rows are sorted with the most severe warnings first.
Request Body
| Parameter | Type | Description |
|---|---|---|
| mode | ENUM | Allowed values: area, point. Default: area. area: every active warning in a country, optionally only some states. point: warnings that cover specific map points. |
| country | ENUM | For area. Allowed values: US, DE. Default: US. US covers states, territories and coastal waters. |
| states | String Array | For area. US state codes or names (TX, Texas) or German state codes or names (BY, Bavaria). Empty means the whole country. An unknown state returns 400. Max 100 items. |
| lat | Number | For point: latitude of one place, for example 39.7392. Required with lon unless locations is sent. |
| lon | Number | For point: longitude of one place, for example -104.9903. Required with lat unless locations is sent. |
| locations | String Array | For point: places as "lat,lon", for example "29.7604,-95.3698". Max 25 items. Every place must be in the US or Germany, otherwise the request returns 400. |
| events | String Array | Only warnings whose event or headline contains one of these words, for example tornado, flood, wind, Frost. Max 100 items. |
| minSeverity | ENUM | Only warnings at this level or higher. Allowed values: Minor, Moderate, Severe, Extreme. |
| limit | Integer | Maximum rows returned. Default: 20. Range: 1 to 100. Also applies to point mode, so set it at least as high as the number of places. |
| includeGeometry | Boolean | Add the warning polygon (GeoJSON) in geometry when the source has one. Default: false. |
| includeTests | Boolean | Also return US test messages, which are normally hidden. |
Response
Returns a JSON object with count and an items array. Warning rows share the same core fields; fields a source does not provide are null or left out. In point mode, a place with no warning returns a short row with activeAlerts: 0.
| Parameter | Type | Description |
|---|---|---|
| count | Integer | Number of rows in items. |
| items | Object Array | Warnings, most severe first. |
| items[].id | String | Warning id from the source. |
| items[].event | String | Warning type, for example Flood Warning (US) or FROST (Germany). |
| items[].severity | ENUM | Allowed values: Minor, Moderate, Severe, Extreme. |
| items[].urgency | String | How soon to act, for example Immediate, Expected. null for German warnings. |
| items[].certainty | String | How likely the event is, for example Observed, Likely. null for German warnings. |
| items[].headline | String | Short headline. |
| items[].description | String | Full warning text. |
| items[].instruction | String | What people should do. null when the source gives none. |
| items[].areaDesc | String | Affected area in words. |
| items[].states | String Array | Codes of the states affected. Empty for offshore US areas. |
| items[].zones | String Array | US only: NWS forecast zones. |
| items[].country | String | US or DE. |
| items[].language | String | en-US or de-DE. |
| items[].sent | String | Time the warning was issued, ISO 8601 UTC. |
| items[].onset | String | Time the event starts. |
| items[].ends | String | Time the event ends. |
| items[].expires | String | Time this warning message expires; a newer update may replace it before ends. |
| items[].status | String | For example Actual, or Test with includeTests. |
| items[].messageType | String | For example Alert, Update. |
| items[].senderName | String | Issuing office, for example NWS Phoenix AZ. |
| items[].hasPolygon | Boolean | US only: true when a map polygon exists. |
| items[].geometry | Object | GeoJSON polygon. Only with includeGeometry: true; null when the warning has no polygon. |
| items[].dwdLevel | Integer | Germany only: DWD warning level. |
| items[].eventType | String | Germany only: event type in plain words, for example Frost. |
| items[].stateName | String | Germany only: state name, for example Hessen. |
| items[].warnCellId | String | Germany only: DWD warning cell id. |
| items[].activeAlerts | Integer | point mode: number of warnings at that place. |
| items[].location | String | point mode: the place as sent. |
| items[].note | String | point mode rows with no warning: for example no active official warning for this point right now. |
| items[].url | String | Link to the warning at the source. |
| items[].source | String | Data source and licence, for example Deutscher Wetterdienst (dwd.de), CC BY 4.0. Keep it for attribution. |
| items[].fetchedAt | String | Time the data was fetched, ISO 8601 UTC. |
Notes
- With an empty body, the API returns US warnings (
mode: area,country: US). mode: pointwithoutlat/lonorlocationsreturns400. More than 25 locations returns400.- German warning text is in German.
- Errors use one shape:
{"code": "invalid_input", "error": "...", "message": "..."}.



