Routing API Developer's Guide

Requesting a Matrix of Routes

To calculate a matrix of routes between M x N locations, use calculatematrix with the following parameters:

  • your authentication credentials, app_id and app_code (see Acquiring Credentials)
  • N starts (start0 to startN) and M destinations (destination0 to destinationM) waypoints
  • mode, which determines how the routes in the matrix are calculated
  • representation options to control the response contents

This example requests the matrix calculation of the fastest routes between one start point and two destinations for a car without optimizing the routes for current traffic conditions. By default route summaries will be presented in the output, containing only costFactor value.

https://matrix.route.cit.api.here.com
/routing/7.2/calculatematrix.json
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&start0=52.5,13.4
&destination0=52.5,13.43
&destination1=52.5,13.46
&mode=fastest;car;traffic:disabled

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.