Core Weather

Location Key


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 key › path Parameters

locationKey
​string · required

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

Example: 349727

1 day by location key › query Parameters

format
​string

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

Default: json
language
​string

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

Default: en-us
details
​boolean

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

Default: false
metric
​boolean

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 key › Headers

Authorization
​string · required

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

1 day by location key › Responses

OK

​required

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

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

locationKey
​string · required

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

Example: 349727

5 days by location key › query Parameters

format
​string

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

Default: json
language
​string

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

Default: en-us
details
​boolean

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

Default: false
metric
​boolean

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

Authorization
​string · 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

​required

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

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

locationKey
​string · required

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

Example: 349727

7 days by location key › query Parameters

format
​string

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

Default: json
language
​string

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

Default: en-us
details
​boolean

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

Default: false
metric
​boolean

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

Authorization
​string · 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

​required

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

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

locationKey
​string · required

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

Example: 349727

10 days by location key › query Parameters

format
​string

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

Default: json
language
​string

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

Default: en-us
details
​boolean

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

Default: false
metric
​boolean

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

Authorization
​string · 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

​required

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

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

locationKey
​string · required

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

Example: 349727

15 days by location key › query Parameters

format
​string

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

Default: json
language
​string

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

Default: en-us
details
​boolean

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

Default: false
metric
​boolean

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

Authorization
​string · 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

​required

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

Forecasts for each 12-hour period.