Zgłaszanie newsów i flota NakBus są teraz w panelu partnera
Aby zalogować się do panelu Nakordoni Partners, użyj tego samego loginu (adres e-mail i hasło) co na koncie programisty i zarządzaj tam wiadomościami oraz flotą autobusów (NakDriver / NakManager) z rolami zespołu. Twoje klucze API, endpointy i aplikacje pozostają bez zmian, a strony tutaj nadal działają. Otwórz Nakordoni Partners

← Wszystkie endpointy

Lane Cost Index API Offline

Cost index of a truck lane in Europe: the EUR per km cost floor of one loaded trip from A to B for a vehicle class — fuel, tolls, driver time and per diem. Per country on the route you get the km, the toll (and the toll vehicle class priced), the diesel litres and cost. Driver time follows the EU 561/2006 driving and rest rules. A 3-month trend shows how the cost index moved. It is a cost index, not a freight price: vehicle capital, insurance, overhead and margin are not included. Fuel and tolls are net of VAT. When a country on the route has no toll or fuel data, or the driver rate of the origin country is not on file, incomplete is true and the total is a lower bound.

GET https://nakordoni.eu/api/v2/data/lane-cost-index — klasa limitu: route

ParametrOpis
fromOrigin: "lat,lng" (for example 52.4064,16.9252) or a city id (poznan, warsaw, berlin, munich, bucharest, zaragoza, lyon, milan, vienna, sofia, budapest). The carrier is assumed to be based in the origin country.
toDestination: "lat,lng" or a city id.
vehicleVehicle preset (default artic_40t): van_3_5t, rigid_7_5t, rigid_12t, rigid_18t, artic_26t, artic_40t, artic_44t.
euroEuro emission class 0-6 (default 6), used for the tolls.
co2_classCO2 emission class 1-5 (default 1), used for the tolls.
empty_return1 = add the empty return trip on the same route (fuel, tolls, driver time); eur_per_km stays per loaded km. Default 0.

Pola odpowiedzi — wewnątrz obiektu data w kopercie odpowiedzi. [] oznacza listę, więc data.items[].name to pole name każdego elementu. Pole bywa null, nieobecne lub jest pustą listą, gdy nie mamy wartości — nigdy nie wstawiamy atrapy.

PoleOpis
data.labelAlways "cost index".
data.lanekey, from {cc, name}, to {cc, name}.
data.vehiclekey, gross_weight_t, axles, euro, co2_class.
data.km_totalRoute length in km (one way). km_driven includes the empty return when asked.
data.per_country[]cc, km, toll_eur, fuel_eur, fuel_l, diesel_eur_l (net of VAT), toll_vehicle_class.
data.toll_eurTolls in EUR (net of VAT).
data.fuel_eurFuel in EUR (net of VAT); fuel_l = litres.
data.driver_eurDriver cost for the paid hours (null when the origin country rate is not on file).
data.per_diem_eurPer diem (null when not on file for the origin country).
data.total_eurSum of the components; eur_per_km = total_eur / km_total.
data.incompletetrue when missing_countries (no toll or fuel data) or missing_components is not empty — total_eur is then a lower bound.
data.timedriving_h, break_h, rest_h, load_unload_h, duty_h (paid), elapsed_h, daily_rests, weekly_rests.
data.assumptionsconsumption (l/100 km), fuel_price_basis, driver_rate (EUR/h), driver_country, paid_hours, per_diem_scheme, prices_date, toll_date, excludes.
data.components_source_datesDates of the data used: fuel {from, to}, toll (tariff valid from), driver (dataset), per_diem_fx.
data.trendmonths[] {month, eur_per_km, total_eur, incomplete} for the current and the two previous months.
data.flags[]Machine-readable notes, for example toll_not_priced:RS.
data.disclaimers[]What the cost index covers and what it does not.
error.codemissing_from, missing_to, bad_from, bad_to, unknown_city, bad_vehicle, bad_euro, bad_co2_class, bad_empty_return; with reason no_route, route_too_long, route_refused / occupied_ua (route into Russia, Kaliningrad or the occupied territory of Ukraine).
curl "https://nakordoni.eu/api/v2/data/lane-cost-index?from=poznan&to=berlin&vehicle=artic_40t" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Zaloguj się jako deweloper, aby wypróbować ten endpoint na żywo w sandboxie — 10 darmowych wywołań testowych na produkt dziennie. Zaloguj się

Zaktualizowano