GET Events

Returns all traffic events.

Request Information

https://511.alaska.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.

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: None, 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
IsFullClosure

True if all lanes are blocked for this event.

boolean
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
EventSubType

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

string
EncodedPolyline

A single string storing a series of coordinates. More information

string
Details

Event Details

string

Response Formats

JSON

Sample:
[
	{
		"ID": "ERS--1473",
		"Organization": "ERS",
		"RoadwayName": "E Denali Hwy",
		"DirectionOfTravel": "Eastbound",
		"Description": "Blasting on E Denali Hwy Eastbound near Maclaren River (44) Width Restriction: 1ft Height Restriction: 3ft Length Restriction: 4ft Weight Restriction: 5ton Speed Restriction: 20mph Additional Restrictions: Hazmat Prohibited, Escort Vehicle Required, DPS Escort Required, No Oversized Loads 2/10/2023 6:02 AM Mon, Tue, Wed, Thu, Fri, Sat, Sun: Active all day",
		"Reported": 1676041320,
		"LastUpdated": 1684508117,
		"StartDate": 1676041320,
		"PlannedEndDate": null,
		"LanesAffected": "No Data",
		"Latitude": 63.112754,
		"Longitude": -146.578175,
		"LatitudeSecondary": 0.0,
		"LongitudeSecondary": 0.0,
		"EventType": "roadwork",
		"IsFullClosure": false,
		"Restrictions": {
			"Width": 1.0,
			"Height": 3.0,
			"Length": 4.0,
			"Weight": 5.0,
			"Speed": 20.0
		},
		"DetourPolyline": null,
		"DetourInstructions": null,
		"Recurrence": "<b>Mon, Tue, Wed, Thu, Fri, Sat, Sun:</b><br/>Active all day<br/><br/>",
		"RecurrenceSchedules": [
			{
				"StartDate": "2/10/2023 6:02:00 AM-08:00:00",
				"EndDate": null,
				"Times": [
					{
						"StartTime": "00:00:00-08:00:00",
						"EndTime": "23:59:59-08:00:00"
					}
				],
				"DaysOfWeek": [
					"Monday",
					"Tuesday",
					"Wednesday",
					"Thursday",
					"Friday",
					"Saturday",
					"Sunday"
				]
			}
		],
		"EventSubType": "Blasting",
		"EncodedPolyline": "",
		"Details": ""
	},
	{
		"ID": "ERS--1630",
		"Organization": "ERS",
		"RoadwayName": "Richardson Hwy",
		"DirectionOfTravel": "Both Directions",
		"Description": "Closure on Richardson Hwy Both Directions near mile marker 244 Width Restriction: 50ft Height Restriction: 60ft Length Restriction: 70ft Weight Restriction: 80ton Speed Restriction: 90mph Additional Restrictions: Hazmat Prohibited",
		"Reported": 1685976960,
		"LastUpdated": 1685977259,
		"StartDate": 1685976960,
		"PlannedEndDate": null,
		"LanesAffected": "No Data",
		"Latitude": 63.749045,
		"Longitude": -145.832514,
		"LatitudeSecondary": 0.0,
		"LongitudeSecondary": 0.0,
		"EventType": "accidentsAndIncidents",
		"IsFullClosure": false,
		"Restrictions": {
			"Width": 50.0,
			"Height": 60.0,
			"Length": 70.0,
			"Weight": 80.0,
			"Speed": 90.0
		},
		"DetourPolyline": null,
		"DetourInstructions": null,
		"Recurrence": "",
		"RecurrenceSchedules": "",
		"EventSubType": "Closure",
		"EncodedPolyline": "",
		"Details": ""
	}
]

XML

Sample:
<EventList>
    <Event>
        <ID>ERS--1473</ID>
        <Organization>ERS</Organization>
        <RoadwayName>E Denali Hwy</RoadwayName>
        <DirectionOfTravel>Eastbound</DirectionOfTravel>
        <Description>Blasting on E Denali Hwy Eastbound near Maclaren River (44) Width Restriction: 1ft Height Restriction: 3ft Length Restriction: 4ft Weight Restriction: 5ton Speed Restriction: 20mph Additional Restrictions: Hazmat Prohibited, Escort Vehicle Required, DPS Escort Required, No Oversized Loads 2/10/2023 6:02 AM Mon, Tue, Wed, Thu, Fri, Sat, Sun: Active all day</Description>
        <Reported>1676041320</Reported>
        <LastUpdated>1684508117</LastUpdated>
        <StartDate>1676041320</StartDate>
        <PlannedEndDate/>
        <LanesAffected>No Data</LanesAffected>
        <Latitude>63.112754</Latitude>
        <Longitude>-146.578175</Longitude>
        <LatitudeSecondary>0</LatitudeSecondary>
        <LongitudeSecondary>0</LongitudeSecondary>
        <EventType>roadwork</EventType>
        <IsFullClosure>false</IsFullClosure>
        <Restrictions>
            <Width>1</Width>
            <Height>3</Height>
            <Length>4</Length>
            <Weight>5</Weight>
            <Speed>20</Speed>
        </Restrictions>
        <DetourPolyline/>
        <DetourInstructions/>
        <Recurrence>Mon, Tue, Wed, Thu, Fri, Sat, Sun: Active all day</Recurrence>
        <RecurrenceSchedules>
            <Schedule>
                <StartDate>2/10/2023 6:02:00 AM-08:00:00</StartDate>
                <EndDate/>
                <Times>
                    <Schedule>
                        <StartTime>00:00:00-08:00:00</StartTime>
                        <EndTime>23:59:59-08:00:00</EndTime>
                    </Schedule>
                </Times>
                <DaysOfWeek>Monday Tuesday Wednesday Thursday Friday Saturday Sunday</DaysOfWeek>
            </Schedule>
        </RecurrenceSchedules>
        <EventSubType>Blasting</EventSubType>
        <EncodedPolyline/>
        <Details/>
    </Event>
    <Event>
        <ID>ERS--1630</ID>
        <Organization>ERS</Organization>
        <RoadwayName>Richardson Hwy</RoadwayName>
        <DirectionOfTravel>Both Directions</DirectionOfTravel>
        <Description>Closure on Richardson Hwy Both Directions near mile marker 244 Width Restriction: 50ft Height Restriction: 60ft Length Restriction: 70ft Weight Restriction: 80ton Speed Restriction: 90mph Additional Restrictions: Hazmat Prohibited</Description>
        <Reported>1685976960</Reported>
        <LastUpdated>1685977259</LastUpdated>
        <StartDate>1685976960</StartDate>
        <PlannedEndDate/>
        <LanesAffected>No Data</LanesAffected>
        <Latitude>63.749045</Latitude>
        <Longitude>-145.832514</Longitude>
        <LatitudeSecondary>0</LatitudeSecondary>
        <LongitudeSecondary>0</LongitudeSecondary>
        <EventType>accidentsAndIncidents</EventType>
        <IsFullClosure>false</IsFullClosure>
        <Restrictions>
            <Width>50</Width>
            <Height>60</Height>
            <Length>70</Length>
            <Weight>80</Weight>
            <Speed>90</Speed>
        </Restrictions>
        <DetourPolyline/>
        <DetourInstructions/>
        <Recurrence/>
        <RecurrenceSchedules/>
        <EventSubType>Closure</EventSubType>
        <EncodedPolyline/>
        <Details/>
    </Event>
</EventList>