GET Events
Returns all traffic events.
Request Information
https://511ga.org/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 |
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, accidentsAndIncidents or specialEvents. |
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 |
Subtype |
The subtype for the event |
string |
Response Formats
JSON
[
{
"ID": 11,
"Organization": "GA-Events",
"RoadwayName": "SR 23",
"DirectionOfTravel": "both directions",
"Description": "Road construction on SR 23 both directions at N HILL STREET. All lanes closed.",
"Reported": 1689066060,
"LastUpdated": 1730367886,
"StartDate": 1689066060,
"PlannedEndDate": 1734678000,
"LanesAffected": "All lanes closed.",
"Latitude": 32.976746,
"Longitude": -81.758232,
"LatitudeSecondary": 33.075768,
"LongitudeSecondary": -81.997872,
"EventType": "closures",
"IsFullClosure": true,
"Severity": "2",
"Comment": null,
"EncodedPolyline": "{wghEbs_rNpAeE",
"Restrictions": {
"Width": null,
"Height": null,
"Length": null,
"Weight": null,
"Speed": null
},
"DetourPolyline": "",
"DetourInstructions": "",
"Recurrence": "",
"RecurrenceSchedules": "",
"Subtype": "road construction"
},
{
"ID": 65215,
"Organization": "GA-Events",
"RoadwayName": "SR 400",
"DirectionOfTravel": "s",
"Description": "Crash on SR 400 Southbound before Windward Pkwy. No lanes blocked.",
"Reported": 1732093500,
"LastUpdated": 1732098336,
"StartDate": 1732093500,
"PlannedEndDate": 1732098300,
"LanesAffected": "No lanes blocked.",
"Latitude": 34.097108,
"Longitude": -84.25196,
"LatitudeSecondary": null,
"LongitudeSecondary": null,
"EventType": "accidentsAndIncidents",
"IsFullClosure": false,
"Severity": "1",
"Comment": null,
"EncodedPolyline": null,
"Restrictions": {
"Width": null,
"Height": null,
"Length": null,
"Weight": null,
"Speed": null
},
"DetourPolyline": "",
"DetourInstructions": "",
"Recurrence": "",
"RecurrenceSchedules": "",
"Subtype": "crash"
}
]
XML
<EventList>
<Event>
<ID>11</ID>
<Organization>GA-Events</Organization>
<RoadwayName>SR 23</RoadwayName>
<DirectionOfTravel>both directions</DirectionOfTravel>
<Description>Road construction on SR 23 both directions at N HILL STREET. All lanes closed.</Description>
<Reported>1689066060</Reported>
<LastUpdated>1730367886</LastUpdated>
<StartDate>1689066060</StartDate>
<PlannedEndDate>1734678000</PlannedEndDate>
<LanesAffected>All lanes closed.</LanesAffected>
<Latitude>32.976746</Latitude>
<Longitude>-81.758232</Longitude>
<LatitudeSecondary>33.075768</LatitudeSecondary>
<LongitudeSecondary>-81.997872</LongitudeSecondary>
<EventType>closures</EventType>
<IsFullClosure>true</IsFullClosure>
<Severity>2</Severity>
<Comment></Comment>
<EncodedPolyline>{wghEbs_rNpAeE</EncodedPolyline>
<Restrictions>
<Width></Width>
<Height></Height>
<Length></Length>
<Weight></Weight>
<Speed></Speed>
</Restrictions>
<DetourPolyline></DetourPolyline>
<DetourInstructions></DetourInstructions>
<Recurrence></Recurrence>
<RecurrenceSchedules></RecurrenceSchedules>
<Subtype>road construction</Subtype>
</Event>
<Event>
<ID>65215</ID>
<Organization>GA-Events</Organization>
<RoadwayName>SR 400</RoadwayName>
<DirectionOfTravel>s</DirectionOfTravel>
<Description>Crash on SR 400 Southbound before Windward Pkwy. No lanes blocked.</Description>
<Reported>1732093500</Reported>
<LastUpdated>1732098336</LastUpdated>
<StartDate>1732093500</StartDate>
<PlannedEndDate>1732098300</PlannedEndDate>
<LanesAffected>No lanes blocked.</LanesAffected>
<Latitude>34.097108</Latitude>
<Longitude>-84.25196</Longitude>
<LatitudeSecondary></LatitudeSecondary>
<LongitudeSecondary></LongitudeSecondary>
<EventType>accidentsAndIncidents</EventType>
<IsFullClosure>false</IsFullClosure>
<Severity>1</Severity>
<Comment></Comment>
<EncodedPolyline></EncodedPolyline>
<Restrictions>
<Width></Width>
<Height></Height>
<Length></Length>
<Weight></Weight>
<Speed></Speed>
</Restrictions>
<DetourPolyline></DetourPolyline>
<DetourInstructions></DetourInstructions>
<Recurrence></Recurrence>
<RecurrenceSchedules></RecurrenceSchedules>
<Subtype>crash</Subtype>
</Event>
</EventList>