GET Events

Returns all traffic events.

Request Information

https://www.nvroads.com/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
Comment

Extra information about the event

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

Response Formats

JSON

Sample:
[
	{
		"ID": "ERS--1448",
		"Organization": "ERS",
		"RoadwayName": "Quintet Ave",
		"DirectionOfTravel": "Unknown",
		"Description": "Temporary lane markings on Quintet Ave from Minuet St to Tempo St.",
		"Reported": 1676173800,
		"LastUpdated": 1675882294,
		"StartDate": 1676173800,
		"PlannedEndDate": null,
		"LanesAffected": "No Data",
		"Latitude": 35.977408,
		"Longitude": -115.093471,
		"LatitudeSecondary": 35.977561,
		"LongitudeSecondary": -115.091914,
		"EventType": "roadwork",
		"IsFullClosure": false,
		"Comment": "For Test",
		"Restrictions": {
			"Width": null,
			"Height": null,
			"Length": null,
			"Weight": null,
			"Speed": null
		},
		"DetourPolyline": "yyqzExen}Ti@@gBNQkCIg@??QkACo@@e@HiA|Cr@",
		"DetourInstructions": [
			"Head north on Minuet St. Go for 269 ft.",
			"Turn right onto Falsetto Ave. Go for 0.1 mi.",
			"Turn right onto Tempo St. Go for 299 ft.",
			"Arrive at Tempo St. Your destination is on the right."
		],
		"Recurrence": "<b>Mon, Tue, Wed, Thu, Fri, Sat, Sun:</b><br/>Active all day<br/><br/>",
		"RecurrenceSchedules": [
			{
				"StartDate": "2/11/2023 7:50:00 PM-07:00:00",
				"EndDate": null,
				"Times": [
					{
						"StartTime": "00:00:00-07:00:00",
						"EndTime": "23:59:59-07:00:00"
					}
				],
				"DaysOfWeek": [
					"Monday",
					"Tuesday",
					"Wednesday",
					"Thursday",
					"Friday",
					"Saturday",
					"Sunday"
				]
			}
		],
		"EventSubType": "temporaryLaneMarkings",
		"EncodedPolyline": "yyqzEden}T@wAKeAYmB?UDU"
	},
	{
		"ID": "ERS--1449",
		"Organization": "ERS",
		"RoadwayName": "Reunion Dr",
		"DirectionOfTravel": "Unknown",
		"Description": "Filming on Reunion Dr from Cadence St to Anthem Pkwy.",
		"Reported": 1675882320,
		"LastUpdated": 1675882379,
		"StartDate": 1675882320,
		"PlannedEndDate": null,
		"LanesAffected": "No Data",
		"Latitude": 35.973128,
		"Longitude": -115.094419,
		"LatitudeSecondary": 35.974617,
		"LongitudeSecondary": -115.089611,
		"EventType": "specialEvents",
		"IsFullClosure": false,
		"Comment": "For Test",
		"Restrictions": {
			"Width": null,
			"Height": null,
			"Length": null,
			"Weight": null,
			"Speed": null
		},
		"DetourPolyline": "a_qzEbkn}TMeBSsAc@eBQu@{Al@??yAqGuCjAmC|@Ki@C]?Q??G}Bt@G~@SdFwB{@eD",
		"DetourInstructions": [
			"Head east on Reunion Dr. Go for 0.1 mi.",
			"Turn left onto Etude Ln. Go for 180 ft.",
			"Turn right onto Minuet St. Go for 436 ft.",
			"Turn left onto Staccato St. Go for 0.1 mi.",
			"Turn right onto Rainswept Ave. Go for 325 ft.",
			"Turn right onto Cadence St. Go for 0.1 mi.",
			"Turn left onto Reunion Dr. Go for 269 ft.",
			"Arrive at Reunion Dr."
		],
		"Recurrence": "<b>Mon, Tue, Wed, Thu, Fri, Sat, Sun:</b><br/>Active all day<br/><br/>",
		"RecurrenceSchedules": [
			{
				"StartDate": "2/8/2023 10:52:00 AM-07:00:00",
				"EndDate": null,
				"Times": [
					{
						"StartTime": "00:00:00-07:00:00",
						"EndTime": "23:59:59-07:00:00"
					}
				],
				"DaysOfWeek": [
					"Monday",
					"Tuesday",
					"Wednesday",
					"Thursday",
					"Friday",
					"Saturday",
					"Sunday"
				]
			}
		],
		"EventSubType": "filming",
		"EncodedPolyline": "a_qzEbkn}TMeBSsAc@eBgD{N{@eD"
	}
]

XML

Sample:
<EventList>
    <Event>
        <ID>ERS--1448</ID>
        <Organization>ERS</Organization>
        <RoadwayName>Quintet Ave</RoadwayName>
        <DirectionOfTravel>Unknown</DirectionOfTravel>
        <Description>Temporary lane markings on Quintet Ave from Minuet St to Tempo St.</Description>
        <Reported>1676173800</Reported>
        <LastUpdated>1675882294</LastUpdated>
        <StartDate>1676173800</StartDate>
        <PlannedEndDate/>
        <LanesAffected>No Data</LanesAffected>
        <Latitude>35.977408</Latitude>
        <Longitude>-115.093471</Longitude>
        <LatitudeSecondary>35.977561</LatitudeSecondary>
        <LongitudeSecondary>-115.091914</LongitudeSecondary>
        <EventType>roadwork</EventType>
        <IsFullClosure>false</IsFullClosure>
        <Comment>For Test</Comment>
        <Restrictions>
            <Width/>
            <Height/>
            <Length/>
            <Weight/>
            <Speed/>
        </Restrictions>
        <DetourPolyline>yyqzExen}Ti@@gBNQkCIg@??QkACo@@e@HiA|Cr@</DetourPolyline>
        <DetourInstructions>Head north on Minuet St. Go for 269 ft. Turn right onto Falsetto Ave. Go for 0.1 mi. Turn right onto Tempo St. Go for 299 ft. Arrive at Tempo St. Your destination is on the right.</DetourInstructions>
        <Recurrence>
            <b>Mon, Tue, Wed, Thu, Fri, Sat, Sun:</b>
            <br/>Active all day
            <br/>
            <br/>
        </Recurrence>
        <RecurrenceSchedules>
            <Schedule>
                <StartDate>2/11/2023 7:50:00 PM-07:00:00</StartDate>
                <EndDate/>
                <Times>
                    <Schedule>
                        <StartTime>00:00:00-07:00:00</StartTime>
                        <EndTime>23:59:59-07:00:00</EndTime>
                    </Schedule>
                </Times>
                <DaysOfWeek>Monday Tuesday Wednesday Thursday Friday Saturday Sunday</DaysOfWeek>
            </Schedule>
        </RecurrenceSchedules>
        <EventSubType>temporaryLaneMarkings</EventSubType>
        <EncodedPolyline>yyqzEden}T@wAKeAYmB?UDU</EncodedPolyline>
    </Event>
    <Event>
        <ID>ERS--1449</ID>
        <Organization>ERS</Organization>
        <RoadwayName>Reunion Dr</RoadwayName>
        <DirectionOfTravel>Unknown</DirectionOfTravel>
        <Description>Filming on Reunion Dr from Cadence St to Anthem Pkwy.</Description>
        <Reported>1675882320</Reported>
        <LastUpdated>1675882379</LastUpdated>
        <StartDate>1675882320</StartDate>
        <PlannedEndDate/>
        <LanesAffected>No Data</LanesAffected>
        <Latitude>35.973128</Latitude>
        <Longitude>-115.094419</Longitude>
        <LatitudeSecondary>35.974617</LatitudeSecondary>
        <LongitudeSecondary>-115.089611</LongitudeSecondary>
        <EventType>specialEvents</EventType>
        <IsFullClosure>false</IsFullClosure>
        <Comment>For Test</Comment>
        <Restrictions>
            <Width/>
            <Height/>
            <Length/>
            <Weight/>
            <Speed/>
        </Restrictions>
        <DetourPolyline>a_qzEbkn}TMeBSsAc@eBQu@{Al@??yAqGuCjAmC|@Ki@C]?Q??G}Bt@G~@SdFwB{@eD</DetourPolyline>
        <DetourInstructions>Head east on Reunion Dr. Go for 0.1 mi. Turn left onto Etude Ln. Go for 180 ft. Turn right onto Minuet St. Go for 436 ft. Turn left onto Staccato St. Go for 0.1 mi. Turn right onto Rainswept Ave. Go for 325 ft. Turn right onto Cadence St. Go for 0.1 mi. Turn left onto Reunion Dr. Go for 269 ft. Arrive at Reunion Dr.</DetourInstructions>
        <Recurrence>
            <b>Mon, Tue, Wed, Thu, Fri, Sat, Sun:</b>
            <br/>Active all day
            <br/>
            <br/>
        </Recurrence>
        <RecurrenceSchedules>
            <Schedule>
                <StartDate>2/8/2023 10:52:00 AM-07:00:00</StartDate>
                <EndDate/>
                <Times>
                    <Schedule>
                        <StartTime>00:00:00-07:00:00</StartTime>
                        <EndTime>23:59:59-07:00:00</EndTime>
                    </Schedule>
                </Times>
                <DaysOfWeek>Monday Tuesday Wednesday Thursday Friday Saturday Sunday</DaysOfWeek>
            </Schedule>
        </RecurrenceSchedules>
        <EventSubType>filming</EventSubType>
        <EncodedPolyline>a_qzEbkn}TMeBSsAc@eBgD{N{@eD</EncodedPolyline>
    </Event>
</EventList>