1 day by location key
Returns 1 day of weather alarms for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
AccuWeather Weather Alarms are determined using the daily forecasts for a location. An alarm exists for a location if the forecasted weather meets or exceeds specific thresholds, such as temperature extremes, heavy rainfall, or high wind speeds.
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: json
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate using your API key. Format isBearer YOUR_API_KEY.
Responses
OK
Datestring · date-time · requiredThe date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDateinteger · int64 · requiredDate of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Alarmsobject[] · requiredA list of alarms that exist for the location on that date.
MobileLinkstring · uri · requiredLink to AccuWeather's mobile site.
Linkstring · uri · requiredLink to AccuWeather's traditional site.
5 days by location key
Returns 5 days of weather alarms for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
AccuWeather Weather Alarms are determined using the daily forecasts for a location. An alarm exists for a location if the forecasted weather meets or exceeds specific thresholds, such as temperature extremes, heavy rainfall, or high wind speeds.
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: json
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate using your API key. Format isBearer YOUR_API_KEY.
Responses
OK
Datestring · date-time · requiredThe date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDateinteger · int64 · requiredDate of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Alarmsobject[] · requiredA list of alarms that exist for the location on that date.
MobileLinkstring · uri · requiredLink to AccuWeather's mobile site.
Linkstring · uri · requiredLink to AccuWeather's traditional site.
10 days by location key
Returns 10 days of weather alarms for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
AccuWeather Weather Alarms are determined using the daily forecasts for a location. An alarm exists for a location if the forecasted weather meets or exceeds specific thresholds, such as temperature extremes, heavy rainfall, or high wind speeds.
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: json
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate using your API key. Format isBearer YOUR_API_KEY.
Responses
OK
Datestring · date-time · requiredThe date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDateinteger · int64 · requiredDate of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Alarmsobject[] · requiredA list of alarms that exist for the location on that date.
MobileLinkstring · uri · requiredLink to AccuWeather's mobile site.
Linkstring · uri · requiredLink to AccuWeather's traditional site.
15 days by location key
Returns 15 days of weather alarms for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
AccuWeather Weather Alarms are determined using the daily forecasts for a location. An alarm exists for a location if the forecasted weather meets or exceeds specific thresholds, such as temperature extremes, heavy rainfall, or high wind speeds.
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: json
Headers
Authorizationstring · requiredThe
Authorizationheader is used to authenticate using your API key. Format isBearer YOUR_API_KEY.
Responses
OK
Datestring · date-time · requiredThe date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDateinteger · int64 · requiredDate of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Alarmsobject[] · requiredA list of alarms that exist for the location on that date.
MobileLinkstring · uri · requiredLink to AccuWeather's mobile site.
Linkstring · uri · requiredLink to AccuWeather's traditional site.