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
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: falsegetPhotos
booleanA boolean value that specifies whether or not to include photos representing the requested location and current weather.
Default: false
Headers
Authorization
string · requiredThe
Authorization
header is used to authenticate using your API key. Format isBearer YOUR_API_KEY
.
Responses
OK
LocalObservationDateTime
string · date-time · requiredThe date and time at which the data was collected, displayed in ISO 8601 format (yyyy-mm-ddThh:mm:ss±hh:mm).
EpochTime
integer · int64 · requiredThe 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.
WeatherText
string · minLength: 1 · requiredA phrase describing the current weather conditions in the specified language.
WeatherIcon
integer · int32 · requiredA numeric value representing an image that displays the phrase returned in the WeatherText parameter.
HasPrecipitation
boolean · requiredA flag indicating the presence or absence of precipitation. A true response indicates precipitation, false indicates no precipitation.
PrecipitationType
string · minLength: 1 · requiredThe type of precipitation, if any. Possible values are Rain, Snow, Ice, Mixed, or Null for no precipitation.
IsDayTime
boolean · requiredA boolean flag that indicates the day/night status. True at daytime, false at nighttime.
Temperature
requiredAn object containing information about the observed air temperature at the requested location with a rounded value for Fahrenheit and Celsius. The object may be NULL.
MobileLink
string · minLength: 1 · requiredLink to current conditions on AccuWeather's mobile site for the requested location.
Link
string · minLength: 1 · requiredLink to current conditions on AccuWeather's free site for the requested location.
RealFeelTemperature
| nullAn object containing the AccuWeather patented RealFeel™ temperature with a rounded value for Fahrenheit or Celsius. The object may be NULL.
RealFeelTemperatureShade
| nullAn object containing the AccuWeather patented RealFeel™ shade temperature with a rounded value for Fahrenheit or Celsius. The object may be NULL.
RelativeHumidity
integer · int32A measure of moisture in the air, expressed as a percentage of the maximum amount possible at the same temperature.
IndoorRelativeHumidity
integer | null · int32A 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.
DewPoint
| nullThe temperature at which the humidity in the air will begin to condense on surfaces. The object contains a rounded value for Fahrenheit and Celsius. The object may be NULL.
Wind
| nullAn object containing wind direction and speed information with a rounded value for Miles per hour and Kilometer per hour. The object may be NULL.
WindGust
| nullAn object containing information about the maximum short-burst wind speed with a rounded value for Miles per hour and Kilometer per hour. The object may be NULL.
UVIndex
integer | null · int32A numerical value that indicates the sun's measured ultraviolet radiation strength.
UVIndexFloat
number | null · floatA decimal value that indicates the sun's measured ultraviolet radiation strength.
UVIndexText
string | nullA brief UV index status description.
Visibility
| nullAn object containing information about visibility distance with a rounded value for Miles and Kilometer. The object may be NULL.
ObstructionsToVisibility
string | nullThe visibility distance's limiting factor.
CloudCover
integer | null · int32A number representing the percentage of the sky that is covered by clouds. May be NULL.
Ceiling
| nullAn object containing information about the cloud base elevation with a rounded value for Feet and Meter. The object may be NULL.
Pressure
| nullAn object containing information about the measured air pressure at ground level with a rounded value for Inches of Mercury and Millibar. The object may be NULL.
PressureTendency
| nullAn object containing information about the atmospheric pressure change.
Past24HourTemperatureDeparture
| nullAn object containing information about departure from the temperature observed 24 hours ago with rounded values for Fahrenheit and Celsius. The object may be NULL.
WindChillTemperature
| nullAn object containing information about perceived air temperature on exposed skin due to wind with rounded values for Fahrenheit and Celsius. The object may be NULL.
WetBulbTemperature
| nullThe temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation. An object containing a rounded value for Fahrenheit and Celsius. The object may be NULL.
WetBulbGlobeTemperature
| nullA temperature value that indicates heat stress on the human body in direct sunlight based on temperature, humidity, wind speed, sun angle, and cloud cover. An object containing a rounded value for Fahrenheit and Celsius. The object may be NULL.
Precip1hr
| nullAmount of liquid water equivalent of precipitation that has fallen in the past hour. An object containing a rounded value for Inch and Millimeter. The object may be NULL.
PrecipitationSummary
| nullSummary of precipitation amounts over the past 24 hours, in 3-hour increments.
TemperatureSummary
| nullSummary of temperature fluctuations over the past 6, 12, and 24 hours.
ApparentTemperature
| nullPerceived outdoor temperature caused by the combination of air temperature, relative humidity, and wind speed.