Routing API v7 Developer's Guide

Request a Bicycle Route (Beta version)

To calculate directions for bikes between two locations, using the calculateroute service, include in the request the following:

  • your authentication credentials, apiKey or app_id and app_code if you are using the app_id/app_code authentication (see Acquiring Credentials)
  • the start (waypoint0) and destination (waypoint1) waypoints,
  • bicycle for the routing mode, which describes the transport type for the route calculation.

This example requests the fastest route for a bicycle. Note that the waypoints are specified in latitude and longitude by using the geo! string value.

https://route.ls.hereapi.com/routing/7.2/calculateroute.json
?apiKey={YOUR_API_KEY}
&waypoint0=geo!52.5,13.4
&waypoint1=geo!52.5,13.45
&mode=fastest;bicycle
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.