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 |
| 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: 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": 12,
"SourceId": "3458465",
"Organization": "GA-Events",
"RoadwayName": "SR 1",
"DirectionOfTravel": "both directions",
"Description": "Road construction on SR 1 both directions at DENTON RD.. 2 right lanes are blocked.",
"Reported": 1693022400,
"LastUpdated": 1711201085,
"StartDate": 1693022400,
"PlannedEndDate": 1769920200,
"LanesAffected": "2 right lanes are blocked.",
"Latitude": 34.063612,
"Longitude": -85.232752,
"LatitudeSecondary": 34.07344,
"LongitudeSecondary": -85.23352,
"EventType": "roadwork",
"IsFullClosure": false,
"Severity": "3",
"Comment": null,
"EncodedPolyline": "}}}nEzdfgOJAdQo@xLc@~G[pCK|DMhBIf@C",
"Restrictions": {
"Width": null,
"Height": null,
"Length": null,
"Weight": null,
"Speed": null
},
"DetourPolyline": "",
"DetourInstructions": "",
"Recurrence": "",
"RecurrenceSchedules": "",
"Subtype": "road construction"
},
{
"ID": 20,
"SourceId": "4080970",
"Organization": "GA-Events",
"RoadwayName": "SR 38",
"DirectionOfTravel": "both directions",
"Description": "Road construction on SR 38 both directions at COMMUNITY DR. 2 lanes blocked.",
"Reported": 1719442800,
"LastUpdated": 1752059086,
"StartDate": 1719442800,
"PlannedEndDate": 1762030800,
"LanesAffected": "2 lanes blocked.",
"Latitude": 31.23211,
"Longitude": -82.330672,
"LatitudeSecondary": 31.24198,
"LongitudeSecondary": -82.318784,
"EventType": "roadwork",
"IsFullClosure": false,
"Severity": "2",
"Comment": null,
"EncodedPolyline": "q_s}DreouNYa@uGyIoBmC]c@oAeBcDeE{CuDkB}B_AiAKMKM[_@mA}Ao@w@sAaBMMuAcBy@eAs@}@yBqCwBoCcDiEkA}A",
"Restrictions": {
"Width": null,
"Height": null,
"Length": null,
"Weight": null,
"Speed": null
},
"DetourPolyline": "",
"DetourInstructions": "",
"Recurrence": "",
"RecurrenceSchedules": "",
"Subtype": "road construction"
}
]
XML
<EventList>
<Event>
<ID>12</ID>
<SourceId>3458465</SourceId>
<Organization>GA-Events</Organization>
<RoadwayName>SR 1</RoadwayName>
<DirectionOfTravel>both directions</DirectionOfTravel>
<Description>Road construction on SR 1 both directions at DENTON RD.. 2 right lanes are blocked.</Description>
<Reported>1693022400</Reported>
<LastUpdated>1711201085</LastUpdated>
<StartDate>1693022400</StartDate>
<PlannedEndDate>1769920200</PlannedEndDate>
<LanesAffected>2 right lanes are blocked.</LanesAffected>
<Latitude>34.063612</Latitude>
<Longitude>-85.232752</Longitude>
<LatitudeSecondary>34.07344</LatitudeSecondary>
<LongitudeSecondary>-85.23352</LongitudeSecondary>
<EventType>roadwork</EventType>
<IsFullClosure>false</IsFullClosure>
<Severity>3</Severity>
<Comment/>
<EncodedPolyline>}}}nEzdfgOJAdQo@xLc@~G[pCK|DMhBIf@C</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>20</ID>
<SourceId>4080970</SourceId>
<Organization>GA-Events</Organization>
<RoadwayName>SR 38</RoadwayName>
<DirectionOfTravel>both directions</DirectionOfTravel>
<Description>Road construction on SR 38 both directions at COMMUNITY DR. 2 lanes blocked.</Description>
<Reported>1719442800</Reported>
<LastUpdated>1752059086</LastUpdated>
<StartDate>1719442800</StartDate>
<PlannedEndDate>1762030800</PlannedEndDate>
<LanesAffected>2 lanes blocked.</LanesAffected>
<Latitude>31.23211</Latitude>
<Longitude>-82.330672</Longitude>
<LatitudeSecondary>31.24198</LatitudeSecondary>
<LongitudeSecondary>-82.318784</LongitudeSecondary>
<EventType>roadwork</EventType>
<IsFullClosure>false</IsFullClosure>
<Severity>2</Severity>
<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>