GET Events API Documentation
Returns all traffic events.
Request Information
https://511.idaho.gov/api/v2/get/event
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key |
Developer Key |
string |
Required |
| format |
Valid values are 'xml' or 'json', default 'json'. |
string |
Optional |
Response Information
Resource Description
| Name | Description | Type |
|---|---|---|
| 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 |
| Cause |
Describes the cause of the event. |
string |
| FunctionalClass |
|
integer |
Response Formats
[
{
"ID": 1,
"SourceId": "1",
"Organization": "ERS",
"RoadwayName": "SH-55",
"DirectionOfTravel": "Both",
"Description": "Construction on SH-55 Both Directions from Pearl Rd to W Avimor Dr. All lanes closed.",
"Reported": 1792605240,
"LastUpdated": 1793112516,
"StartDate": 1792605240,
"PlannedEndDate": 1793512500,
"LanesAffected": "All lanes closed",
"Latitude": 43.8705692825001,
"Longitude": -116.21182221525,
"LatitudeSecondary": 43.8305680534958,
"LongitudeSecondary": -116.246125637863,
"EventType": "closures",
"EventSubType": "Construction",
"IsFullClosure": true,
"Severity": "Major",
"Comment": null,
"EncodedPolyline": "anwjGzrhdU^H|@Tp@Tn@Zj@Z`@Zj@d@b@b@h@n@j@x@|A~BHLb@j@l@j@t@h@p@Zz@Vf@Fj@Dr@ArBGNA|@C^CZCv@Cr@A|@Bj@Jf@Ll@V`@Th@^b@`@b@f@\\f@t@pAx@|Aj@bA`@n@j@t@j@p@l@l@j@d@t@h@dAj@r@Z|@XXHx@NjALjAHzCNp@Fj@Hx@Px@VlAf@ZP\\Pj@^~@v@~@`At@~@`AzAn@lAl@~Ap@|Bf@fCZpB^nCHr@\\fCTnAV`AXp@Xj@b@r@r@t@j@d@l@Zn@T^Hj@Dd@@v@C|@K~Eu@jAK`ACn@Dn@Fp@Lp@Rf@Rl@Zh@\\f@b@`AbAd@n@T`@h@bA|@pBbAfCvBhFx@hBrAlCfBxCrCxEpElH`A`Bd@t@nBbDz@|Aj@hAf@lAZ|@LZ`BzEl@fBd@vAn@hBfAdD\\z@h@`Ar@~@`@d@l@d@`@Vf@Vl@Tl@Lr@Jv@Bv@Aj@Gz@Oz@Qv@Q`B]j@Gn@G^Ab@BtANj@Lx@Zp@\\j@^d@`@\\\\^d@R\\",
"Restrictions": {
"Width": null,
"Height": null,
"Length": null,
"Weight": null,
"Speed": null
},
"DetourPolyline": "anwjGzrhdU|A^p@TzAv@`@Zj@d@b@b@h@n@rCfEb@j@l@j@t@h@p@Zz@VrALtFOz@Gv@Cr@A|@Bj@Jf@Ll@V`@Th@^b@`@b@f@\\f@xAjC`AfB`@n@vAfBl@l@j@d@t@h@dAj@r@Z|@XXHx@NjALfFXp@Fj@Hx@Px@VlAf@ZP\\Pj@^~@v@~@`At@~@jAjBd@|@l@~Ap@|Bf@fCv@nFj@lETnAV`Ar@|Ab@r@r@t@j@d@l@Zn@T^Hj@Dd@@v@C|@K~Eu@jAK`AC~ALp@Lp@Rf@Rl@Zh@\\f@b@`AbAd@n@~@dB|@pBbAfCvBhFx@hBrAlCzFrJxHdMnBbDz@|Aj@hAf@lAZ|@d@pAvBlG^hA`ArCz@hC\\z@h@`Ar@~@`@d@l@d@`@Vf@Vl@Tl@Lr@Jv@Bv@Aj@GvBa@v@Q`B]zAO^Ab@BtANj@Lx@Zp@\\j@^bA~@^d@R\\",
"DetourInstructions": [
"Head toward Summit Ridge Rd on Highway 55 (ID-55). Go for 3.5 mi.",
"Arrive at Highway 55 (ID-55)."
],
"Recurrence": "<b>Mon, Tue, Wed, Thu, Fri, Sat, Sun:</b><br/>Active all day<br/><br/>",
"RecurrenceSchedules": [
{
"StartDate": "10/21/2026 11:54:00 AM-06:00:00",
"EndDate": "10/31/2026 11:55:00 PM-06:00:00",
"Times": [
{
"StartTime": "00:00:00-06:00:00",
"EndTime": "23:59:59-06:00:00"
}
],
"DaysOfWeek": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
]
}
],
"Cause": "roadwork",
"FunctionalClass": 3
}
]
<EventList>
<Event>
<ID>1</ID>
<SourceId>1</SourceId>
<Organization>ERS</Organization>
<RoadwayName>SH-55</RoadwayName>
<DirectionOfTravel>Both</DirectionOfTravel>
<Description>Construction on SH-55 Both Directions from Pearl Rd to W Avimor Dr. All lanes closed.</Description>
<Reported>1792605240</Reported>
<LastUpdated>1793112516</LastUpdated>
<StartDate>1792605240</StartDate>
<PlannedEndDate>1793512500</PlannedEndDate>
<LanesAffected>All lanes closed</LanesAffected>
<Latitude>43.8705692825001</Latitude>
<Longitude>-116.21182221525</Longitude>
<LatitudeSecondary>43.8305680534958</LatitudeSecondary>
<LongitudeSecondary>-116.246125637863</LongitudeSecondary>
<EventType>closures</EventType>
<EventSubType>Construction</EventSubType>
<IsFullClosure>true</IsFullClosure>
<Severity>Major</Severity>
<Comment />
<EncodedPolyline>anwjGzrhdU^H|@Tp@Tn@Zj@Z`@Zj@d@b@b@h@n@j@x@|A~BHLb@j@l@j@t@h@p@Zz@Vf@Fj@Dr@ArBGNA|@C^CZCv@Cr@A|@Bj@Jf@Ll@V`@Th@^b@`@b@f@\f@t@pAx@|Aj@bA`@n@j@t@j@p@l@l@j@d@t@h@dAj@r@Z|@XXHx@NjALjAHzCNp@Fj@Hx@Px@VlAf@ZP\Pj@^~@v@~@`At@~@`AzAn@lAl@~Ap@|Bf@fCZpB^nCHr@\fCTnAV`AXp@Xj@b@r@r@t@j@d@l@Zn@T^Hj@Dd@@v@C|@K~Eu@jAK`ACn@Dn@Fp@Lp@Rf@Rl@Zh@\f@b@`AbAd@n@T`@h@bA|@pBbAfCvBhFx@hBrAlCfBxCrCxEpElH`A`Bd@t@nBbDz@|Aj@hAf@lAZ|@LZ`BzEl@fBd@vAn@hBfAdD\z@h@`Ar@~@`@d@l@d@`@Vf@Vl@Tl@Lr@Jv@Bv@Aj@Gz@Oz@Qv@Q`B]j@Gn@G^Ab@BtANj@Lx@Zp@\j@^d@`@\\^d@R\</EncodedPolyline>
<Restrictions>
<Width />
<Height />
<Length />
<Weight />
<Speed />
</Restrictions>
<DetourPolyline>anwjGzrhdU|A^p@TzAv@`@Zj@d@b@b@h@n@rCfEb@j@l@j@t@h@p@Zz@VrALtFOz@Gv@Cr@A|@Bj@Jf@Ll@V`@Th@^b@`@b@f@\f@xAjC`AfB`@n@vAfBl@l@j@d@t@h@dAj@r@Z|@XXHx@NjALfFXp@Fj@Hx@Px@VlAf@ZP\Pj@^~@v@~@`At@~@jAjBd@|@l@~Ap@|Bf@fCv@nFj@lETnAV`Ar@|Ab@r@r@t@j@d@l@Zn@T^Hj@Dd@@v@C|@K~Eu@jAK`AC~ALp@Lp@Rf@Rl@Zh@\f@b@`AbAd@n@~@dB|@pBbAfCvBhFx@hBrAlCzFrJxHdMnBbDz@|Aj@hAf@lAZ|@d@pAvBlG^hA`ArCz@hC\z@h@`Ar@~@`@d@l@d@`@Vf@Vl@Tl@Lr@Jv@Bv@Aj@GvBa@v@Q`B]zAO^Ab@BtANj@Lx@Zp@\j@^bA~@^d@R\</DetourPolyline>
<DetourInstructions>Head toward Summit Ridge Rd on Highway 55 (ID-55). Go for 3.5 mi. Arrive at Highway 55 (ID-55).</DetourInstructions>
<Recurrence><b>Mon, Tue, Wed, Thu, Fri, Sat, Sun:</b><br/>Active all day<br/><br/></Recurrence>
<RecurrenceSchedules>
<Schedule>
<StartDate>10/21/2026 11:54:00 AM-06:00:00</StartDate>
<EndDate>10/31/2026 11:55:00 PM-06:00:00</EndDate>
<Times>
<Schedule>
<StartTime>00:00:00-06:00:00</StartTime>
<EndTime>23:59:59-06:00:00</EndTime>
</Schedule>
</Times>
<DaysOfWeek>Monday Tuesday Wednesday Thursday Friday Saturday Sunday</DaysOfWeek>
</Schedule>
</RecurrenceSchedules>
<Cause>roadwork</Cause>
<FunctionalClass>3</FunctionalClass>
</Event>
</EventList>