1 Day of Daily Forecasts

GET

1 Day of Daily Forecasts

Returns daily forecast data 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/daily/1day/{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
Headline.EffectiveDate string DateTime, displayed in ISO8601 format, when the Headline is in effect.
Headline.EffectiveEpochDate int64 Effective Date of the headline, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Headline.Severity int32 Severity of the headline, displayed as an integer. The lower the number, the greater the severity. 0 = Unknown 1 = Significant 2 = Major 3 = Moderate 4 = Minor 5 = Minimal 6 = Insignificant 7 = Informational
Headline.Text string Text of the headline, which represents the most significant weather event over the next 5 days. Displayed in the language specified by language code in URL.
Headline.Category string Category of the headline.
Headline.EndDate string DateTime, displayed in ISO8601 format, when the Headline expires. May be NULL.
Headline.EndEpochDate int64 End Date of the headline, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
Headline.MobileLink string Link to the extended forecast for the requested location on AccuWeather`s mobile site.
Headline.Link string Link to the extended forecast for the requested location on AccuWeather`s web site.
DailyForecasts.Date string DateTime of the forecast, displayed in ISO8601 format.
DailyForecasts.EpochDate int64 Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
DailyForecasts.Sun.Rise string Sun rise displayed in ISO8601 format.
DailyForecasts.Sun.EpochRise int64 Sun rise displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
DailyForecasts.Sun.Set string Sun set displayed in ISO8601 format.
DailyForecasts.Sun.EpochSet int64 Sun set displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
DailyForecasts.Moon.Rise string Moon rise displayed in ISO8601 format.
DailyForecasts.Moon.EpochRise int64 Moon rise displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
DailyForecasts.Moon.Set string Moon set displayed in ISO8601 format.
DailyForecasts.Moon.EpochSet int64 Moon set displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).
DailyForecasts.Moon.Phase string Moon phase.
DailyForecasts.Moon.Age int32 The number of days since the new moon.
DailyForecasts.Temperature.Minimum.Value double Rounded value in specified units. May be NULL.
DailyForecasts.Temperature.Minimum.Unit string Type of unit.
DailyForecasts.Temperature.Minimum.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.Temperature.Maximum.Value double Rounded value in specified units. May be NULL.
DailyForecasts.Temperature.Maximum.Unit string Type of unit.
DailyForecasts.Temperature.Maximum.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.RealFeelTemperature.Minimum.Value double Rounded value in specified units. May be NULL.
DailyForecasts.RealFeelTemperature.Minimum.Unit string Type of unit.
DailyForecasts.RealFeelTemperature.Minimum.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.RealFeelTemperature.Maximum.Value double Rounded value in specified units. May be NULL.
DailyForecasts.RealFeelTemperature.Maximum.Unit string Type of unit.
DailyForecasts.RealFeelTemperature.Maximum.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.RealFeelTemperatureShade.Minimum.Value double Rounded value in specified units. May be NULL.
DailyForecasts.RealFeelTemperatureShade.Minimum.Unit string Type of unit.
DailyForecasts.RealFeelTemperatureShade.Minimum.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.RealFeelTemperatureShade.Maximum.Value double Rounded value in specified units. May be NULL.
DailyForecasts.RealFeelTemperatureShade.Maximum.Unit string Type of unit.
DailyForecasts.RealFeelTemperatureShade.Maximum.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.HoursOfSun float Number of hours of sun.
DailyForecasts.DegreeDaySummary.Heating.Value double Number of degrees that the mean temperature is below 65 degrees F. Displayed in specified units. May be NULL.
DailyForecasts.DegreeDaySummary.Heating.Unit string Type of unit.
DailyForecasts.DegreeDaySummary.Heating.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.DegreeDaySummary.Cooling.Value double Number of degrees that the mean temperature is above 65 degrees F. Displayed in specified units. May be NULL.
DailyForecasts.DegreeDaySummary.Cooling.Unit string Type of unit.
DailyForecasts.DegreeDaySummary.Cooling.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.AirAndPollen.Name string Name of the pollen or air pollutant.
DailyForecasts.AirAndPollen.Value int32 Value of the pollutant. Values associated with mold, grass, weed, and tree are displayed in parts per cubic meter. Air quality and UV index are indices and are unitless. May be NULL.
DailyForecasts.AirAndPollen.Category string Category of the pollution. (low, high, good, moderate, unhealthy, hazardous)
DailyForecasts.AirAndPollen.CategoryValue int32 Value associated with the category. These values range from 1 to 6, with 1 implying good conditions and 6 implying hazardous conditions.
DailyForecasts.AirAndPollen.Type string Only exists for air quality. Examples include ozone and particle pollution.
DailyForecasts.Day.Icon int32 Numeric value representing an icon that matches the forecast.
DailyForecasts.Day.IconPhrase string Phrase description of the icon.
DailyForecasts.Day.LocalSource.Id int32 Numeric identifier, unique to the local data provider.
DailyForecasts.Day.LocalSource.Name string Name of the local data provider. Name is displayed in the language specified by language code in URL, if available. Otherwise, Name is displayed in English or the language in which the name was provided.
DailyForecasts.Day.LocalSource.WeatherCode string Weather code provided by the local data provider. This weather code allows the forecast to be matched to icons provided by the local data provider instead of AccuWeather icons.
DailyForecasts.Day.HasPrecipitation Boolean Boolean value that indicates the presence of any type of precipitation for a given day. Displays true if precipitation is present.
DailyForecasts.Day.PrecipitationType String Indicates if the precipitation is rain, snow, ice, or mixed. Only returned if HasPrecipitation is true.
DailyForecasts.Day.PrecipitationIntensity String Indicates if the precipitation strength is light, moderate, or heavy. Only returned if HasPrecipitation is true.
DailyForecasts.Day.ShortPhrase string Phrase description of the forecast. AccuWeather attempts to keep this phrase under 30 characters in length, but some languages/weather events may result in a phrase exceeding 30 characters.
DailyForecasts.Day.LongPhrase string Phrase description of the forecast. AccuWeather attempts to keep this phrase under 100 characters in length, but some languages/weather events may result in a phrase exceeding 100 characters.
DailyForecasts.Day.PrecipitationProbability int32 Percent representing the probability of precipitation. May be NULL.
DailyForecasts.Day.ThunderstormProbability int32 Percent representing the probability of a thunderstorm. May be NULL.
DailyForecasts.Day.RainProbability int32 Percent representing the probability of rain. May be NULL.
DailyForecasts.Day.SnowProbability int32 Percent representing the probability of snow. May be NULL.
DailyForecasts.Day.IceProbability int32 Percent representing the probability of ice. May be NULL.
DailyForecasts.Day.Wind.Speed.Value double Rounded value in specified units. May be NULL.
DailyForecasts.Day.Wind.Speed.Unit string Type of unit.
DailyForecasts.Day.Wind.Speed.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.Day.Wind.Direction.Degrees double Wind direction in azimuth degrees (for example, 180° indicates wind coming from the south).
DailyForecasts.Day.Wind.Direction.Localized string Direction abbreviation in the specified language.
DailyForecasts.Day.Wind.Direction.English string Direction abbreviation in English.
DailyForecasts.Day.WindGust.Speed.Value double Rounded value in specified units. May be NULL.
DailyForecasts.Day.WindGust.Speed.Unit string Type of unit.
DailyForecasts.Day.WindGust.Speed.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.Day.TotalLiquid.Value double Rounded value in specified units. May be NULL.
DailyForecasts.Day.TotalLiquid.Unit string Type of unit.
DailyForecasts.Day.TotalLiquid.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.Day.Rain.Value double Rounded value in specified units. May be NULL.
DailyForecasts.Day.Rain.Unit string Type of unit.
DailyForecasts.Day.Rain.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.Day.Snow.Value double Rounded value in specified units. May be NULL.
DailyForecasts.Day.Snow.Unit string Type of unit.
DailyForecasts.Day.Snow.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.Day.Ice.Value double Rounded value in specified units. May be NULL.
DailyForecasts.Day.Ice.Unit string Type of unit.
DailyForecasts.Day.Ice.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.Day.HoursOfPrecipitation float Number of hours of precipitation of any type.
DailyForecasts.Day.HoursOfRain float Number of hours of rain.
DailyForecasts.Day.CloudCover int32 Percent representing cloud cover.
DailyForecasts.Day.Evapotranspiration.Value double Rounded value in specified units. May be NULL.
DailyForecasts.Day.Evapotranspiration.Unit string Type of unit.
DailyForecasts.Day.Evapotranspiration.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.Day.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.
DailyForecasts.Day.SolarIrradiance.Unit string The type of measurement associated with the numerical value above.
DailyForecasts.Day.SolarIrradiance.UnitType int32 An integer used to identify the type of units above.
DailyForecasts.Day.RelativeHumidity.Minimum int32 The lowest observed water vapor amount expressed as a percentage of the amount needed for saturation, measured over the indicated 12-hour period.
DailyForecasts.Day.RelativeHumidity.Maximum int32 The highest observed water vapor amount expressed as a percentage of the amount needed for saturation, measured over the indicated 12-hour period.
DailyForecasts.Day.RelativeHumidity.Average int32 The average observed water vapor amount expressed as a percentage of the amount needed for saturation, measured over the indicated 12-hour period.
DailyForecasts.Day.WetBulbTemperature.Minimum.Value int32 The lowest observed wet bulb temperature, measured over the indicated 12-hour period.
DailyForecasts.Day.WetBulbTemperature.Minimum.Unit string The minimum wet bulb temperature's unit of measure.
DailyForecasts.Day.WetBulbTemperature.Minimum.UnitType int32 A unique numeric ID that designates the wet bulb temperature's unit type. This value can be used for translations.
DailyForecasts.Day.WetBulbTemperature.Maximum.Value int32 The highest observed wet bulb temperature, measured over the indicated 12-hour period.
DailyForecasts.Day.WetBulbTemperature.Maximum.Unit string The maximum wet bulb temperature's unit of measure.
DailyForecasts.Day.WetBulbTemperature.Maximum.UnitType int32 A unique numeric ID that designates the wet bulb temperature's unit type. This value can be used for translations.
DailyForecasts.Day.WetBulbTemperature.Average.Value int32 The average wet bulb temperature, measured over the indicated 12-hour period.
DailyForecasts.Day.WetBulbTemperature.Average.Unit string The average wet bulb temperature's unit of measure.
DailyForecasts.Day.WetBulbTemperature.Average.UnitType int32 A unique numeric ID that designates the wet bulb temperature's unit type. This value can be used for translations.
DailyForecasts.Day.WetBulbGlobeTemperature.Minimum.Value int32 The lowest observed wet bulb globe temperature, measured over the indicated 12-hour period.
DailyForecasts.Day.WetBulbGlobeTemperature.Minimum.Unit string The minimum wet bulb globe temperature's unit of measure.
DailyForecasts.Day.WetBulbGlobeTemperature.Minimum.UnitType int32 A unique numeric ID that designates the wet bulb globe temperature's unit type. This value can be used for translations.
DailyForecasts.Day.WetBulbGlobeTemperature.Maximum.Value int32 The highest observed wet bulb globe temperature, measured over the indicated 12-hour period.
DailyForecasts.Day.WetBulbGlobeTemperature.Maximum.Unit string The maximum wet bulb globe temperature's unit of measure.
DailyForecasts.Day.WetBulbGlobeTemperature.Maximum.UnitType int32 A unique numeric ID that designates the wet bulb globe temperature's unit type. This value can be used for translations.
DailyForecasts.Day.WetBulbGlobeTemperature.Average.Value int32 The average wet bulb globe temperature, measured over the indicated 12-hour period.
DailyForecasts.Day.WetBulbGlobeTemperature.Average.Unit string The average wet bulb globe temperature's unit of measure.
DailyForecasts.Day.WetBulbGlobeTemperature.Average.UnitType int32 A unique numeric ID that designates the wet bulb globe temperature's unit type. This value can be used for translations.
DailyForecasts.Night.Icon int32 Numeric value representing an icon that matches the forecast.
DailyForecasts.Night.IconPhrase string Phrase description of the icon.
DailyForecasts.Night.LocalSource.Id int32 Numeric identifier, unique to the local data provider.
DailyForecasts.Night.LocalSource.Name string Name of the local data provider. Name is displayed in the language specified by language code in URL, if available. Otherwise, Name is displayed in English or the language in which the name was provided.
DailyForecasts.Night.LocalSource.WeatherCode string Weather code provided by the local data provider. This weather code allows the forecast to be matched to icons provided by the local data provider instead of AccuWeather icons.
DailyForecasts.Night.HasPrecipitation Boolean Boolean value that indicates the presence of any type of precipitation for a given night. Displays true if precipitation is present.
DailyForecasts.Night.PrecipitationType String Indicates if the precipitation is rain, snow, ice, or mixed. Only returned if HasPrecipitation is true.
DailyForecasts.Night.PrecipitationIntensity String Indicates if the precipitation strength is light, moderate, or heavy. Only returned if HasPrecipitation is true.
DailyForecasts.Night.ShortPhrase string Phrase description of the forecast. AccuWeather attempts to keep this phrase under 30 characters in length, but some languages/weather events may result in a phrase exceeding 30 characters.
DailyForecasts.Night.LongPhrase string Phrase description of the forecast. AccuWeather attempts to keep this phrase under 100 characters in length, but some languages/weather events may result in a phrase exceeding 100 characters.
DailyForecasts.Night.PrecipitationProbability int32 Percent representing the probability of precipitation. May be NULL.
DailyForecasts.Night.ThunderstormProbability int32 Percent representing the probability of a thunderstorm. May be NULL.
DailyForecasts.Night.RainProbability int32 Percent representing the probability of rain. May be NULL.
DailyForecasts.Night.SnowProbability int32 Percent representing the probability of snow. May be NULL.
DailyForecasts.Night.IceProbability int32 Percent representing the probability of ice. May be NULL.
DailyForecasts.Night.Wind.Speed object Contains Value, Unit, and UnitType. For details, see DailyForecasts.Day.Wind.Speed.
DailyForecasts.Night.Wind.Direction object Contains Degrees, Localized, and English. For details, see DailyForecasts.Day.Wind.Direction.
DailyForecasts.Night.WindGust.Speed object Contains Value, Unit, and UnitType. For details, see DailyForecasts.Day.WindGust.Speed.
DailyForecasts.Night.TotalLiquid object Contains Value, Unit, and UnitType. For details, see DailyForecasts.Day.TotalLiquid.
DailyForecasts.Night.Rain object Contains Value, Unit, and UnitType. For details, see DailyForecasts.Day.Rain.
DailyForecasts.Night.Snow object Contains Value, Unit, and UnitType. For details, see DailyForecasts.Day.Snow.
DailyForecasts.Night.Ice object Contains Value, Unit, and UnitType. For details, see DailyForecasts.Day.Ice.
DailyForecasts.Night.HoursOfPrecipitation float Number of hours of precipitation of any type.
DailyForecasts.Night.HoursOfRain float Number of hours of rain.
DailyForecasts.Night.CloudCover int32 Percent representing cloud cover.
DailyForecasts.Night.Evapotranspiration.Value double Rounded value in specified units. May be NULL.
DailyForecasts.Night.Evapotranspiration.Unit string Type of unit.
DailyForecasts.Night.Evapotranspiration.UnitType int32 Numeric ID associated with the type of unit being displayed.
DailyForecasts.Night.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.
DailyForecasts.Night.SolarIrradiance.Unit string The type of measurement associated with the numerical value above.
DailyForecasts.Night.SolarIrradiance.UnitType int32 An integer used to identify the type of units above.
DailyForecasts.Night.RelativeHumidity.Minimum int32 The lowest observed water vapor amount expressed as a percentage of the amount needed for saturation, measured over the indicated 12-hour period.
DailyForecasts.Night.RelativeHumidity.Maximum int32 The highest observed water vapor amount expressed as a percentage of the amount needed for saturation, measured over the indicated 12-hour period.
DailyForecasts.Night.RelativeHumidity.Average int32 The average observed water vapor amount expressed as a percentage of the amount needed for saturation, measured over the indicated 12-hour period.
DailyForecasts.Night.WetBulbTemperature.Minimum.Value int32 The lowest observed wet bulb temperature, measured over the indicated 12-hour period.
DailyForecasts.Night.WetBulbTemperature.Minimum.Unit string The minimum wet bulb temperature's unit of measure.
DailyForecasts.Night.WetBulbTemperature.Minimum.UnitType int32 A unique numeric ID that designates the wet bulb temperature's unit type. This value can be used for translations.
DailyForecasts.Night.WetBulbTemperature.Maximum.Value int32 The highest observed wet bulb temperature, measured over the indicated 12-hour period.
DailyForecasts.Night.WetBulbTemperature.Maximum.Unit string The maximum wet bulb temperature's unit of measure.
DailyForecasts.Night.WetBulbTemperature.Maximum.UnitType int32 A unique numeric ID that designates the wet bulb temperature's unit type. This value can be used for translations.
DailyForecasts.Night.WetBulbTemperature.Average.Value int32 The average wet bulb temperature, measured over the indicated 12-hour period.
DailyForecasts.Night.WetBulbTemperature.Average.Unit string The average wet bulb temperature's unit of measure.
DailyForecasts.Night.WetBulbTemperature.Average.UnitType int32 A unique numeric ID that designates the wet bulb temperature's unit type. This value can be used for translations.
DailyForecasts.Night.WetBulbGlobeTemperature.Minimum.Value int32 The lowest observed wet bulb globe temperature, measured over the indicated 12-hour period.
DailyForecasts.Night.WetBulbGlobeTemperature.Minimum.Unit string The minimum wet bulb globe temperature's unit of measure.
DailyForecasts.Night.WetBulbGlobeTemperature.Minimum.UnitType int32 A unique numeric ID that designates the wet bulb globe temperature's unit type. This value can be used for translations.
DailyForecasts.Night.WetBulbGlobeTemperature.Maximum.Value int32 The highest observed wet bulb globe temperature, measured over the indicated 12-hour period.
DailyForecasts.Night.WetBulbGlobeTemperature.Maximum.Unit string The maximum wet bulb globe temperature's unit of measure.
DailyForecasts.Night.WetBulbGlobeTemperature.Maximum.UnitType int32 A unique numeric ID that designates the wet bulb globe temperature's unit type. This value can be used for translations.
DailyForecasts.Night.WetBulbGlobeTemperature.Average.Value int32 The average wet bulb globe temperature, measured over the indicated 12-hour period.
DailyForecasts.Night.WetBulbGlobeTemperature.Average.Unit string The average wet bulb globe temperature's unit of measure.
DailyForecasts.Night.WetBulbGlobeTemperature.Average.UnitType int32 A unique numeric ID that designates the wet bulb globe temperature's unit type. This value can be used for translations.
DailyForecasts.Sources string Forecast sources.
DailyForecasts.MobileLink string Link to the daily forecast for the requested location on AccuWeather`s mobile site.
DailyForecasts.Link string Link to the daily forecast for the requested location on AccuWeather`s web site.