GET Events

Returns all traffic events.

Request Information

https://az511.com/api/v2/get/event

URI Parameters

NameDescriptionTypeAdditional information
key

Developer Key

string

Required

format

Valid values are 'xml' or 'json', default 'json'.

string

Optional

Response Information

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
Details

string

Response Formats

JSON

Sample:
[
	{
		"ID": "RADS--TCP191813",
		"Organization": "RADS",
		"RoadwayName": "RURAL RD and VISTA DEL CERRO DR",
		"DirectionOfTravel": "None",
		"Description": "RURAL RD and VISTA DEL CERRO DR - Construction - RURAL RD  is restricted 3 Lanes Northbound between VISTA DEL CERRO DR to BROADMOR DR to allow for bore work.   RURAL RD  is restricted 2 Lanes Southbound between VISTA DEL CERRO DR to BROADMOR DR to allow for bore work.   RURAL RD  is restricted 3 Lanes Eastbound between VISTA DEL CERRO DR to BROADMOR DR to allow for bore work.   RURAL RD  is restricted 2 Lanes Westbound between VISTA DEL CERRO DR to BROADMOR DR to allow for bore work.",
		"Reported": 1579966200,
		"LastUpdated": 1579966231,
		"StartDate": 1579966200,
		"PlannedEndDate": 1581460200,
		"LanesAffected": "No Data",
		"Latitude": 33.41012,
		"Longitude": -111.926279,
		"LatitudeSecondary": 0.0,
		"LongitudeSecondary": 0.0,
		"EventType": "restrictionClass",
		"Details": ""
	},
	{
		"ID": "ERS--2023",
		"Organization": "ERS",
		"RoadwayName": "I-10",
		"DirectionOfTravel": "Westbound",
		"Description": "Long term road construction on I-10 Westbound from 35th Ave (143)  to 0.57 Mi Before 35th Ave (143)  . Lane Closed.  Speed Restriction: 55mph  1/28/2019 9:00 PM  to 2/17/2020 5:00 AM  ",
		"Reported": 1548734400,
		"LastUpdated": 1579810700,
		"StartDate": 1548734400,
		"PlannedEndDate": 1581940800,
		"LanesAffected": "No Data",
		"Latitude": 33.462501,
		"Longitude": -112.128845,
		"LatitudeSecondary": 33.462398,
		"LongitudeSecondary": -112.139156,
		"EventType": "roadwork",
		"Details": "WB I-10 right shoulder closed from 35th Ave off-ramp to 35th Ave on-ramp. Concrete barrier in place."
	}
]

XML

Sample:
<EventList>
	<Event>
		<ID>RADS--TCP191813</ID>
		<Organization>RADS</Organization>
		<RoadwayName>RURAL RD and VISTA DEL CERRO DR</RoadwayName>
		<DirectionOfTravel>None</DirectionOfTravel>
		<Description>
		RURAL RD and VISTA DEL CERRO DR - Construction - RURAL RD is restricted 3 Lanes Northbound between VISTA DEL CERRO DR to BROADMOR DR to allow for bore work. RURAL RD is restricted 2 Lanes Southbound between VISTA DEL CERRO DR to BROADMOR DR to allow for bore work. RURAL RD is restricted 3 Lanes Eastbound between VISTA DEL CERRO DR to BROADMOR DR to allow for bore work. RURAL RD is restricted 2 Lanes Westbound between VISTA DEL CERRO DR to BROADMOR DR to allow for bore work.
		</Description>
		<Reported>1579966200</Reported>
		<LastUpdated>1579966231</LastUpdated>
		<StartDate>1579966200</StartDate>
		<PlannedEndDate>1581460200</PlannedEndDate>
		<LanesAffected>No Data</LanesAffected>
		<Latitude>33.41012</Latitude>
		<Longitude>-111.926279</Longitude>
		<LatitudeSecondary>0.0</LatitudeSecondary>
		<LongitudeSecondary>0.0</LongitudeSecondary>
		<EventType>restrictionClass</EventType>
		<Details/>
	</Event>
	<Event>
		<ID>ERS--2023</ID>
		<Organization>ERS</Organization>
		<RoadwayName>I-10</RoadwayName>
		<DirectionOfTravel>Westbound</DirectionOfTravel>
		<Description>
		Long term road construction on I-10 Westbound from 35th Ave (143) to 0.57 Mi Before 35th Ave (143) . Lane Closed. Speed Restriction: 55mph 1/28/2019 9:00 PM to 2/17/2020 5:00 AM
		</Description>
		<Reported>1548734400</Reported>
		<LastUpdated>1579810700</LastUpdated>
		<StartDate>1548734400</StartDate>
		<PlannedEndDate>1581940800</PlannedEndDate>
		<LanesAffected>No Data</LanesAffected>
		<Latitude>33.462501</Latitude>
		<Longitude>-112.128845</Longitude>
		<LatitudeSecondary>33.462398</LatitudeSecondary>
		<LongitudeSecondary>-112.139156</LongitudeSecondary>
		<EventType>roadwork</EventType>
		<Details>
		WB I-10 right shoulder closed from 35th Ave off-ramp to 35th Ave on-ramp. Concrete barrier in place.
		</Details>
	</Event>
</EventList>