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
CameraId

Camera Id associated with this weather station as a string if weather station has a camera otherwise hull

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
DefaultViewURL

URL for tabular view of weather station observation information

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": 3668,
		"Latitude": 40.73898,
		"Longitude": -111.82501,
		"StationName": "US-89 @ MP 490 North Sink",
		"CameraId": null,
		"AirTemperature": "45.42",
		"SurfaceTemp": "55.04",
		"SubSurfaceTemp": "57.62",
		"SurfaceStatus": "Dry",
		"RelativeHumidity": "82",
		"DewpointTemp": "40.55",
		"Precipitation": null,
		"WindSpeedAvg": "0.80",
		"WindSpeedGust": "1.32",
		"WindDirection": "NE",
		"DefaultViewURL": null,
		"Source": "ADXRwis",
		"LastUpdated": 1716390129
	},
	{
		"Id": 4075,
		"Latitude": 41.0974,
		"Longitude": -112.0853,
		"StationName": "SR-177 @ MP 14.5 Syracuse",
		"CameraId": "10833--1",
		"AirTemperature": "68.0",
		"SurfaceTemp": "71.0",
		"SubSurfaceTemp": null,
		"SurfaceStatus": "Dry",
		"RelativeHumidity": "57.0",
		"DewpointTemp": null,
		"Precipitation": null,
		"WindSpeedAvg": "4.0",
		"WindSpeedGust": "6.0",
		"WindDirection": "NW",
		"DefaultViewURL": "https://mesowest.utah.edu/cgi-bin/droman/meso_base_dyn.cgi?product=roads&stn=utwds",
		"Source": "Rwis",
		"LastUpdated": 1718011200
	}
]

XML

Sample:
<WeatherStationsList>
    <WeatherStations>
        <Id>3668</Id>
        <Latitude>40.73898</Latitude>
        <Longitude>-111.82501</Longitude>
        <StationName>US-89 @ MP 490 North Sink</StationName>
        <CameraId/>
        <AirTemperature>45.42</AirTemperature>
        <SurfaceTemp>55.04</SurfaceTemp>
        <SubSurfaceTemp>57.62</SubSurfaceTemp>
        <SurfaceStatus>Dry</SurfaceStatus>
        <RelativeHumidity>82</RelativeHumidity>
        <DewpointTemp>40.55</DewpointTemp>
        <Precipitation/>
        <WindSpeedAvg>0.80</WindSpeedAvg>
        <WindSpeedGust>1.32</WindSpeedGust>
        <WindDirection>NE</WindDirection>
        <DefaultViewURL/>
        <Source>ADXRwis</Source>
        <LastUpdated>1716390129</LastUpdated>
    </WeatherStations>
    <WeatherStations>
        <Id>4075</Id>
        <Latitude>41.0974</Latitude>
        <Longitude>-112.0853</Longitude>
        <StationName>SR-177 @ MP 14.5 Syracuse</StationName>
        <CameraId>10833--1</CameraId>
        <AirTemperature>68.0</AirTemperature>
        <SurfaceTemp>71.0</SurfaceTemp>
        <SubSurfaceTemp/>
        <SurfaceStatus>Dry</SurfaceStatus>
        <RelativeHumidity>57.0</RelativeHumidity>
        <DewpointTemp/>
        <Precipitation/>
        <WindSpeedAvg>4.0</WindSpeedAvg>
        <WindSpeedGust>6.0</WindSpeedGust>
        <WindDirection>NW</WindDirection>
        <DefaultViewURL>https://mesowest.utah.edu/cgi-bin/droman/meso_base_dyn.cgi?product=roads&stn=utwds</DefaultViewURL>
        <Source>Rwis</Source>
        <LastUpdated>1718011200</LastUpdated>
    </WeatherStations>
</WeatherStationsList>