Routing API Developer's Guide

Requesting a Truck Route Avoiding Restrictions

To calculate directions that take into account truck restrictions, use the calculateroute service specifying the start (waypoint0), the destination (waypoint1), the truck fastest mode and the truck profile parameters (see Truck Profile). Note that you also have to specify an app_id and app_code (see Acquiring Credentials) and whether to take traffic into account.

In the following example we request a route for a truck which is 5 meters high. The optimal route passes through a link forbidden for vehicles higher than 4 meters. The route for the given truck does not use this link.
Figure 1. Example of avoided restricted link.

If the value of the height parameter would be equal to or less than 4 meters or would not be specified, then the route would use the link with the height restriction.

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