Routing API Developer's Guide

Specifying Maximum Number of Changes

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 request queries a route using estimated public transport and specifies maximum number of changes allowed in the route. See also Calculate Route for documentation on request parameters.

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
&maxnumberofchanges=1