Toll Cost Extension API Developer's Guide

Calculating Cost-Optimized Routes

A request to calculate a cost-optimized route is similar to a request to the HERE Routing API; only app_id, app_code, waypoint0, waypoint1, and mode are mandatory.
Note: The waypoint0 and waypoint1 parameters are part of the HERE Routing API, documented as * parameters in the calculateroute.json resource.
The cost-optimized calculation resource (calculateroute.json) has two main parameters for input:
  • driver_cost – Represents the cost of driving per hour in the specified currency, such as the hourly wage for a truck driver
  • vehicle_cost – Represents the cost of using the vehicle per kilometer in the specified currency, such as the cost of using a truck