API reference

Fuel cost along route

POST /v1/fuel-prices/route

Calculates total fuel cost for a route based on vehicle consumption and live per-country prices. Recommends the cheapest country to refuel in.

Parameters

locations array of object, required
fuel_type diesel | gasoline_95, required
consumption_l_per_100km number
Fuel consumption in L/100km Default: 32.
costing auto | truck | bicycle | pedestrian | motorcycle | motor_scooter | bus | taxi
Vehicle/costing model for routing Default: "auto".

Price

See the price of /v1/fuel-prices/route on the pricing page.

Related endpoints