Routing API Developer's Guide

Requesting a Public Transport Route

To request a public transport route using the CalculateRoute service:

  • include your authentication credentials, app_id and app_code (see Acquiring Credentials )
  • specify the start (waypoint0) and destination (waypoint1) waypoints,
  • specify a departure time.
  • and choose a public transport routing mode.

Additionally, we recommend also including the combineChange request parameter, which includes change maneuvers in the response where the user must switch transit lines, as opposed to enter and leave maneuver combinations.

Note: The RouteId can not be calculated for Public Transport Route.

This is an example request for the fastest route using estimated public transport routing. It includes the elements above, specifying the waypoints in latitude and longitude by using the geo! string value.

https://route.cit.api.here.com/routing/7.2/calculateroute.json
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&waypoint0=geo!52.530,13.326
&waypoint1=geo!52.513,13.407
&departure=now
&mode=fastest;publicTransport
&combineChange=true