GET Travel Times
Returns all travel times.
Request Information
https://511wi.gov/api/v2/get/traveltimes
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. |
string |
RoadwayName |
The roadway for travel times. |
string |
Description |
Upstream and downstream location information of the roadway. |
string |
Distance |
The length of the roadway in miles. |
double |
NormalTime |
The travel time under normal conditions in minutes. |
decimal |
CurrentTime |
The most recent travel time in minutes. |
decimal |
Delay |
The increase in minutes from the normal travel time. |
decimal |
Region |
The region of the roadway. |
string |
StartLatitude |
The latitude at the start of the travel time segment |
double |
StartLongitude |
The longitude at the start of the travel time segment |
double |
EndLatitude |
The latitude at the end of the travel time segment |
double |
EndLongitude |
The longitude at the end of the travel time segment |
double |
Waypoints |
A list of waypoints that make up the route segment, including the start and end points |
string |
Response Formats
JSON
[
{
"Id": "STOC-Milwaukee::2003",
"RoadwayName": "I-39/90",
"Description": "I-39/90 NB US 12/18 to Badger Interchange",
"Distance": 4.0,
"NormalTime": 4.0,
"CurrentTime": 4.0,
"Delay": 0.0,
"Region": "Dane",
"StartLatitude": 43.047454,
"StartLongitude": -89.275751,
"EndLatitude": 43.103811,
"EndLongitude": -89.282141,
"Waypoints": [
{
"RoadwayName": "I-39/90 North",
"Direction": "N",
"Latitude": 43.047454,
"Longitude": -89.275751
},
{
"RoadwayName": "I-39/90 North",
"Direction": "N",
"Latitude": 43.04745405,
"Longitude": -89.27575103
},
{
"RoadwayName": "I-39/90 North",
"Direction": "N",
"Latitude": 43.10381109,
"Longitude": -89.28214108
},
{
"RoadwayName": "I-39/90 North",
"Direction": "N",
"Latitude": 43.103811,
"Longitude": -89.282141
}
]
},
{
"Id": "STOC-Milwaukee::3931",
"RoadwayName": "I-39/90",
"Description": "Sign 349 I-39/90 NB at Prairie Hill Rd to Avalon Rd via Alt Route",
"Distance": 15.7,
"NormalTime": 22.0,
"CurrentTime": 22.0,
"Delay": 0.0,
"Region": "Rock",
"StartLatitude": 42.49833,
"StartLongitude": -88.991891,
"EndLatitude": 42.641781,
"EndLongitude": -88.982686,
"Waypoints": [
{
"RoadwayName": "I-39/90 North",
"Direction": "N",
"Latitude": 42.49833,
"Longitude": -88.991891
},
{
"RoadwayName": "I-39/90 North",
"Direction": "N",
"Latitude": 42.49833017,
"Longitude": -88.99189103
},
{
"RoadwayName": "I-39/90 North",
"Direction": "N",
"Latitude": 42.52413631,
"Longitude": -88.97516172
},
{
"RoadwayName": "Ramp from I-39/90 North to I-43 North",
"Direction": "N",
"Latitude": 42.52921206,
"Longitude": -88.97075627
},
{
"RoadwayName": "I-43 North",
"Direction": "N",
"Latitude": 42.53737002,
"Longitude": -88.95273349
},
{
"RoadwayName": "I-43 North to E Hart Rd",
"Direction": null,
"Latitude": 42.53947502,
"Longitude": -88.94854563
},
{
"RoadwayName": "East Hart Road West",
"Direction": "W",
"Latitude": 42.54686518,
"Longitude": -88.98918602
},
{
"RoadwayName": "County S North",
"Direction": "N",
"Latitude": 42.55248673,
"Longitude": -88.98432055
},
{
"RoadwayName": "E Inman Parway West",
"Direction": "W",
"Latitude": 42.55400268,
"Longitude": -89.01143477
},
{
"RoadwayName": "County G North",
"Direction": "N",
"Latitude": 42.63499207,
"Longitude": -89.01165397
},
{
"RoadwayName": "WIS 11 East",
"Direction": "E",
"Latitude": 42.64178082,
"Longitude": -88.98268628
},
{
"RoadwayName": "WIS 11 East",
"Direction": "E",
"Latitude": 42.641781,
"Longitude": -88.982686
}
]
}
]
XML
<traveltimesList>
<traveltimes>
<Id>STOC-Milwaukee::2003</Id>
<RoadwayName>I-39/90</RoadwayName>
<Description>I-39/90 NB US 12/18 to Badger Interchange</Description>
<Distance>4</Distance>
<NormalTime>4</NormalTime>
<CurrentTime>4</CurrentTime>
<Delay>0</Delay>
<Region>Dane</Region>
<StartLatitude>43.047454</StartLatitude>
<StartLongitude>-89.275751</StartLongitude>
<EndLatitude>43.103811</EndLatitude>
<EndLongitude>-89.282141</EndLongitude>
<Waypoints>
<Waypoint>
<RoadwayName>I-39/90 North</RoadwayName>
<Direction>N</Direction>
<Latitude>43.047454</Latitude>
<Longitude>-89.275751</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>I-39/90 North</RoadwayName>
<Direction>N</Direction>
<Latitude>43.04745405</Latitude>
<Longitude>-89.27575103</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>I-39/90 North</RoadwayName>
<Direction>N</Direction>
<Latitude>43.10381109</Latitude>
<Longitude>-89.28214108</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>I-39/90 North</RoadwayName>
<Direction>N</Direction>
<Latitude>43.103811</Latitude>
<Longitude>-89.282141</Longitude>
</Waypoint>
</Waypoints>
</traveltimes>
<traveltimes>
<Id>STOC-Milwaukee::3931</Id>
<RoadwayName>I-39/90</RoadwayName>
<Description>Sign 349 I-39/90 NB at Prairie Hill Rd to Avalon Rd via Alt Route</Description>
<Distance>15.7</Distance>
<NormalTime>22</NormalTime>
<CurrentTime>22</CurrentTime>
<Delay>0</Delay>
<Region>Rock</Region>
<StartLatitude>42.49833</StartLatitude>
<StartLongitude>-88.991891</StartLongitude>
<EndLatitude>42.641781</EndLatitude>
<EndLongitude>-88.982686</EndLongitude>
<Waypoints>
<Waypoint>
<RoadwayName>I-39/90 North</RoadwayName>
<Direction>N</Direction>
<Latitude>42.49833</Latitude>
<Longitude>-88.991891</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>I-39/90 North</RoadwayName>
<Direction>N</Direction>
<Latitude>42.49833017</Latitude>
<Longitude>-88.99189103</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>I-39/90 North</RoadwayName>
<Direction>N</Direction>
<Latitude>42.52413631</Latitude>
<Longitude>-88.97516172</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>Ramp from I-39/90 North to I-43 North</RoadwayName>
<Direction>N</Direction>
<Latitude>42.52921206</Latitude>
<Longitude>-88.97075627</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>I-43 North</RoadwayName>
<Direction>N</Direction>
<Latitude>42.53737002</Latitude>
<Longitude>-88.95273349</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>I-43 North to E Hart Rd</RoadwayName>
<Direction/>
<Latitude>42.53947502</Latitude>
<Longitude>-88.94854563</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>East Hart Road West</RoadwayName>
<Direction>W</Direction>
<Latitude>42.54686518</Latitude>
<Longitude>-88.98918602</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>County S North</RoadwayName>
<Direction>N</Direction>
<Latitude>42.55248673</Latitude>
<Longitude>-88.98432055</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>E Inman Parway West</RoadwayName>
<Direction>W</Direction>
<Latitude>42.55400268</Latitude>
<Longitude>-89.01143477</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>County G North</RoadwayName>
<Direction>N</Direction>
<Latitude>42.63499207</Latitude>
<Longitude>-89.01165397</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>WIS 11 East</RoadwayName>
<Direction>E</Direction>
<Latitude>42.64178082</Latitude>
<Longitude>-88.98268628</Longitude>
</Waypoint>
<Waypoint>
<RoadwayName>WIS 11 East</RoadwayName>
<Direction>E</Direction>
<Latitude>42.641781</Latitude>
<Longitude>-88.982686</Longitude>
</Waypoint>
</Waypoints>
</traveltimes>
</traveltimesList>