GET Weather Stations

Returns all weather stations.

Request Information

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

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
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
StationName

The name of the weather station.

string
CameraSource

Name of the camera source associated with this weather station.

string
CameraSourceId

Source id of the camera associated with this weather station.

string
AirTemperature

The temperature in fahrenheit of the air measured at approximately eight feet above the ground. For example: 42.8 °F

string
SurfaceTemp

Temperature of the surface in degrees fahrenheit, or null

string
SubSurfaceTemp

Subsurface temparature

string
SurfaceStatus

Surface status as a string. For example: Dry, Wet, or null

string
RelativeHumidity

The ratio in percentage of the existing vapor pressure to the saturation vapor pressure with respect to water at the current temperature. For example: 26 %

string
DewpointTemp

Current dew point

string
Precipitation

Precipitation status as a string. For eample: Light, Moderate, or null

string
WindSpeedAvg

Average wind speed in miles per hour

string
WindSpeedGust

Wind gusts speed in mile per hour

string
WindDirection

The direction for the wind value. Possible values are: N, NNE, NE, ENE, E, ESE, SE, SSE, S, SSW, SW, WSW, W, WNW, NW, NNW

string
Source

Rwis source.

string
LastUpdated

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

integer

Response Formats

JSON

Sample:
[
	{
        "Id": 808927,
        "Latitude": null,
        "Longitude": null,
        "StationName": "SR-85 @ Dannon Way",
        "CameraSource": null,
        "CameraSourceId": null,
        "AirTemperature": "83.10",
        "SurfaceTemp": "97.3",
        "SubSurfaceTemp": "83",
        "SurfaceStatus": "Dry",
        "RelativeHumidity": "23",
        "DewpointTemp": "42.03",
        "Precipitation": null,
        "WindSpeedAvg": "5.35",
        "WindSpeedGust": "10.30",
        "WindDirection": "E",
        "Source": "ADXRwis",
        "LastUpdated": 1751301600
    }
]

XML

Sample:
<WeatherStationsList>
	<WeatherStations>
        <Id>808927</Id>
        <Latitude />
        <Longitude />
        <StationName>SR-85 @ Dannon Way</StationName>
        <CameraSource />
        <CameraSourceId />
        <AirTemperature>84.40</AirTemperature>
        <SurfaceTemp>98.2</SurfaceTemp>
        <SubSurfaceTemp>83</SubSurfaceTemp>
        <SurfaceStatus>Dry</SurfaceStatus>
        <RelativeHumidity>22</RelativeHumidity>
        <DewpointTemp>42.42</DewpointTemp>
        <Precipitation />
        <WindSpeedAvg>2.42</WindSpeedAvg>
        <WindSpeedGust>7.67</WindSpeedGust>
        <WindDirection>NE</WindDirection>
        <Source>ADXRwis</Source>
        <LastUpdated>1751302200</LastUpdated>
    </WeatherStations>
</WeatherStationsList>