Поднесувањето вести и флотата NakBus сега се на партнерската табла
За да се најавите на панелот Nakordoni Partners, користете ги истите податоци за најава (е-пошта и лозинка) како за вашата сметка на програмер, и таму управувајте со вестите и со вашиот автобуски возен парк (NakDriver / NakManager), со тимски улоги. Вашите API-клучеви, крајни точки и апликации остануваат непроменети, а страниците овде продолжуваат да работат. Отвори Nakordoni Partners

← Сите крајни точки

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 — класа на квота: route

ПараметарОпис
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.

Полиња на одговорот — внатре во објектот data во пликот на одговорот. [] означува листа, па data.items[].name е полето name на секој елемент. Полето може да е null, да недостасува или да е празна листа кога немаме вредност — никогаш не ставаме замена.

ПолеОпис
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"
🔑 Најавете се како програмер за да го испробате овој endpoint во живо во sandbox — 10 бесплатни тест повици по производ дневно. Најава

Ажурирано