Routing API Developer's Guide

Time Aware Routing

Time aware routing enables optimal handling of time-dependent restrictions, including

  • Direction of travel restrictions (including reversible roads)
  • High-occupancy vehicle (HOV) lanes
  • Time restricted maneuvers
  • Seasonal closures

The route is computed respecting time zones (including daylight-saving time) and respects time related events (including traffic) along the whole route.

When user specifies a departure time in the request, time aware restrictions are taken into consideration accordingly. When the user is in trip planning mode (departure time is not specified) time aware restrictions are not taken into consideration.

In case a maneuver is a subject to potential time restrictions a respective warning is provided in the JSON output as a note in the maneuver section. Type of the note may be following:

  • restriction - when it is possible to avoid the maneuver
  • violation - when it's not possible to avoid the maneuver

Note type depends on the restriction type and on whether the route is requested in time aware or trip planning mode. Following table lists note types that may be provided.

Type of restriction Time aware mode Planning mode
Restriction violated Restriction present
Reversible Express Lanes violation restriction restriction
Carpool HOV Lanes violation restriction restriction
Seasonal Closures restriction restriction restriction

In JSON output following note is added to maneuver section in case of time dependent warning:

note : [ <1 elem>
    0 : {
      type: restriction|violation
      code: timeDependentRestriction
      type: "..."

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on