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
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: json
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
Date
string · date-time · requiredThe date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDate
integer · int64 · requiredDate of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Alarms
object[] · requiredA list of alarms that exist for the location on that date.
MobileLink
string · uri · requiredLink to AccuWeather's mobile site.
Link
string · 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
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: json
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
Date
string · date-time · requiredThe date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDate
integer · int64 · requiredDate of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Alarms
object[] · requiredA list of alarms that exist for the location on that date.
MobileLink
string · uri · requiredLink to AccuWeather's mobile site.
Link
string · 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
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: json
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
Date
string · date-time · requiredThe date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDate
integer · int64 · requiredDate of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Alarms
object[] · requiredA list of alarms that exist for the location on that date.
MobileLink
string · uri · requiredLink to AccuWeather's mobile site.
Link
string · 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
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: json
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
Date
string · date-time · requiredThe date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochDate
integer · int64 · requiredDate of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Alarms
object[] · requiredA list of alarms that exist for the location on that date.
MobileLink
string · uri · requiredLink to AccuWeather's mobile site.
Link
string · uri · requiredLink to AccuWeather's traditional site.