Car routing
- Last UpdatedFeb 10, 2025
- 1 minute read
The car routing 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 routing 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 (
vehicle[speedCap]
) - Fast and short routing modes
- Traffic-aware and optimized routing
- Time-awareness: apply restrictions only for the time they apply
- Avoid options, as well as avoid areas and segments
- Alternative routes