v1

latestSwagger 2.02026-07-132137180.4 KB
Alerts

Returns severe weather alerts issued by meteorological agencies - Given a lat/lon.

Returns severe weather alerts issued by meteorological agencies - given a lat, and a lon.

get/alerts

Query parameters

latnumber double

Latitude component of location.

lonnumber double

Longitude component of location.

citystring string

City search.. Example - &city=Raleigh,NC or &city=Berlin,DE or city=Paris&country=FR

postal_codestring string

Postal Code. Example: 28546

countrystring string

Country Code (2 letter) - to be used with postal_code.

stationstring string

Station Call ID.

keystring string required

Your registered API key.

Response

Weather Alert Object.

city_namestring

Nearest city name

country_codestring

Country code

latnumber

Latitude

lonnumber

Longitude

state_codestring

State or region code

timezonestring

Timezone for the requested location

Example response

{
  "city_name": "Rangely",
  "country_code": "US",
  "lat": 38,
  "lon": -78.25,
  "state_code": "CO",
  "timezone": "America/Denver",
  "alerts": [
    {
      "title": "Flood Warning issued February 8 at 8:51PM CST expiring February 12 at 8:24AM CST by NWS St Louis MO",
      "description": "Mississippi River at Chester\n\n.This Flood Warning is a result of 1-2 inches of rainfall across\nthe basin earlier this week...\nThe Flood Warning continues for\nthe Mississippi River at Chester\n* until Tuesday morning.\n* At  8:30 PM Friday the stage was 26.8 feet.\n* Flood stage is 27.0 feet.\n* Minor flooding is forecast.\n* The river is forecast to rise above flood stage by tonight and to\ncrest near 29.0 feet by Saturday evening. The river is forecast to\nfall below flood stage by Monday morning.\n* Impact:  At 28.0 feet...Unleveed islands near Chester and the prison\nfarm floods.\n* Impact:  At 27.0 feet...Flood Stage.  Unprotected farmland on right\nbank begins to flood.",
      "severity": "Warning",
      "effective_utc": "2019-02-09T02:51:00",
      "effective_local": "2019-02-08T21:51:00",
      "expires_utc": "2019-02-10T02:51:00",
      "expires_local": "2019-02-09T21:51:00",
      "onset_utc": "2019-02-09T03:00:00",
      "onset_local": "2019-02-08T22:00:00",
      "ends_utc": "2019-02-10T14:24:00",
      "ends_local": "2019-02-10T08:24:00",
      "uri": "https://api.weather.gov/alerts/NWS-IDP-PROD-3361975-2942026"
    }
  ]
}