Routing API v7 Developer's Guide

Request Additional Details

To request a public transport route using the CalculateRouteRequest service, you must specify the start (waypoint0) and destination (waypoint1) waypoints and choose a public transport routing mode.

Additionally, you must include your authentication credentials, an apiKey or app_id and app_code if you are using the app_id/app_code authentication (see Acquiring Credentials) with each request to the Routing API v7.

This is an example public transport routing request that also includes additional detail: specifically line information, maneuver groups, and notes.

https://route.ls.hereapi.com/routing/7.2/calculateroute.json
?apiKey={YOUR_API_KEY}
&waypoint0=geo!52.530,13.326
&waypoint1=geo!52.513,13.407
&departure=now
&mode=fastest;publicTransport
&combineChange=true
&routeattributes=li,gr
&maneuverattributes=all
&lineattributes=all
Note: This example uses a HERE API Key to authenticate your request. For information on other possible options, see Authentication Guide. For examples of how to use the other authentication options with the Routing API v7, see Authentication Examples.

See also RoutingModeType and TransportModeType.