72 Hours of Hourly Forecasts

get

72 Hours of Hourly Forecasts

Returns an array of hourly forecasts for the next 72 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/72hour/{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
    400

    Request had bad syntax or the parameters supplied were invalid

  • 401
    401

    Unauthorized. API authorization failed

  • 403
    403

    Unauthorized. You do not have permission to access this endpoint

  • 404
    404

    Server has not found a route matching the given URI

  • 500
    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). May be NULL.
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.
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.
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.
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.Value double Rounded value in specified units. May be NULL.
Wind.Direction.Unit string Type of unit.
Wind.Direction.UnitType int32 Numeric ID associated with the type of unit being displayed.
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.
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.