Core Weather

Location Key

Endpoint:https://dataservice.accuweather.com

1 hour by location key

GET
https://dataservice.accuweather.com
/forecasts/v1/hourly/1hour/{locationKey}

Returns forecast data for the next hour for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

1 hour by location key path Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727

1 hour by location key query Parameters

  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json
  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • metricboolean

    A 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
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false

1 hour by location key Headers

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

1 hour by location key Responses

OK

  • DateTimestring · date-time · required

    Datetime of the forecast displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateTimeinteger · int64 · required

    Datetime of the forecast displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • WeatherIconinteger · int32 · required

    Numeric value representing an image that displays the IconPhrase.

  • IconPhrasestring · minLength: 1 · required

    Phrase description of the forecast. Displayed in specified language.

  • HasPrecipitationboolean · required

    Boolean value that indicates the presence of any type of precipitation. Displays true if precipitation is present.

  • IsDaylightboolean · required

    Boolean value (true or false) that specifies whether or not it is daylight.

  • Temperaturerequired

    An object containing the forecasted temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • PrecipitationProbabilityinteger · int32 · required

    A percentage value representing the probability of precipitation.

  • accuLumenBrightnessIndexnumber · float · required
  • MobileLinkstring · minLength: 1 · required

    Link to hourly forecasts on AccuWeather's mobile site for the requested location.

  • Linkstring · minLength: 1 · required

    Link to hourly forecasts on AccuWeather's free site for the requested location.

  • PrecipitationTypestring | null

    Indicates if the precipitation is rain, snow, ice, or mixed. Only returned if HasPrecipitation is true.

  • PrecipitationIntensitystring | null

    Indicates if the precipitation strength is light, moderate, or heavy. Only returned if HasPrecipitation is true.

  • RealFeelTemperature | null

    An object containing the patented AccuWeather RealFeel™ temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object also contains a brief description of how warm or cold the temperature actually feels outside. The object may be NULL.

  • RealFeelTemperatureShade | null

    An object containing the patented AccuWeather RealFeel™ shade temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object also contains a brief description of how warm or cold the temperature actually feels outside. The object may be NULL.

  • WetBulbTemperature | null

    The temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • WetBulbGlobeTemperature | null

    A temperature value that indicates heat stress on the human body in direct sunlight based on temperature, humidity, wind speed, sun angle, and cloud cover. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • DewPoint | null

    The temperature at which the humidity in the air will begin to condense on surfaces. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • Wind | null

    An object containing wind direction and speed information with a rounded value in the specified units, Miles per hour or Kilometer per hour. The object may be NULL.

  • WindGust | null

    An object containing information about the maximum short-burst wind speed with a rounded value in the specified units, Miles per hour or Kilometer per hour. The object may be NULL.

  • RelativeHumidityinteger | null · int32

    A measure of water vapor in the air, expressed as a percentage of the amount needed for saturation.

  • IndoorRelativeHumidityinteger | null · int32

    A 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.

  • Visibility | null

    An object containing information about visibility distance with a rounded value in the specified units, Miles or Kilometer. The object may be NULL.

  • Ceiling | null

    An object containing information about the cloud base elevation with a rounded value in the specified units, Feet or Meter. The object may be NULL.

  • UVIndexinteger · int32

    A numerical value that indicates the sun's measured ultraviolet radiation strength.

  • UVIndexFloatnumber · float

    A decimal value that indicates the sun's measured ultraviolet radiation strength.

  • UVIndexTextstring | null

    Text associated with the UVIndex.

  • ThunderstormProbabilityinteger | null · int32

    A percentage value representing the probability of a thunderstorm.

  • RainProbabilityinteger | null · int32

    A percentage value representing the probability of rain.

  • SnowProbabilityinteger · int64

    A percentage value representing the probability of snow.

  • IceProbabilityinteger | null · int32

    A percentage value representing the probability of ice.

  • TotalLiquid | null

    A measurement of total liquid for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • Rain | null

    A measurement of rain for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • Snow | null

    A measurement of snow for the hour. An object with a rounded value in the specified units, Inch or Centimeter. The object may be NULL.

  • Ice | null

    A measurement of ice for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • CloudCoverinteger | null · int32

    The percentage of cloud cover.

  • Evapotranspiration | null

    Soil water loss by evaporation and plant transpiration. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • SolarIrradiance | null

    The sun's electromagnetic radiation (global horizontal irradiance) as measured at the Earth's surface. An object with a rounded value in Watts per square Meter. The object may be NULL.


12 hours by location key

GET
https://dataservice.accuweather.com
/forecasts/v1/hourly/12hour/{locationKey}

Returns forecast data for the next 12 hours for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

12 hours by location key path Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727

12 hours by location key query Parameters

  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json
  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • metricboolean

    A 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
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false

12 hours by location key Headers

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

12 hours by location key Responses

OK

  • DateTimestring · date-time · required

    Datetime of the forecast displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateTimeinteger · int64 · required

    Datetime of the forecast displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • WeatherIconinteger · int32 · required

    Numeric value representing an image that displays the IconPhrase.

  • IconPhrasestring · minLength: 1 · required

    Phrase description of the forecast. Displayed in specified language.

  • HasPrecipitationboolean · required

    Boolean value that indicates the presence of any type of precipitation. Displays true if precipitation is present.

  • IsDaylightboolean · required

    Boolean value (true or false) that specifies whether or not it is daylight.

  • Temperaturerequired

    An object containing the forecasted temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • PrecipitationProbabilityinteger · int32 · required

    A percentage value representing the probability of precipitation.

  • accuLumenBrightnessIndexnumber · float · required
  • MobileLinkstring · minLength: 1 · required

    Link to hourly forecasts on AccuWeather's mobile site for the requested location.

  • Linkstring · minLength: 1 · required

    Link to hourly forecasts on AccuWeather's free site for the requested location.

  • PrecipitationTypestring | null

    Indicates if the precipitation is rain, snow, ice, or mixed. Only returned if HasPrecipitation is true.

  • PrecipitationIntensitystring | null

    Indicates if the precipitation strength is light, moderate, or heavy. Only returned if HasPrecipitation is true.

  • RealFeelTemperature | null

    An object containing the patented AccuWeather RealFeel™ temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object also contains a brief description of how warm or cold the temperature actually feels outside. The object may be NULL.

  • RealFeelTemperatureShade | null

    An object containing the patented AccuWeather RealFeel™ shade temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object also contains a brief description of how warm or cold the temperature actually feels outside. The object may be NULL.

  • WetBulbTemperature | null

    The temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • WetBulbGlobeTemperature | null

    A temperature value that indicates heat stress on the human body in direct sunlight based on temperature, humidity, wind speed, sun angle, and cloud cover. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • DewPoint | null

    The temperature at which the humidity in the air will begin to condense on surfaces. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • Wind | null

    An object containing wind direction and speed information with a rounded value in the specified units, Miles per hour or Kilometer per hour. The object may be NULL.

  • WindGust | null

    An object containing information about the maximum short-burst wind speed with a rounded value in the specified units, Miles per hour or Kilometer per hour. The object may be NULL.

  • RelativeHumidityinteger | null · int32

    A measure of water vapor in the air, expressed as a percentage of the amount needed for saturation.

  • IndoorRelativeHumidityinteger | null · int32

    A 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.

  • Visibility | null

    An object containing information about visibility distance with a rounded value in the specified units, Miles or Kilometer. The object may be NULL.

  • Ceiling | null

    An object containing information about the cloud base elevation with a rounded value in the specified units, Feet or Meter. The object may be NULL.

  • UVIndexinteger · int32

    A numerical value that indicates the sun's measured ultraviolet radiation strength.

  • UVIndexFloatnumber · float

    A decimal value that indicates the sun's measured ultraviolet radiation strength.

  • UVIndexTextstring | null

    Text associated with the UVIndex.

  • ThunderstormProbabilityinteger | null · int32

    A percentage value representing the probability of a thunderstorm.

  • RainProbabilityinteger | null · int32

    A percentage value representing the probability of rain.

  • SnowProbabilityinteger · int64

    A percentage value representing the probability of snow.

  • IceProbabilityinteger | null · int32

    A percentage value representing the probability of ice.

  • TotalLiquid | null

    A measurement of total liquid for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • Rain | null

    A measurement of rain for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • Snow | null

    A measurement of snow for the hour. An object with a rounded value in the specified units, Inch or Centimeter. The object may be NULL.

  • Ice | null

    A measurement of ice for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • CloudCoverinteger | null · int32

    The percentage of cloud cover.

  • Evapotranspiration | null

    Soil water loss by evaporation and plant transpiration. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • SolarIrradiance | null

    The sun's electromagnetic radiation (global horizontal irradiance) as measured at the Earth's surface. An object with a rounded value in Watts per square Meter. The object may be NULL.


24 hours by location key

GET
https://dataservice.accuweather.com
/forecasts/v1/hourly/24hour/{locationKey}

Returns forecast data for the next 24 hours for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

24 hours by location key path Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727

24 hours by location key query Parameters

  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json
  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • metricboolean

    A 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
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false

24 hours by location key Headers

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

24 hours by location key Responses

OK

  • DateTimestring · date-time · required

    Datetime of the forecast displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateTimeinteger · int64 · required

    Datetime of the forecast displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • WeatherIconinteger · int32 · required

    Numeric value representing an image that displays the IconPhrase.

  • IconPhrasestring · minLength: 1 · required

    Phrase description of the forecast. Displayed in specified language.

  • HasPrecipitationboolean · required

    Boolean value that indicates the presence of any type of precipitation. Displays true if precipitation is present.

  • IsDaylightboolean · required

    Boolean value (true or false) that specifies whether or not it is daylight.

  • Temperaturerequired

    An object containing the forecasted temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • PrecipitationProbabilityinteger · int32 · required

    A percentage value representing the probability of precipitation.

  • accuLumenBrightnessIndexnumber · float · required
  • MobileLinkstring · minLength: 1 · required

    Link to hourly forecasts on AccuWeather's mobile site for the requested location.

  • Linkstring · minLength: 1 · required

    Link to hourly forecasts on AccuWeather's free site for the requested location.

  • PrecipitationTypestring | null

    Indicates if the precipitation is rain, snow, ice, or mixed. Only returned if HasPrecipitation is true.

  • PrecipitationIntensitystring | null

    Indicates if the precipitation strength is light, moderate, or heavy. Only returned if HasPrecipitation is true.

  • RealFeelTemperature | null

    An object containing the patented AccuWeather RealFeel™ temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object also contains a brief description of how warm or cold the temperature actually feels outside. The object may be NULL.

  • RealFeelTemperatureShade | null

    An object containing the patented AccuWeather RealFeel™ shade temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object also contains a brief description of how warm or cold the temperature actually feels outside. The object may be NULL.

  • WetBulbTemperature | null

    The temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • WetBulbGlobeTemperature | null

    A temperature value that indicates heat stress on the human body in direct sunlight based on temperature, humidity, wind speed, sun angle, and cloud cover. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • DewPoint | null

    The temperature at which the humidity in the air will begin to condense on surfaces. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • Wind | null

    An object containing wind direction and speed information with a rounded value in the specified units, Miles per hour or Kilometer per hour. The object may be NULL.

  • WindGust | null

    An object containing information about the maximum short-burst wind speed with a rounded value in the specified units, Miles per hour or Kilometer per hour. The object may be NULL.

  • RelativeHumidityinteger | null · int32

    A measure of water vapor in the air, expressed as a percentage of the amount needed for saturation.

  • IndoorRelativeHumidityinteger | null · int32

    A 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.

  • Visibility | null

    An object containing information about visibility distance with a rounded value in the specified units, Miles or Kilometer. The object may be NULL.

  • Ceiling | null

    An object containing information about the cloud base elevation with a rounded value in the specified units, Feet or Meter. The object may be NULL.

  • UVIndexinteger · int32

    A numerical value that indicates the sun's measured ultraviolet radiation strength.

  • UVIndexFloatnumber · float

    A decimal value that indicates the sun's measured ultraviolet radiation strength.

  • UVIndexTextstring | null

    Text associated with the UVIndex.

  • ThunderstormProbabilityinteger | null · int32

    A percentage value representing the probability of a thunderstorm.

  • RainProbabilityinteger | null · int32

    A percentage value representing the probability of rain.

  • SnowProbabilityinteger · int64

    A percentage value representing the probability of snow.

  • IceProbabilityinteger | null · int32

    A percentage value representing the probability of ice.

  • TotalLiquid | null

    A measurement of total liquid for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • Rain | null

    A measurement of rain for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • Snow | null

    A measurement of snow for the hour. An object with a rounded value in the specified units, Inch or Centimeter. The object may be NULL.

  • Ice | null

    A measurement of ice for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • CloudCoverinteger | null · int32

    The percentage of cloud cover.

  • Evapotranspiration | null

    Soil water loss by evaporation and plant transpiration. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • SolarIrradiance | null

    The sun's electromagnetic radiation (global horizontal irradiance) as measured at the Earth's surface. An object with a rounded value in Watts per square Meter. The object may be NULL.


72 hours by location key

GET
https://dataservice.accuweather.com
/forecasts/v1/hourly/72hour/{locationKey}

Returns forecast data for the next 72 hours for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

72 hours by location keypath Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727

72 hours by location keyquery Parameters

  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json
  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • metricboolean

    A 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
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false

72 hours by location keyHeaders

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

72 hours by location keyResponses

OK

  • DateTimestring · date-time · required

    Datetime of the forecast displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateTimeinteger · int64 · required

    Datetime of the forecast displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • WeatherIconinteger · int32 · required

    Numeric value representing an image that displays the IconPhrase.

  • IconPhrasestring · minLength: 1 · required

    Phrase description of the forecast. Displayed in specified language.

  • HasPrecipitationboolean · required

    Boolean value that indicates the presence of any type of precipitation. Displays true if precipitation is present.

  • IsDaylightboolean · required

    Boolean value (true or false) that specifies whether or not it is daylight.

  • Temperaturerequired

    An object containing the forecasted temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • PrecipitationProbabilityinteger · int32 · required

    A percentage value representing the probability of precipitation.

  • accuLumenBrightnessIndexnumber · float · required
  • MobileLinkstring · minLength: 1 · required

    Link to hourly forecasts on AccuWeather's mobile site for the requested location.

  • Linkstring · minLength: 1 · required

    Link to hourly forecasts on AccuWeather's free site for the requested location.

  • PrecipitationTypestring | null

    Indicates if the precipitation is rain, snow, ice, or mixed. Only returned if HasPrecipitation is true.

  • PrecipitationIntensitystring | null

    Indicates if the precipitation strength is light, moderate, or heavy. Only returned if HasPrecipitation is true.

  • RealFeelTemperature | null

    An object containing the patented AccuWeather RealFeel™ temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object also contains a brief description of how warm or cold the temperature actually feels outside. The object may be NULL.

  • RealFeelTemperatureShade | null

    An object containing the patented AccuWeather RealFeel™ shade temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object also contains a brief description of how warm or cold the temperature actually feels outside. The object may be NULL.

  • WetBulbTemperature | null

    The temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • WetBulbGlobeTemperature | null

    A temperature value that indicates heat stress on the human body in direct sunlight based on temperature, humidity, wind speed, sun angle, and cloud cover. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • DewPoint | null

    The temperature at which the humidity in the air will begin to condense on surfaces. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • Wind | null

    An object containing wind direction and speed information with a rounded value in the specified units, Miles per hour or Kilometer per hour. The object may be NULL.

  • WindGust | null

    An object containing information about the maximum short-burst wind speed with a rounded value in the specified units, Miles per hour or Kilometer per hour. The object may be NULL.

  • RelativeHumidityinteger | null · int32

    A measure of water vapor in the air, expressed as a percentage of the amount needed for saturation.

  • IndoorRelativeHumidityinteger | null · int32

    A 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.

  • Visibility | null

    An object containing information about visibility distance with a rounded value in the specified units, Miles or Kilometer. The object may be NULL.

  • Ceiling | null

    An object containing information about the cloud base elevation with a rounded value in the specified units, Feet or Meter. The object may be NULL.

  • UVIndexinteger · int32

    A numerical value that indicates the sun's measured ultraviolet radiation strength.

  • UVIndexFloatnumber · float

    A decimal value that indicates the sun's measured ultraviolet radiation strength.

  • UVIndexTextstring | null

    Text associated with the UVIndex.

  • ThunderstormProbabilityinteger | null · int32

    A percentage value representing the probability of a thunderstorm.

  • RainProbabilityinteger | null · int32

    A percentage value representing the probability of rain.

  • SnowProbabilityinteger · int64

    A percentage value representing the probability of snow.

  • IceProbabilityinteger | null · int32

    A percentage value representing the probability of ice.

  • TotalLiquid | null

    A measurement of total liquid for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • Rain | null

    A measurement of rain for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • Snow | null

    A measurement of snow for the hour. An object with a rounded value in the specified units, Inch or Centimeter. The object may be NULL.

  • Ice | null

    A measurement of ice for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • CloudCoverinteger | null · int32

    The percentage of cloud cover.

  • Evapotranspiration | null

    Soil water loss by evaporation and plant transpiration. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • SolarIrradiance | null

    The sun's electromagnetic radiation (global horizontal irradiance) as measured at the Earth's surface. An object with a rounded value in Watts per square Meter. The object may be NULL.


120 hours by location key

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

Returns forecast data for the next 120 hours for a specific location, using a locationKey obtained from another endpoint (e.g., city search or geoposition)

120 hours by location key path Parameters

  • locationKeystring · required

    A unique ID that designates a specific location. More information can be found here.

    Example: 349727

120 hours by location key query Parameters

  • formatstring

    A string value that specifies what type of format to provide the response.

    Default: json
  • languagestring

    A string that indicates the language in which to return the response. More information can be found here.

    Default: en-us
  • metricboolean

    A 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
  • detailsboolean

    A boolean value that specifies whether or not to include extended information.

    Default: false

120 hours by location key Headers

  • Authorizationstring · required

    The Authorization header is used to authenticate using your API key. Format is Bearer YOUR_API_KEY.

120 hours by location key Responses

OK

  • DateTimestring · date-time · required

    Datetime of the forecast displayed in ISO8601 format: (yyyy-mm-ddThh:mm:ss±hh:mm).

  • EpochDateTimeinteger · int64 · required

    Datetime of the forecast displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

  • WeatherIconinteger · int32 · required

    Numeric value representing an image that displays the IconPhrase.

  • IconPhrasestring · minLength: 1 · required

    Phrase description of the forecast. Displayed in specified language.

  • HasPrecipitationboolean · required

    Boolean value that indicates the presence of any type of precipitation. Displays true if precipitation is present.

  • IsDaylightboolean · required

    Boolean value (true or false) that specifies whether or not it is daylight.

  • Temperaturerequired

    An object containing the forecasted temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • PrecipitationProbabilityinteger · int32 · required

    A percentage value representing the probability of precipitation.

  • accuLumenBrightnessIndexnumber · float · required
  • MobileLinkstring · minLength: 1 · required

    Link to hourly forecasts on AccuWeather's mobile site for the requested location.

  • Linkstring · minLength: 1 · required

    Link to hourly forecasts on AccuWeather's free site for the requested location.

  • PrecipitationTypestring | null

    Indicates if the precipitation is rain, snow, ice, or mixed. Only returned if HasPrecipitation is true.

  • PrecipitationIntensitystring | null

    Indicates if the precipitation strength is light, moderate, or heavy. Only returned if HasPrecipitation is true.

  • RealFeelTemperature | null

    An object containing the patented AccuWeather RealFeel™ temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object also contains a brief description of how warm or cold the temperature actually feels outside. The object may be NULL.

  • RealFeelTemperatureShade | null

    An object containing the patented AccuWeather RealFeel™ shade temperature with a rounded value in the specified units, Fahrenheit or Celsius. The object also contains a brief description of how warm or cold the temperature actually feels outside. The object may be NULL.

  • WetBulbTemperature | null

    The temperature to which air may be cooled by evaporating water into it at constant pressure until it reaches saturation. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • WetBulbGlobeTemperature | null

    A temperature value that indicates heat stress on the human body in direct sunlight based on temperature, humidity, wind speed, sun angle, and cloud cover. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • DewPoint | null

    The temperature at which the humidity in the air will begin to condense on surfaces. The object contains a rounded value in the specified units, Fahrenheit or Celsius. The object may be NULL.

  • Wind | null

    An object containing wind direction and speed information with a rounded value in the specified units, Miles per hour or Kilometer per hour. The object may be NULL.

  • WindGust | null

    An object containing information about the maximum short-burst wind speed with a rounded value in the specified units, Miles per hour or Kilometer per hour. The object may be NULL.

  • RelativeHumidityinteger | null · int32

    A measure of water vapor in the air, expressed as a percentage of the amount needed for saturation.

  • IndoorRelativeHumidityinteger | null · int32

    A 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.

  • Visibility | null

    An object containing information about visibility distance with a rounded value in the specified units, Miles or Kilometer. The object may be NULL.

  • Ceiling | null

    An object containing information about the cloud base elevation with a rounded value in the specified units, Feet or Meter. The object may be NULL.

  • UVIndexinteger · int32

    A numerical value that indicates the sun's measured ultraviolet radiation strength.

  • UVIndexFloatnumber · float

    A decimal value that indicates the sun's measured ultraviolet radiation strength.

  • UVIndexTextstring | null

    Text associated with the UVIndex.

  • ThunderstormProbabilityinteger | null · int32

    A percentage value representing the probability of a thunderstorm.

  • RainProbabilityinteger | null · int32

    A percentage value representing the probability of rain.

  • SnowProbabilityinteger · int64

    A percentage value representing the probability of snow.

  • IceProbabilityinteger | null · int32

    A percentage value representing the probability of ice.

  • TotalLiquid | null

    A measurement of total liquid for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • Rain | null

    A measurement of rain for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • Snow | null

    A measurement of snow for the hour. An object with a rounded value in the specified units, Inch or Centimeter. The object may be NULL.

  • Ice | null

    A measurement of ice for the hour. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • CloudCoverinteger | null · int32

    The percentage of cloud cover.

  • Evapotranspiration | null

    Soil water loss by evaporation and plant transpiration. An object with a rounded value in the specified units, Inch or Millimeter. The object may be NULL.

  • SolarIrradiance | null

    The sun's electromagnetic radiation (global horizontal irradiance) as measured at the Earth's surface. An object with a rounded value in Watts per square Meter. The object may be NULL.