Routing API Developer's Guide

Requesting Alternative Routes

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, app_id and app_code with each request to the Routing API.

This is an example estimated public transport routing request for alternative routes, in addition to the main route.

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
&alternatives=3