Current conditions by location key
Retrieves the current weather conditions for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)
path Parameters
locationKeyA unique ID that designates a specific location. More information can be found here.
query Parameters
formatA string value that specifies what type of format to provide the response.
languageA string that indicates the language in which to return the response. More information can be found here.
detailsA boolean value that specifies whether or not to include extended information.
getPhotosA boolean value that specifies whether or not to include photos representing the requested location and current weather.
Headers
AuthorizationThe Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.
Current conditions by location key › Responses
OK
LocalObservationDateTimeThe date and time at which the data was collected, displayed in ISO 8601 format (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochTimeThe date and time at which the data was collected, displayed as the number of seconds that have elapsed since midnight UTC/GMT on January 1, 1970.
WeatherTextA phrase describing the current weather conditions in the specified language.
WeatherIconA numeric value representing an image that displays the phrase returned in the WeatherText parameter.
HasPrecipitationA flag indicating the presence or absence of precipitation. A true response indicates precipitation, false indicates no precipitation.
PrecipitationTypeThe type of precipitation, if any. Possible values are Rain, Snow, Ice, Mixed, or Null for no precipitation.
IsDayTimeA boolean flag that indicates the day/night status. True at daytime, false at nighttime.
MobileLinkLink to current conditions on AccuWeather's mobile site for the requested location.
LinkLink to current conditions on AccuWeather's free site for the requested location.
RelativeHumidityA measure of moisture in the air, expressed as a percentage of the maximum amount possible at the same temperature.
IndoorRelativeHumidityA measure of moisture in the air inside a typical heated home, expressed as a percentage of the maximum amount possible at the same temperature. At temperatures above 68°F this is set to the outdoor relative humidity.
UVIndexA numerical value that indicates the sun's measured ultraviolet radiation strength.
UVIndexFloatA decimal value that indicates the sun's measured ultraviolet radiation strength.
UVIndexTextA brief UV index status description.
ObstructionsToVisibilityThe visibility distance's limiting factor.
CloudCoverA number representing the percentage of the sky that is covered by clouds. May be NULL.