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
locationKeystring · requiredA unique ID that designates a specific location. More information can be found here.
Example: 349727
query Parameters
languagestringA string that indicates the language in which to return the response. More information can be found here.
Default: en-usformatstringA string value that specifies what type of format to provide the response.
Default: jsondetailsbooleanA boolean value that specifies whether or not to include extended information.
Default: false
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate using your API key. Format isBearer YOUR_API_KEY.
Responses
OK
CountryCodestring · minLength: 1 · requiredA unique ID number assigned to a specific country.
AlertIDinteger · int64 · requiredA unique ID number that identifies a specific alert for a particular country.
DescriptionrequiredAn object containing a short phrase that summarizes the alert.
Categorystring · minLength: 1 · requiredA classification word or phrase that describes the alert type.
Priorityinteger · 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.
Typestring · minLength: 1 · requiredAn abbreviated alert description.
TypeIDstring · minLength: 1 · requiredAn alphanumeric ID that indicates the alert description.
Classstring · minLength: 1 · requiredThe alert classification. Not available for all countries. Can be null.
Levelstring · minLength: 1 · requiredIndicates the alert severity. Not available for all countries. Can be null.
AlarmLevelstring · minLength: 1 · requiredA color-based system that indicates the alert severity.
Sourcestring · minLength: 1 · requiredThe alert data provider.
SourceIdinteger · int32 · requiredAn ID integer that identifies the alert data provider.
Disclaimerstring · minLength: 1 · requiredA disclaimer that must be displayed with the alert data. Can be null.
HaveReadyStatementsboolean · requiredA boolean value determining if ready statements are available.
Color| nullAn object containing definitions for an additive color that indicates the alert type.
SourceIconUrlstring | nullSourceIconUrl
SourceTeamstring | nullSourceTeam
SourceTeamIconUrlstring | nullSourceTeamIconUrl
Areaarray | nullAn array containing information that defines the requested alert location, alert timing, and alert text.
MobileLinkstring | null · uriLink to severe weather alerts on AccuWeather's mobile site for the requested location.
Linkstring | null · uriLink to severe weather alerts on AccuWeather's free site for the requested location.