Core Weather

Location Key

Endpoint:https://dataservice.accuweather.com

1 day by location key

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

Returns 1 day of daily forecasts for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

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

  • formatstring

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

    Default: json
  • languagestring

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

    Default: en-us
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false
  • metricboolean

    A boolean value that specifies whether to return the data in metric units (true) or imperial units (false). More information can be found here.

    Default: false

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

  • Headlinerequired

    Represents the most significant weather event over the next five days, regardless of selected timespan.

  • DailyForecastsobject[] · required

    Forecasts for each 12-hour period.


5 days by location key

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

Returns 5 days of daily forecasts for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

5 days by location key path Parameters

  • locationKeystring · required

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

    Example: 349727

5 days by location key query Parameters

  • formatstring

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

    Default: json
  • languagestring

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

    Default: en-us
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false
  • metricboolean

    A boolean value that specifies whether to return the data in metric units (true) or imperial units (false). More information can be found here.

    Default: false

5 days by location key Headers

  • Authorizationstring · required

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

5 days by location key Responses

OK

  • Headlinerequired

    Represents the most significant weather event over the next five days, regardless of selected timespan.

  • DailyForecastsobject[] · required

    Forecasts for each 12-hour period.


7 days by location key

GET
https://dataservice.accuweather.com
/forecasts/v1/daily/7day/{locationKey}

Returns 7 days of daily forecasts for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

7 days by location key path Parameters

  • locationKeystring · required

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

    Example: 349727

7 days by location key query Parameters

  • formatstring

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

    Default: json
  • languagestring

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

    Default: en-us
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false
  • metricboolean

    A boolean value that specifies whether to return the data in metric units (true) or imperial units (false). More information can be found here.

    Default: false

7 days by location key Headers

  • Authorizationstring · required

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

7 days by location key Responses

OK

  • Headlinerequired

    Represents the most significant weather event over the next five days, regardless of selected timespan.

  • DailyForecastsobject[] · required

    Forecasts for each 12-hour period.


10 days by location key

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

Returns 10 days of daily forecasts for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

10 days by location key path Parameters

  • locationKeystring · required

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

    Example: 349727

10 days by location key query Parameters

  • formatstring

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

    Default: json
  • languagestring

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

    Default: en-us
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false
  • metricboolean

    A boolean value that specifies whether to return the data in metric units (true) or imperial units (false). More information can be found here.

    Default: false

10 days by location key Headers

  • Authorizationstring · required

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

10 days by location key Responses

OK

  • Headlinerequired

    Represents the most significant weather event over the next five days, regardless of selected timespan.

  • DailyForecastsobject[] · required

    Forecasts for each 12-hour period.


15 days by location key

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

Returns 15 days of daily forecasts for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

15 days by location key path Parameters

  • locationKeystring · required

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

    Example: 349727

15 days by location key query Parameters

  • formatstring

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

    Default: json
  • languagestring

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

    Default: en-us
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false
  • metricboolean

    A boolean value that specifies whether to return the data in metric units (true) or imperial units (false). More information can be found here.

    Default: false

15 days by location key Headers

  • Authorizationstring · required

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

15 days by location key Responses

OK

  • Headlinerequired

    Represents the most significant weather event over the next five days, regardless of selected timespan.

  • DailyForecastsobject[] · required

    Forecasts for each 12-hour period.