GET Forecasted Road Weather Conditions API Documentation

Returns all forecasted driving conditions.

Request Information

https://www.udottraffic.utah.gov/api/v2/get/futuredrivingconditions

URI Parameters

URI Parameters
NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

Resource Description


Resource Description
NameDescriptionType
Id

A unique identifier.

integer
Source

Source of the forecasted driving conditions

string
SourceId

SourceId of the forecasted driving conditions

string
Latitude

The latitude describing the location. Format: double between -90 and 90.

double
Longitude

The longitude describing the location. Format: double between -180 and 180.

double
Roadway

Roadway name

string
EncodedPolyline

A single string storing a series of coordinates. More information

string
LastUpdated

The date the item's details were last updated in Unix time. More information

integer
ForecastInfo

Forecast info associated with the driving conditions

list

Response Formats

JSON
Sample:
[
  {
    "Id": 977417,
    "Source": "ADX-WeatherForecast",
    "SourceId": "21000011",
    "Latitude": 41.107965,
    "Longitude": -111.909644,
    "Roadway": "US-89 From Jct. SR-193 to I-84",
    "EncodedPolyline": "w{{yFfj`jTk`@sBi\\}Aci@{BmBKeFMuB@uAHcALgAT{@RkAXmDtAmPdKyJlFuDtBcAj@oAx@cElCmAx@",
    "LastUpdated": 1771426801,
    "ForecastInfo": [
      {
        "Timeframe": "0 to 3 hours",
        "Condition": "Yellow",
        "ConditionReason": "Slushy roads"
      },
      {
        "Timeframe": "3 to 6 hours",
        "Condition": "Yellow",
        "ConditionReason": "Areas of road snow/ice"
      },
      {
        "Timeframe": "6 to 9 hours",
        "Condition": "Yellow",
        "ConditionReason": "Patchy ice"
      },
      {
        "Timeframe": "9 to 12 hours",
        "Condition": "Yellow",
        "ConditionReason": "Patchy ice"
      },
      {
        "Timeframe": "12 to 15 hours",
        "Condition": "Green",
        "ConditionReason": "Dry"
      },
      {
        "Timeframe": "15 to 18 hours",
        "Condition": "Green",
        "ConditionReason": "Dry"
      },
      {
        "Timeframe": "18 to 21 hours",
        "Condition": "Green",
        "ConditionReason": "Dry"
      },
      {
        "Timeframe": "21 to 24 hours",
        "Condition": "Green",
        "ConditionReason": "Dry"
      }
    ]
  },
  {
    "Id": 977426,
    "Source": "ADX-WeatherForecast",
    "SourceId": "21000027",
    "Latitude": 41.735096,
    "Longitude": -111.834818,
    "Roadway": "US-89 Lower Logan Canyon",
    "EncodedPolyline": "kkv}FrvqiTsWSvAsyBuLum@iOi_@mAib@xDuyAxHgk@s^okDeG{}Ak`@mq@kDsx@so@o{@yN_wA_GcfAdFifAo|@i}Aer@ciAo]HaNt]ce@yH",
    "LastUpdated": 1771426801,
    "ForecastInfo": [
      {
        "Timeframe": "0 to 3 hours",
        "Condition": "Yellow",
        "ConditionReason": "Areas of road snow/ice"
      },
      {
        "Timeframe": "3 to 6 hours",
        "Condition": "Yellow",
        "ConditionReason": "Areas of road snow/ice"
      },
      {
        "Timeframe": "6 to 9 hours",
        "Condition": "Yellow",
        "ConditionReason": "Areas of road snow/ice"
      },
      {
        "Timeframe": "9 to 12 hours",
        "Condition": "Yellow",
        "ConditionReason": "Areas of road snow/ice"
      },
      {
        "Timeframe": "12 to 15 hours",
        "Condition": "Yellow",
        "ConditionReason": "Patchy ice"
      },
      {
        "Timeframe": "15 to 18 hours",
        "Condition": "Yellow",
        "ConditionReason": "Patchy ice"
      },
      {
        "Timeframe": "18 to 21 hours",
        "Condition": "Green",
        "ConditionReason": "Dry"
      },
      {
        "Timeframe": "21 to 24 hours",
        "Condition": "Green",
        "ConditionReason": "Dry"
      }
    ]
  }
]
XML
Sample:
<FutureDrivingConditionsList>
    <FutureDrivingConditions>
        <Id>977417</Id>
        <Source>ADX-WeatherForecast</Source>
        <SourceId>21000011</SourceId>
        <Latitude>41.107965</Latitude>
        <Longitude>-111.909644</Longitude>
        <Roadway>US-89 From Jct. SR-193 to I-84</Roadway>
        <EncodedPolyline>w{{yFfj`jTk`@sBi\}Aci@{BmBKeFMuB@uAHcALgAT{@RkAXmDtAmPdKyJlFuDtBcAj@oAx@cElCmAx@</EncodedPolyline>
        <LastUpdated>1771426801</LastUpdated>
        <ForecastInfo>
            <Forecast>
                <Timeframe>0 to 3 hours</Timeframe>
                <Condition>Yellow</Condition>
                <ConditionReason>Slushy roads</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>3 to 6 hours</Timeframe>
                <Condition>Yellow</Condition>
                <ConditionReason>Areas of road snow/ice</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>6 to 9 hours</Timeframe>
                <Condition>Yellow</Condition>
                <ConditionReason>Patchy ice</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>9 to 12 hours</Timeframe>
                <Condition>Yellow</Condition>
                <ConditionReason>Patchy ice</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>12 to 15 hours</Timeframe>
                <Condition>Green</Condition>
                <ConditionReason>Dry</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>15 to 18 hours</Timeframe>
                <Condition>Green</Condition>
                <ConditionReason>Dry</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>18 to 21 hours</Timeframe>
                <Condition>Green</Condition>
                <ConditionReason>Dry</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>21 to 24 hours</Timeframe>
                <Condition>Green</Condition>
                <ConditionReason>Dry</ConditionReason>
            </Forecast>
        </ForecastInfo>
    </FutureDrivingConditions>
    <FutureDrivingConditions>
        <Id>977426</Id>
        <Source>ADX-WeatherForecast</Source>
        <SourceId>21000027</SourceId>
        <Latitude>41.735096</Latitude>
        <Longitude>-111.834818</Longitude>
        <Roadway>US-89 Lower Logan Canyon</Roadway>
        <EncodedPolyline>kkv}FrvqiTsWSvAsyBuLum@iOi_@mAib@xDuyAxHgk@s^okDeG{}Ak`@mq@kDsx@so@o{@yN_wA_GcfAdFifAo|@i}Aer@ciAo]HaNt]ce@yH</EncodedPolyline>
        <LastUpdated>1771426801</LastUpdated>
        <ForecastInfo>
            <Forecast>
                <Timeframe>0 to 3 hours</Timeframe>
                <Condition>Yellow</Condition>
                <ConditionReason>Areas of road snow/ice</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>3 to 6 hours</Timeframe>
                <Condition>Yellow</Condition>
                <ConditionReason>Areas of road snow/ice</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>6 to 9 hours</Timeframe>
                <Condition>Yellow</Condition>
                <ConditionReason>Areas of road snow/ice</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>9 to 12 hours</Timeframe>
                <Condition>Yellow</Condition>
                <ConditionReason>Areas of road snow/ice</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>12 to 15 hours</Timeframe>
                <Condition>Yellow</Condition>
                <ConditionReason>Patchy ice</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>15 to 18 hours</Timeframe>
                <Condition>Yellow</Condition>
                <ConditionReason>Patchy ice</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>18 to 21 hours</Timeframe>
                <Condition>Green</Condition>
                <ConditionReason>Dry</ConditionReason>
            </Forecast>
            <Forecast>
                <Timeframe>21 to 24 hours</Timeframe>
                <Condition>Green</Condition>
                <ConditionReason>Dry</ConditionReason>
            </Forecast>
        </ForecastInfo>
    </FutureDrivingConditions>
</FutureDrivingConditionsList>