Routing API Developer's Guide

Requesting a Time Aware Route for a High Occupancy Vehicle

To calculate directions that take into account time dependent restrictions , use the CalculateRouteRequest service specifying the start (waypoint0), the destination (waypoint1), and the departure time. Note that you also have to specify an app_id and app_code (see Acquiring Credentials ), type of route calculation and whether to take traffic into account.

In the following example we request the fastest route for a carHOV that goes through a part of the Interstate 66 which is HOV-2 only westbound from 4:00 to 6:30 p.m.

The query will result in a route using the High Occupancy Vehicle (HOV) lane restricted Interstate 66.

Figure 1. Example of HOV restricted road usage.

On the other hand if the user specifies car instead of carHOV as the transport mode the resulting route will avoid the HOV-2 road during the forbidden period.

Figure 2. Example of HOV restricted road avoidance.

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