Core Weather

Location Key

Endpoint:https://dataservice.accuweather.com

1 day by location key

GET
https://dataservice.accuweather.com
/alarms/v1/1day/{locationKey}

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.

1 day by location keypath Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727

1 day by location keyquery Parameters

  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json

1 day by location keyHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

1 day by location keyResponses

OK

  • Datestring · date-time · required

    The date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateinteger · int64 · required

    Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • Alarmsobject[] · required

    A list of alarms that exist for the location on that date.

  • MobileLinkstring · uri · required

    Link to AccuWeather's mobile site.

  • Linkstring · uri · required

    Link to AccuWeather's traditional site.


5 days by location key

GET
https://dataservice.accuweather.com
/alarms/v1/5day/{locationKey}

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.

5 days by location keypath Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727

5 days by location keyquery Parameters

  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json

5 days by location keyHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

5 days by location keyResponses

OK

  • Datestring · date-time · required

    The date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateinteger · int64 · required

    Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • Alarmsobject[] · required

    A list of alarms that exist for the location on that date.

  • MobileLinkstring · uri · required

    Link to AccuWeather's mobile site.

  • Linkstring · uri · required

    Link to AccuWeather's traditional site.


10 days by location key

GET
https://dataservice.accuweather.com
/alarms/v1/10day/{locationKey}

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.

10 days by location keypath Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727

10 days by location keyquery Parameters

  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json

10 days by location keyHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

10 days by location keyResponses

OK

  • Datestring · date-time · required

    The date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateinteger · int64 · required

    Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • Alarmsobject[] · required

    A list of alarms that exist for the location on that date.

  • MobileLinkstring · uri · required

    Link to AccuWeather's mobile site.

  • Linkstring · uri · required

    Link to AccuWeather's traditional site.


15 days by location key

GET
https://dataservice.accuweather.com
/alarms/v1/15day/{locationKey}

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.

15 days by location keypath Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727

15 days by location keyquery Parameters

  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json

15 days by location keyHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

15 days by location keyResponses

OK

  • Datestring · date-time · required

    The date for which the alarms exist as displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateinteger · int64 · required

    Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • Alarmsobject[] · required

    A list of alarms that exist for the location on that date.

  • MobileLinkstring · uri · required

    Link to AccuWeather's mobile site.

  • Linkstring · uri · required

    Link to AccuWeather's traditional site.