1 day by location key
Returns 1 day of daily forecasts for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
path Parameters
locationKey
string · requiredA unique ID that designates a specific location. More information can be found here.
Example: 349727
query Parameters
format
stringA string value that specifies what type of format to provide the response.
Default: jsonlanguage
stringA string that indicates the language in which to return the response. More information can be found here.
Default: en-usdetails
booleanA boolean value that specifies whether or not to include extended information.
Default: falsemetric
booleanA 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
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
Headline
requiredRepresents the most significant weather event over the next five days, regardless of selected timespan.
DailyForecasts
object[] · requiredForecasts for each 12-hour period.
5 days by location key
Returns 5 days of daily forecasts for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
path Parameters
locationKey
string · requiredA unique ID that designates a specific location. More information can be found here.
Example: 349727
query Parameters
format
stringA string value that specifies what type of format to provide the response.
Default: jsonlanguage
stringA string that indicates the language in which to return the response. More information can be found here.
Default: en-usdetails
booleanA boolean value that specifies whether or not to include extended information.
Default: falsemetric
booleanA 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
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
Headline
requiredRepresents the most significant weather event over the next five days, regardless of selected timespan.
DailyForecasts
object[] · requiredForecasts for each 12-hour period.
7 days by location key
Returns 7 days of daily forecasts for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
path Parameters
locationKey
string · requiredA unique ID that designates a specific location. More information can be found here.
Example: 349727
query Parameters
format
stringA string value that specifies what type of format to provide the response.
Default: jsonlanguage
stringA string that indicates the language in which to return the response. More information can be found here.
Default: en-usdetails
booleanA boolean value that specifies whether or not to include extended information.
Default: falsemetric
booleanA 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
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
Headline
requiredRepresents the most significant weather event over the next five days, regardless of selected timespan.
DailyForecasts
object[] · requiredForecasts for each 12-hour period.
10 days by location key
Returns 10 days of daily forecasts for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
path Parameters
locationKey
string · requiredA unique ID that designates a specific location. More information can be found here.
Example: 349727
query Parameters
format
stringA string value that specifies what type of format to provide the response.
Default: jsonlanguage
stringA string that indicates the language in which to return the response. More information can be found here.
Default: en-usdetails
booleanA boolean value that specifies whether or not to include extended information.
Default: falsemetric
booleanA 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
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
Headline
requiredRepresents the most significant weather event over the next five days, regardless of selected timespan.
DailyForecasts
object[] · requiredForecasts for each 12-hour period.
15 days by location key
Returns 15 days of daily forecasts for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
path Parameters
locationKey
string · requiredA unique ID that designates a specific location. More information can be found here.
Example: 349727
query Parameters
format
stringA string value that specifies what type of format to provide the response.
Default: jsonlanguage
stringA string that indicates the language in which to return the response. More information can be found here.
Default: en-usdetails
booleanA boolean value that specifies whether or not to include extended information.
Default: falsemetric
booleanA 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
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
Headline
requiredRepresents the most significant weather event over the next five days, regardless of selected timespan.
DailyForecasts
object[] · requiredForecasts for each 12-hour period.