- Developers
- Mapas Sygic
- Analytics API
- Cost calculation API
Cost calculation API
- Move to section
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.
Overview
Cost calculation allows you to perform cost estimation on already computed routine in form of "path".
Request
API Reference
https://analytics.api.sygic.com/v0/api/costs?key=yourAPIkey
Request authentication is done via parameter key, which must be included in the request URL.
Parameters
Required parameters
Parameter | Data type | Value | Description |
path | string | Path is a representation of sets of GPS positions using Google polyline encoding utility. This method is more compact than listing all GPS coordinates. Example: "path": "c~ffH}okjBeAmJ" |
|
key | string | The API key |
Optional parameters
Parameter | Data type | Default | Value | Description |
vehicle_type | string | car | car camper van truck garbagetruck pedestrian |
Defines type of vehicle to be considered in costs calculation. |
vehicle_data | object | null | All values from vehicle parameters table. Link: sygic.com/developers/maps-api-services/routing-api/routing#camper | |
general_costs_data | object | null | Structure described in table below. | |
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 |
Defines toll cost and environmental zone restrictions. |
General costs
Parameter | Data type |
empty_kms loaded_kms fuel_price_per_l ad_blue_price_per_l engine_oil_price_per_l empty_truck_fuel_consumption_per_km loaded_truck_fuel_consumption_per_km ad_blue_consumption_per_km engine_oil_consumption_per_km truck_tires_per_km trailer_tires_per_km repair_and_maintenance_vehicle_per_year driver_insurance_and_medical_per_year truck_and_trailer_civil_insurance_per_year collision_insurance_per_year cmr_and3rd_parties_insurance_per_year diems_per_day journey_days driver_base_salary total_kms_per_year number_of_trucks average_speed driving_time_mins truck_purchase_price trailer_purchase_price residual_vehicle_value vehicle_contract_length road_tax_per_year parking_per_month labor_cost_per_month night_heating_hours_per_month night_heater_fuel_consumption_per_hour telco_and_monitoring_per_month office_rent_per_month office_costs_per_month truck_wash_per_month |
int int decimal decimal decimal decimal decimal decimal decimal decimal decimal int int decimal decimal decimal decimal int decimal decimal decimal decimal int int int int int decimal decimal decimal int decimal decimal decimal decimal decimal |
Response
Example input:
POST https://routing.api.sygic.com/v0/api/costs?key=yourAPIkey
Content-Type: application/json
{
"vehicle_type" : "truck",
"general_costs_data" : {
"empty_kms" : 98,
"loaded_kms" : 2470,
"fuel_price_per_l" : 1.232,
"ad_blue_price_per_l" : 0.35,
"engine_oil_price_per_l" : 2.69,
"empty_truck_fuel_consumption_per_km" : 0.250,
"loaded_truck_fuel_consumption_per_km" : 0.322,
"ad_blue_consumption_per_km" : 0.015,
"engine_oil_consumption_per_km" : 0.0003,
"truck_tires_per_km" : 0.0122,
"trailer_tires_per_km" : 0.0147,
"repair_and_maintenance_vehicle_per_year": 4800,
"driver_insurance_and_medical_per_year": 52,
"truck_and_trailer_civil_insurance_per_year" : 740.32,
"collision_insurance_per_year": 978.01,
"cmr_and3rd_parties_insurance_per_year" : 5348,
"diems_per_day": 45.0,
"journey_days": 5,
"driver_base_salary": 615.4,
"total_kms_per_year": 125000,
"number_of_trucks": 63,
"average_speed": 62,
"driving_time_mins": 540,
"truck_purchase_price": 66280,
"trailer_purchase_price": 27933,
"residual_vehicle_value": 28000,
"vehicle_contract_length": 4,
"road_tax_per_year" : 2051.5,
"parking_per_month" : 12,
"labor_cost_per_month" : 16650,
"night_heating_hours_per_month": 500,
"night_heater_fuel_consumption_per_hour": 0.6,
"telco_and_monitoring_per_month" : 79,
"office_rent_per_month": 650,
"office_costs_per_month": 925,
"truck_wash_per_month" : 35
},
"vehicle_data" : {
"total_length" : 10000,
"width" : 2800
},
"path" : "gd{dH}vlgBXh@hFfJfAhCZr@lCnGfApBdAzAZZVRXPt@ZfAPn@BX?bEW~De@dBUrAOpAMX?TFxDIJ?j@@X?bACfGKzHOL?tLQ|JQ\\A\\AlDE`ACz@h@Rp@?j@Q|@eB|Bs@CQUOi@BaAJoH@eA@u@H_H@oB@m@LqJFeEBsCBqBRuNLkJ@q@FaFZ{UBiBBmB@o@JkEj@cf@AiDc@sHq@uE]_BgAaEu@eBk@kA[Ue@kA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A]kB}@uGEcACiBVoHDiABs@DqAHmBDeBD{APeFIkCEuA"
}
Example response
{
"toll_costs": {
"total_cost": {
"amount_in_target_currency": 33.82
},
"costs_by_toll_system": [
{
"name": "SKYTOLL A. S.",
"amount_in_target_currency": 33.82
}
],
"costs_by_country": [
{
"country": "SVK",
"amount_in_target_currency": 33.82
}
]
},
"general_costs": {
"direct_costs": {
"fuel": 1023.5248799999999,
"engine_oil_per_km": 0.00080699999999999988,
"truck_tires_per_km": 0.0122,
"trailer_tires_per_km": 0.0147
},
"fixed_costs": {
"cmr_and3rd_parties_insurance_per_km": 0.00067911111111111113,
"labor_per_km": 0.12755711318795432,
"depreciation_per_km": 0.0812748563853292,
"road_tax_per_km": 0.016412,
"parking_per_km": 0.001152073732718894,
"overhead_per_km": 0.025373052446785165,
"drivers_cabine_heating_per_km": 0.035483870967741936,
"telco_and_monitoring_per_km": 0.0075844854070660521,
"office_rent_per_km": 0.00099053958500963115,
"office_costs_per_km": 0.001409614024821398,
"truck_wash_per_km": 0.0033602150537634409
},
"insurance_costs": {
"repairs_and_maintenance_per_km": 0.0384,
"insurance_and_medical_per_km": 0.000416,
"civil_truck_and_trailer_insurance_per_km": 0.00592256,
"collision_insurance_per_km": 0.00782408
},
"total_cost": 2003.3364766451093,
"total_cost_per_km": 0.780115450406974,
"total_kms_driven": 2568
},
"currency": "EUR",
"status": "OK",
"copyright": "© 2019 Sygic a.s."
}
- Previous article: Get Road Info