Toll Cost API extension

Please note Sygic does no longer issue new Sygic Maps API keys. This documentation is for existing customers only. If you wish to include maps & navigation into your project, please refer to Sygic Maps SDK.

Request

This API is an extension to Routing API. To enable toll costs, you have to add this paramter into your standard routing request with paramter "tollcosts" true.

Parameter Data type Default Value Description
tollcosts boolean false true
false
Toll costs calculation will be performed on calculated route.
When using vehicle_type set to either truck, camper or garbagetruck the attributes are considered. LINK: sygic.com/developers/maps-api-services/routing-api/routing#truck

NOTE: This service is available only with HERE map license.
emission_class integer 5 1=EURO I
2=EURO II
3=EURO III
4=EURO IV
5=EURO V
6=EURO VI
7=EURO EEV
8=Electric
Define toll cost and environmental zone restrictions.

Response

"costs": {
    "toll_costs": {
        "total_cost": {
            "amount_in_target_currency": 3.44
        },
        "costs_by_toll_system": [
            {
                "name": "TOLL COLLECT GMBH",
                "amount_in_target_currency": 3.44
            }
        ],
        "costs_by_country": [
            {
                "country": "DEU",
                "amount_in_target_currency": 3.44
            }
        ]
    },
    "currency": "EUR"
}