https://api.weather.gov/alerts
The same alert data, but searchable through time rather than only right now. You can ask for alerts issued during a past window, which makes it the endpoint for “what was warned, and when”.
Researchers studying warning performance; journalists reconstructing an event timeline.
17 parameters
| Name | In | Required | Notes |
|---|---|---|---|
active |
query | no | List only active alerts (use /alerts/active endpoints instead) boolean |
start |
query | no | Start time string (date-time) |
end |
query | no | End time string (date-time) |
status |
query | no | Status (actual, exercise, system, test, draft) array |
message_type |
query | no | Message type (alert, update, cancel) array |
event |
query | no | Event name array |
code |
query | no | Event code array |
area |
query | no | State/territory code or marine area code This parameter is incompatible with the following parameters: point, region, region_type, zone array |
point |
query | no | Point (latitude,longitude) This parameter is incompatible with the following parameters: area, region, region_type, zone |
region |
query | no | Marine region code This parameter is incompatible with the following parameters: area, point, region_type, zone array |
region_type |
query | no | Region type (land or marine) This parameter is incompatible with the following parameters: area, point, region, zone one of: land, marine |
zone |
query | no | Zone ID (forecast or county) This parameter is incompatible with the following parameters: area, point, region, region_type array |
urgency |
query | no | Urgency (immediate, expected, future, past, unknown) array |
severity |
query | no | Severity (extreme, severe, moderate, minor, unknown) array |
certainty |
query | no | Certainty (observed, likely, possible, unlikely, unknown) array |
limit |
query | no | Limit integer |
cursor |
query | no | Pagination cursor string |
Worked example
Worked example
https://api.weather.gov/alerts?area=KS&limit=20
cURL
curl "https://api.weather.gov/alerts?area=KS&limit=20" \ -H "User-Agent: (myweatherapp.example.com, me@example.com)"