GET Events API Documentation

Returns all traffic events.

Request Information

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

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
SourceId

The source id of the event.

string
Organization

The name of the organization that provided this event.

string
RoadwayName

The roadway on which the event occurred.

string
DirectionOfTravel

One of the following directions of travel: Unknown, All Directions, Northbound, Eastbound, Southbound, Westbound, Inbound, Outbound, Both Directions.

string
Description

A summary of the event details which often includes type of event, dates and lanes affected.

string
Reported

The date the event was reported in Unix time. More information

integer
LastUpdated

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

integer
StartDate

The start date of the event in Unix time. More information

integer
PlannedEndDate

The date the event is expected to end in Unix time. More information

integer
LanesAffected

Describes the lane or number of lanes affected by the event. For example: all lanes.

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
LatitudeSecondary

Secondary latitude.

double
LongitudeSecondary

Secondary Longitude.

double
EventType

The type of event. One of the following: roadwork, closures or accidentsAndIncidents.

string
EventSubType

A more detailed and descriptive event type. No fixed list of sub types.

string
IsFullClosure

True if all lanes are blocked for this event.

boolean
Severity

Describes the severity of the event with default value of Unknown.

string
Comment

Extra information about the event

string
EncodedPolyline

A single string storing a series of coordinates. More information

string
Restrictions

Different types of restriction: Width (Feet), Height (Feet), Weight (Tons) and Speed (Mph).

list
DetourPolyline

Google Encoded Polyline for the detour

string
DetourInstructions

Turn by turn instructions for the detour

string
Recurrence

Describes the schedule of the event.

string
RecurrenceSchedules

More information about recurring events. Event start and end dates, times and day(s) of the week event is active.

string
Name

Name of the item.

string
EventCategory

Event Category

string
Location

Describes the location on the roadway where the event occurred.

string
County

The name of the county.

string
MPStart

MP Start

string
MPEnd

MP End

string
TrafficRestrictions

Contains traffic restriction information, including the project/location identifier (ProjectId) and the effective start and end dates (StartDate, EndDate) stored in Unix time.

list
NumberOfTotalLanes

Number of total lanes

integer
NumberOfAffectedLanes

Number of affected lanes

integer
ExpectedImpact

Expected impact

string

Response Formats

JSON
Sample:
[
  {
 "ID": 372,
 "SourceId": "3089",
 "Organization": "UT-Construction",
 "RoadwayName": "I-15",
 "DirectionOfTravel": null,
 "Description": "I-15 Shepard Lane Interchange Improved\n---\nTRAFFIC SHIFT – Northbound and southbound I-15 travel lanes between Burton Lane in Kaysville and State Street in Farmington are shifted to the median through winter 2025/2026. Drivers should use caution in the work zone. \n------\nPROJECT BACKGROUND:\nUDOT is constructing a new interchange along I-15 at Shepard Lane in Farmington and improving pedestrian and bike connectivity along Park Lane. Construction is anticipated to end in 2026. Drivers should expect daytime work Monday through Friday from 7 a.m. to 5 p.m., weekend and night work as needed, and intermittent lane closures on I-15 and US-89.",
 "Reported": 1709535600,
 "LastUpdated": 1775516319,
 "StartDate": 1709535600,
 "PlannedEndDate": 1798700400,
 "LanesAffected": "No Data",
 "Latitude": 40.971674,
 "Longitude": -111.893177,
 "LatitudeSecondary": null,
 "LongitudeSecondary": null,
 "EventType": "roadwork",
 "EventSubType": null,
 "IsFullClosure": false,
 "Severity": "Unknown",
 "Comment": "I-15 Shepard Lane Interchange Improved|Hotline: 385-758-2040; Email: shepardlaneinterchange@utah.gov; Website: udotinput.utah.gov/shepardlaneinterchange",
 "EncodedPolyline": "}gayFjc}iTgGxCqG|Bwa@hLsGjBwGjBkGhC_GnDgFxEsEjGuDfH}C`I_DzHcDxHeOv[sDjHwDfHyD`H}D~GaExGcExGcExG}D~GwDfHkJnQ{D`HoEhGaFlFeFhF{EtFuEbG{EtFkF`FaGfDmGfC",
 "Restrictions": {
  "Width": null,
  "Height": null,
  "Length": null,
  "Weight": null,
  "Speed": null
 },
 "DetourPolyline": "",
 "DetourInstructions": "",
 "Recurrence": "",
 "RecurrenceSchedules": "",
 "Name": "I-15",
 "EventCategory": "Construction",
 "Location": "I-15 at Shepard Lane in Farmington",
 "County": "Davis",
 "MPStart": "MP 323",
 "MPEnd": "MP 327",
 "TrafficRestrictions": [
  {
    "ProjectId": "Red Rd to NB I-215 Ramp Closed PN 15689",
    "StartDate": 1713679200,
    "EndDate": 1793512740
  }
 ],
 "NumberOfTotalLanes": null,
 "NumberOfAffectedLanes": null,
 "ExpectedImpact": null
  },
  {
 "ID": 10033,
 "SourceId": "20251028153115069600035",
 "Organization": "ADX",
 "RoadwayName": "North 1500 West,East Shepard Lane",
 "DirectionOfTravel": "NB",
 "Description": "Lane Closure on North 1500 West,East Shepard Lane. Left Shoulder Closed 1 Lanes Closed",
 "Reported": 1713679200,
 "LastUpdated": 1776187955,
 "StartDate": 1713679200,
 "PlannedEndDate": 1793512740,
 "LanesAffected": "No Data",
 "Latitude": 41.0007591247559,
 "Longitude": -111.921127319336,
 "LatitudeSecondary": null,
 "LongitudeSecondary": null,
 "EventType": "roadwork",
 "EventSubType": "traffic construction",
 "IsFullClosure": false,
 "Severity": "Unknown",
 "Comment": null,
 "EncodedPolyline": null,
 "Restrictions": {
  "Width": null,
  "Height": null,
  "Length": null,
  "Weight": null,
  "Speed": null
 },
 "DetourPolyline": "",
 "DetourInstructions": "",
 "Recurrence": "",
 "RecurrenceSchedules": "",
 "Name": "North 1500 West,East Shepard Lane",
 "EventCategory": "Lane Closure",
 "Location": "",
 "County": "Davis",
 "MPStart": null,
 "MPEnd": null,
  "TrafficRestrictions": [],
 "NumberOfTotalLanes": 2,
 "NumberOfAffectedLanes": 1,
 "ExpectedImpact": null
  }
]
XML
Sample:
<EventList>
    <Event>
        <ID>372</ID>
        <SourceId>3089</SourceId>
        <Organization>UT-Construction</Organization>
        <RoadwayName>I-15</RoadwayName>
        <DirectionOfTravel/>
        <Description>I-15 Shepard Lane Interchange Improved --- TRAFFIC SHIFT – Northbound and southbound I-15 travel lanes between Burton Lane in Kaysville and State Street in Farmington are shifted to the median through winter 2025/2026. Drivers should use caution in the work zone. ------ PROJECT BACKGROUND: UDOT is constructing a new interchange along I-15 at Shepard Lane in Farmington and improving pedestrian and bike connectivity along Park Lane. Construction is anticipated to end in 2026. Drivers should expect daytime work Monday through Friday from 7 a.m. to 5 p.m., weekend and night work as needed, and intermittent lane closures on I-15 and US-89.</Description>
        <Reported>1709535600</Reported>
        <LastUpdated>1775516319</LastUpdated>
        <StartDate>1709535600</StartDate>
        <PlannedEndDate>1798700400</PlannedEndDate>
        <LanesAffected>No Data</LanesAffected>
        <Latitude>40.971674</Latitude>
        <Longitude>-111.893177</Longitude>
        <LatitudeSecondary/>
        <LongitudeSecondary/>
        <EventType>roadwork</EventType>
        <EventSubType/>
        <IsFullClosure>false</IsFullClosure>
        <Severity>Unknown</Severity>
        <Comment>I-15 Shepard Lane Interchange Improved|Hotline: 385-758-2040; Email: shepardlaneinterchange@utah.gov; Website: udotinput.utah.gov/shepardlaneinterchange</Comment>
        <EncodedPolyline>}gayFjc}iTgGxCqG|Bwa@hLsGjBwGjBkGhC_GnDgFxEsEjGuDfH}C`I_DzHcDxHeOv[sDjHwDfHyD`H}D~GaExGcExGcExG}D~GwDfHkJnQ{D`HoEhGaFlFeFhF{EtFuEbG{EtFkF`FaGfDmGfC</EncodedPolyline>
        <Restrictions>
            <Width/>
            <Height/>
            <Length/>
            <Weight/>
            <Speed/>
        </Restrictions>
        <DetourPolyline/>
        <DetourInstructions/>
        <Recurrence/>
        <RecurrenceSchedules/>
        <Name>I-15</Name>
        <EventCategory>Construction</EventCategory>
        <Location>I-15 at Shepard Lane in Farmington</Location>
        <County>Davis</County>
        <MPStart>MP 323</MPStart>
        <MPEnd>MP 327</MPEnd>
        <TrafficRestrictions>
            <ProjectId>Red Rd to NB I-215 Ramp Closed PN 15689</ProjectId>
            <StartDate>1713679200</StartDate>
            <EndDate>1793512740</EndDate>
        </TrafficRestrictions>
        <NumberOfTotalLanes/>
        <NumberOfAffectedLanes/>
        <ExpectedImpact/>
    </Event>
    <Event>
        <ID>10033</ID>
        <SourceId>20251028153115069600035</SourceId>
        <Organization>ADX</Organization>
        <RoadwayName>North 1500 West,East Shepard Lane</RoadwayName>
        <DirectionOfTravel>NB</DirectionOfTravel>
        <Description>Lane Closure on North 1500 West,East Shepard Lane. Left Shoulder Closed 1 Lanes Closed</Description>
        <Reported>1713679200</Reported>
        <LastUpdated>1776187955</LastUpdated>
        <StartDate>1713679200</StartDate>
        <PlannedEndDate>1793512740</PlannedEndDate>
        <LanesAffected>No Data</LanesAffected>
        <Latitude>41.0007591247559</Latitude>
        <Longitude>-111.921127319336</Longitude>
        <LatitudeSecondary/>
        <LongitudeSecondary/>
        <EventType>roadwork</EventType>
        <EventSubType>traffic construction</EventSubType>
        <IsFullClosure>false</IsFullClosure>
        <Severity>Unknown</Severity>
        <Comment/>
        <EncodedPolyline/>
        <Restrictions>
            <Width/>
            <Height/>
            <Length/>
            <Weight/>
            <Speed/>
        </Restrictions>
        <DetourPolyline/>
        <DetourInstructions/>
        <Recurrence/>
        <RecurrenceSchedules/>
        <Name>North 1500 West,East Shepard Lane</Name>
        <EventCategory>Lane Closure</EventCategory>
        <Location/>
        <County>Davis</County>
        <MPStart/>
        <MPEnd/>
        <TrafficRestrictions/>
        <NumberOfTotalLanes>2</NumberOfTotalLanes>
        <NumberOfAffectedLanes>1</NumberOfAffectedLanes>
        <ExpectedImpact/>
    </Event>
</EventList>