Routing API Developer's Guide

Avoiding Certain Road Types

To penalize the traversal of certain types of roads such as toll roads or motorways, you can specify a weighted routing feature within the specification of the routing mode.

For example, in the following code block:
&mode=fastest;car;traffic:disabled;motorway:-2

The motorway parameter specifies the routing feature and using -2 for the weight determines how strictly route calculation should prioritize this routing feature.

If you specify motorway:-2, the API excludes motorways from the route calculation if it is possible to find a route that avoids them. Otherwise, the route calculation includes motorways.

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 selfservesupport@here.com.