Weather Alarms API Parameters
Request parameters | Response parameters
Weather alarms API query string parameters
Parameter | Description | Default value | |
---|---|---|---|
api | Hostname to be used only in production: api.accuweather.com | N/A | Required |
apidev | Hostname to be used only in development: apidev.accuweather.com | N/A | Required |
apikey | Unique code used to access the API | N/A | Required |
version | Version of the API | v1 | Required |
locationkey | Unique ID used to search for a specific location | N/A | Required |
format | Format of the response | JSON | Optional |
language | String indicating the language in which to return the resource | en-us | Optional |
Weather alarms API response parameters
Parameter | Description | |||||
---|---|---|---|---|---|---|
Date | The date for which the alarms exist as displayed in ISO8601 format: yyyy-mm-ddThh:mm:ss±hh:mm | |||||
EpochDate | Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). | |||||
Alarms | A list of alarms that exist for the location on that date | |||||
AlarmType | Type of alarms in effect: Rain, Ice, Snow, Wind, WindGust or Thunderstorm | |||||
Value | Metric and imperial values of the alarms. For Rain, Snow and Ice, this will be the total accumulation for the day. For Wind or Wind or WindGust, the value is the maximum speed. For Thunderstorm, the value is the maximum thunderstorm probability. |
|||||
Metric | Rain: mm Ice: mm Snow: cm Wind: kph WindGust: kph Thunderstorm: % |
|||||
Value | Rounded value of the alarm type in above units | |||||
Unit | Type of unit for the alarm value above | |||||
UnitType | Numeric value that can be used for unit translations | |||||
Imperial | Rain: in Ice: in Snow: in Wind: mph WindGust: mph Thunderstorm: % |
|||||
Value | Rounded value of the alarm type in above units | |||||
Unit | Type of unit for the alarm value above | |||||
UnitType | Numeric value that can be used for unit translations | |||||
Day | ||||||
Value | Metric and imperial day values of the alarms. Applies to the daytime forecast. For Rain, Snow and Ice, this will be the total accumulation. For Wind or Wind or WindGust, the value is the maximum speed. For Thunderstorm, the value is the maximum thunderstorm probability. |
|||||
Metric | Rain: mm Ice: mm Snow: cm Wind: kph WindGust: kph Thunderstorm: % |
|||||
Value | Rounded value of the alarm type in above units | |||||
Unit | Type of unit for the alarm value above | |||||
UnitType | Numeric value that can be used for unit translations | |||||
Imperial | Rain: in Ice: in Snow: in Wind: mph WindGust: mph Thunderstorm: % |
|||||
Value | Rounded value of the alarm type in above units | |||||
Unit | Type of unit for the alarm value above | |||||
UnitType | Numeric value that can be used for unit translations | |||||
Night | ||||||
Value | Metric and imperial night values of the alarms. Applies to the overnight forecast. For Rain, Snow and Ice, this will be the total accumulation. For Wind or Wind or WindGust, the value is the maximum speed. For Thunderstorm, the value is the maximum thunderstorm probability. |
|||||
Metric | Rain: mm Ice: mm Snow: cm Wind: kph WindGust: kph Thunderstorm: % |
|||||
Value | Rounded value of the alarm type in above units | |||||
Unit | Type of unit for the alarm value above | |||||
UnitType | Numeric value that can be used for unit translations | |||||
Imperial | Rain: in Ice: in Snow: in Wind: mph WindGust: mph Thunderstorm: % |
|||||
Value | Rounded value of the alarm type in above units | |||||
Unit | Type of unit for the alarm value above | |||||
UnitType | Numeric value that can be used for unit translations | |||||
MobileLink | Link to AccuWeather's mobile site | |||||
Link | Link to AccuWeather's traditional site |