Goverment-issued alerts by location key
Returns severe weather alerts from official Government Meteorological Agencies and leading global weather alert providers for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
path Parameters
locationKey
string · requiredA unique ID that designates a specific location. More information can be found here.
Example: 349727
query Parameters
language
stringA string that indicates the language in which to return the response. More information can be found here.
Default: en-usformat
stringA string value that specifies what type of format to provide the response.
Default: jsondetails
booleanA boolean value that specifies whether or not to include extended information.
Default: false
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
CountryCode
string · minLength: 1 · requiredA unique ID number assigned to a specific country.
AlertID
integer · int64 · requiredA unique ID number that identifies a specific alert for a particular country.
Description
requiredAn object containing a short phrase that summarizes the alert.
Category
string · minLength: 1 · requiredA classification word or phrase that describes the alert type.
Priority
integer · int32 · requiredA ranking number that indicates the alert's importance based on the issuing authority's list of alert types. Higher impact alerts have a lower numnber. The highest priority is 1.
Type
string · minLength: 1 · requiredAn abbreviated alert description.
TypeID
string · minLength: 1 · requiredAn alphanumeric ID that indicates the alert description.
Class
string · minLength: 1 · requiredThe alert classification. Not available for all countries. Can be null.
Level
string · minLength: 1 · requiredIndicates the alert severity. Not available for all countries. Can be null.
AlarmLevel
string · minLength: 1 · requiredA color-based system that indicates the alert severity.
Source
string · minLength: 1 · requiredThe alert data provider.
SourceId
integer · int32 · requiredAn ID integer that identifies the alert data provider.
Disclaimer
string · minLength: 1 · requiredA disclaimer that must be displayed with the alert data. Can be null.
HaveReadyStatements
boolean · requiredA boolean value determining if ready statements are available.
Color
| nullAn object containing definitions for an additive color that indicates the alert type.
SourceIconUrl
string | nullSourceIconUrl
SourceTeam
string | nullSourceTeam
SourceTeamIconUrl
string | nullSourceTeamIconUrl
Area
array | nullAn array containing information that defines the requested alert location, alert timing, and alert text.
MobileLink
string | null · uriLink to severe weather alerts on AccuWeather's mobile site for the requested location.
Link
string | null · uriLink to severe weather alerts on AccuWeather's free site for the requested location.