120 Hours of Hourly Forecasts

GET

120 Hours of Hourly Forecasts

Returns an array of hourly forecasts for the next 120 hours for a specific location. Forecast searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the hourly forecast data is returned. The full object can be obtained by passing "details=true" into the url string.

Resource URL

http://dataservice.accuweather.com /forecasts/v1/hourly/120hour/{locationKey}

Query Parameters


Name Values Description
apikey
(required)

Provided API Key

language

String indicating the language in which to return the resource

details

Boolean value specifies whether or not to include full details in the response.

metric

Boolean value specifies whether or not to display metric values.


Request Body

locationKey Unique ID used to search for a specific location true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400

    Request had bad syntax or the parameters supplied were invalid

  • 401

    Unauthorized. API authorization failed

  • 403

    Unauthorized. You do not have permission to access this endpoint

  • 404

    Server has not found a route matching the given URI

  • 500

    Server encountered an unexpected condition which prevented it from fulfilling the request

Working...

Response Parameters

Parameter Type Description
DateTime string DateTime of the forecast, displayed in ISO8601 format.
EpochTime int64 DateTime of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
WeatherIcon int32 Numeric value representing an image that displays the current condition described by WeatherText. May be NULL.
IconPhrase string Phrase description of the forecast associated with the WeatherIcon. Displayed in language specified by language code in URL.
HasPrecipitation Boolean Boolean value that indicates the presence of any type of precipitation for a given night. Displays true if precipitation is present.
PrecipitationType String Indicates if the precipitation is rain, snow, ice, or mixed. Only returned if HasPrecipitation is true.
PrecipitationIntensity String Indicates if the precipitation strength is light, moderate, or heavy. Only returned if HasPrecipitation is true.
IsDaylight boolean Specifies whether or not it is daylight (true=daylight, false=not daylight).
Temperature.Value double Rounded value in specified units. May be NULL.
Temperature.Unit string Type of unit.
Temperature.UnitType int32 Numeric ID associated with the type of unit being displayed.
RealFeelTemperature.Value double Rounded value in specified units. May be NULL.
RealFeelTemperature.Unit string Type of unit.
RealFeelTemperature.UnitType int32 Numeric ID associated with the type of unit being displayed.
RealFeelTemperatureShade.Value double Rounded value in specified units. May be NULL.
RealFeelTemperatureShade.Unit string Type of unit.
RealFeelTemperatureShade.UnitType int32 Numeric ID associated with the type of unit being displayed.
WetBulbTemperature.Value double The temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation. Rounded value in specified units. May be NULL.
WetBulbTemperature.Unit string Type of unit.
WetBulbTemperature.UnitType int32 Numeric ID associated with the type of unit being displayed.
WetBulbGlobeTemperature.Value double The rounded wet bulb globe temperature value in the requested units.
WetBublGlobeTemperature.Unit string The wet bulb globe temperature value's unit type.
WetBulbGlobeTemperature.UnitType int32 A unique numeric ID that designates the wet bulb globe temperature's unit type. This value can be used for translations.
DewPoint.Value double Dew Point temperature. Rounded value in specified units. May be NULL.
DewPoint.Unit string Type of unit.
DewPoint.UnitType int32 Numeric ID associated with the type of unit being displayed.
Wind.Speed.Value double Rounded value in specified units. May be NULL.
Wind.Speed.Unit string Type of unit.
Wind.Speed.UnitType int32 Numeric ID associated with the type of unit being displayed.
Wind.Direction.Degrees double Wind direction in azimuth degrees from north (180° indicates a wind coming from the south).
Wind.Direction.Localized string An abbreviated ordinal direction description of the wind direction in the language local to the requested location.
Wind.Direction.English int32 An abbreviated ordinal direction description of the wind direction in English.
WindGust.Speed.Value double Rounded value in specified units. May be NULL.
WindGust.Speed.Unit string Type of unit.
WindGust.Speed.UnitType int32 Numeric ID associated with the type of unit being displayed.
RelativeHumidity int32 Relative humidity. May be NULL.
Visibility.Value double Rounded value in specified units. May be NULL.
Visibility.Unit string Type of unit.
Visibility.UnitType int32 Numeric ID associated with the type of unit being displayed.
Ceiling.Value double Rounded value in specified units. May be NULL.
Ceiling.Unit string Type of unit.
Ceiling.UnitType int32 Numeric ID associated with the type of unit being displayed.
UVIndex int32 Measure of the strength of the ultraviolet radiation from the sun. May be NULL.
UVIndexText string Text associated with the UVIndex.
PrecipitationProbability int32 Percent representing the probability of precipitation. May be NULL.
RainProbability int32 Percent representing the probability of rain. May be NULL.
SnowProbability int32 Percent representing the probability of snow. May be NULL.
IceProbability int32 Percent representing the probability of ice. May be NULL.
TotalLiquid.Value double Rounded value in specified units. May be NULL.
TotalLiquid.Unit string Type of unit.
TotalLiquid.UnitType int32 Numeric ID associated with the type of unit being displayed.
Rain.Value double Rounded value in specified units. May be NULL.
Rain.Unit string Type of unit.
Rain.UnitType int32 Numeric ID associated with the type of unit being displayed.
Snow.Value double Rounded value in specified units. May be NULL.
Snow.Unit string Type of unit.
Snow.UnitType int32 Numeric ID associated with the type of unit being displayed.
Ice.Value double Rounded value in specified units. May be NULL.
Ice.Unit string Type of unit.
Ice.UnitType int32 Numeric ID associated with the type of unit being displayed.
CloudCover int32 Number representing the percentage of the sky that is covered by clouds. May be NULL.
Evapotranspiration.Value double Rounded value in specified units. May be NULL.
Evapotranspiration.Unit string Type of unit.
Evapotranspiration.UnitType int32 Numeric ID associated with the type of unit being displayed.
SolarIrradiance.Value double A numerical value denoting the total amount of solar irradiance, the sun's electromagnetic radiation (global horizontal irradiance) as measured at the Earth's surface. Can be null.
SolarIrradiance.Unit string The type of measurement associated with the numerical value above.
SolarIrradiance.UnitType int32 An integer used to identify the type of units above.
MobileLink string Link to the hourly forecast for the requested location on AccuWeather`s mobile site.
Link string Link to the hourly forecast for the requested location on AccuWeather`s web site.