GuidesAPI Reference
Guides

Car routing

The car transport mode allows calculation of car-specific routes, using real-time and historical traffic information. For example, a car route follows highways accessible only to cars, avoids incompatible areas such as pedestrian zones, and respects road restrictions including one-way streets and time-dependent access like seasonal closures.

The car transport mode is enabled by setting transportMode=car. In this mode, the API uses only the roads open for cars. It supports most of the routing features such as:

  • High-occupancy vehicles (HOV) and carpool lanes
  • User-specified speed cap
  • Speed cap per Functional Class
  • Fast and short routing modes
  • Avoid options, as well as avoid areas and segments
  • Alternative routes

Time- and traffic-aware functionality of the routing API is enabled by default. This refers to the following features:

  • Traffic-aware and optimized routing
  • Time-awareness: restrictions are applied only during the periods when they are in effect

To disable these features, specify either departureTime=any or traffic[mode]=disabled.

Billing note: time- and traffic-aware routing can incur additional transaction charges (Time Aware Routing vs. Car Routing).