Routing mode

When building a route, RouteQ uses default routing for couriers traveling by car or truck. However, couriers often use other means of transportation, such as public transport. In other situations, keep in mind that different routes may be optimal for couriers in trucks and passenger vehicles.

You can select the couriers' mode of transportation using the parameter options.routing_mode.

Possible values:

  • driving: The default mode, routing for vehicles whose load capacity is less than 2.5 tons.

  • truck: Routing for trucks whose default load capacity starts at 2.5 tons. You can specify additional parameters in vehicle characteristics.

  • walking: A pedestrian route. The route uses only the roads where pedestrians can walk.

  • transit: A route that includes traveling by public transit and walking from the public transit stop to the delivery location.

The parameter specified this way is used for all vehicles in the task. If the couriers have different delivery methods, you can set them up using the vehicle parameter vehicle.routing_mode.


The vehicle.routing_mode parameter has a higher priority than the options.routing_mode parameter.

Example 1

The example below uses the transit routing mode for all couriers. In the result, couriers deliver orders using public transit with the optimal order allocation.

API request (JSON) API response View on map


In the routes built, the mileage is specified only for the distances where the courier walks. The distances traveled in public transport are taken into account for optimization purposes, but are not counted in metrics.

Example 2

The example below uses the transit routing mode for one courier and the driving mode for another courier. Orders are distributed among couriers so that the vehicle delivers to points further away from public transit stops or from each other.

API request (JSON) API response View on map

Contact support