Routing API Developer's Guide

Transport Mode

You can use the Routing API to optimize the routing for specific modes of transport.

You specify modes of transport with the TransportModes request parameter. You can use one of the following modes from the list below.

Note: TransportModes is also used to specify public transport routing. For more information on which parameters are possible with which mode, see Routing Mode Parameter Combinations.
  • car: routing for cars, adheres to link rules and restrictions such as speed limits or direction of travel. Can consider traffic if it is enabled.
  • carHOV: same as routing for cars, but also allows usage of HOV (high-occupancy vehicle) lanes and roads.
  • pedestrian: routing for pedestrians. Considers pedestrian maneuverability of links but disregards traffic.
  • truck: routing for trucks. Considers physical, hazardous material and trailer restrictions. Can consider traffic if it is enabled.
  • bicycle: routing for bicycles, currently in Beta version. Uses the pedestrian road network. Roads are considered to be open for cycling if they are open for both cars and pedestrians, or if they are pedestrian roadways in a park. The routing algorithm may consider roads not open for cycling, including travelling the wrong way down one-way streets, but only at walking speed. Traffic information is not used in this mode.

For more information on transport modes, see TrafficModeType.