Подача новин і флот NakBus тепер у партнерській панелі
Використовуйте ті самі дані для входу (адресу електронної пошти та пароль), що й для облікового запису розробника, щоб увійти в панель Nakordoni Partners і керувати там новинами та автобусним парком (NakDriver / NakManager) з командними ролями. Ваші API-ключі, ендпоінти та застосунки залишаються без змін, а сторінки тут і далі працюють. Відкрити Nakordoni Partners

← Усі ендпоінти

Motorhome Route API Offline

Motorhome routing API for private motorhomes (beta). Send origin, destination, weight and the size of your motorhome and get a route that keeps to every height, weight, width, length and axle-load limit and every "no trucks" / weight-category sign, with motorhome tolls priced per country (VAT included, truck rates never used), motorhome speed limits per country and weight class in the ETA, campsites, camper stops, parkings and priced fuel stations along the line, border crossings with their wait, and dated driving bans that still apply to your weight. include=rest gives a motorhome break and overnight plan (recommendations, not EU 561/2006); include=fuel_plan plans where to refuel. Same engine and same answer as the Truck Route API with vehicle_type=motorhome, with its own daily allowance.

GET https://nakordoni.eu/api/v2/data/motorhome-route — клас квоти: mhroute

ПараметрОпис
fromOrigin as lat,lon (required unless from_city is given), e.g. 52.2297,21.0122
toDestination as lat,lon (required unless to_city is given)
from_cityOrigin city name instead of coordinates (add from_country for accuracy)
from_countryISO 3166-1 alpha-2 country of from_city, e.g. PL
to_cityDestination city name instead of coordinates
to_countryISO 3166-1 alpha-2 country of to_city
viaUp to 5 waypoints as lat,lon|lat,lon
vehicle_typeOptional. motorhome (the default and only value). Any other value, e.g. truck, is rejected with 400; use truck-route for trucks.
heightVehicle height in metres (1.0–5.0)
weightGross vehicle weight in tonnes (1–60), required: speed limits, signs, toll classes and bans depend on it
lengthVehicle length in metres (2–30)
widthVehicle width in metres (1.0–3.5)
axle_loadAxle load in tonnes (1–20)
axlesNumber of axles (2–12); used for routing and for motorhome toll classes
trailersNumber of trailers (0–3); a trailer changes which bans apply (Austria and Slovakia) and toll classes
hazmatDangerous goods: 0 (default), 1 = ADR load with class not given, or a comma list of ADR classes 1–9 and/or explosive, gas, flammable, flammable_solid, oxidizing, poison, radioactive, corrosive, harmful_to_water
adr_tunnelADR tunnel restriction code of the load: B, C, D or E. Tunnels whose category forbids it are avoided (implies hazmat)
avoidComma list of tolls, ferries, motorways, borders, tunnels, unpaved, low_emission_zones
emission_classVehicle emission class euro0 … euro6; used for low-emission-zone checks and distance-toll rates (AT, CZ, SI, BG; Euro 6 assumed when not sent)
alternativesNumber of alternative routes, 0–2 (default 0; routes without via points only)
geometrypolyline5 (default), polyline6 or geojson
arrive_atWanted arrival as RFC 3339; the departure is planned backwards including breaks and rests (instead of depart_at)
route_typefastest (default) or eco
includeComma list of fuel, parking, rest (default: fuel, parking). rest = the motorhome break and overnight plan (only when sent). weigh is not offered (warning include_not_available). Add fuel_plan (needs tank_l) for refuelling stops
corridor_kmMax distance from the route for fuel, parking and weigh stations, 0.2–5 km (default 2)
fuelFuel grades to price, comma list (default diesel)
tank_linclude=fuel_plan: usable tank size in litres, 20–1500 (required with fuel_plan)
consumption_l100include=fuel_plan: consumption in litres per 100 km, 3–60 (default 13)
start_fuel_pctinclude=fuel_plan: tank level at departure in %, 5–100 (default 100)
reserve_pctinclude=fuel_plan: the plan never lets the tank drop below this %, 5–50 (default 15). The grade planned is the first one in fuel
rest_every_mininclude=rest: перерва щонайбільше після стількох хвилин руху, 60–300 (за замовчуванням 150, рекомендація: для приватних автобудинків до 7,5 т обов’язкового законодавства про час водіння немає)
break_mininclude=rest: тривалість перерви в хвилинах, 5–120 (за замовчуванням 20)
day_drive_max_mininclude=rest: нічна зупинка, коли денний час руху сягає стількох хвилин, 120–720 (за замовчуванням 540 = 9 год, рекомендація, а не законодавча межа)
night_mininclude=rest: мінімальна тривалість нічної зупинки в хвилинах, 60–900 (за замовчуванням 600)
night_start_afterinclude=rest: місцевий час у форматі HH:MM, 12:00–21:30 (за замовчуванням 17:00). Якщо день триватиме після 22:00, нічна зупинка ставиться на паркінгу, до якого можна доїхати між цим часом і 22:00 (місцевий час на зупинці), у межах обмежень на перерви та добовий час руху
night_end_not_beforeinclude=rest: місцевий час у форматі HH:MM, 04:00–11:00 (за замовчуванням 07:00, рекомендація). Нічна зупинка ніколи не завершується раніше за цей час у місці зупинки; натомість її подовжують
goods_or_towinginclude=rest: 0 або 1 (за замовчуванням 0). Надсилайте 1, коли автобудинок перевозить вантаж або буксирує (власне авто, причіп, коня). Якщо weight понад 7,5 т, на ділянках маршруту в ЄС/ЄЕП застосовується EU 561/2006: перерва 45 хвилин після щонайбільше 4 год 30 хв руху, щонайбільше 9 год руху на добу (подовження до 10 год не плануються), щоденний відпочинок щонайменше 11 год; такі рядки мають rule eu561_motorhome. Розділена перерва 15 + 30 не планується; тижневі обмеження не перевіряються. Не застосовується у Швейцарії (низька або середня достовірність) і за межами ЄС/ЄЕП. За маси 7,5 т і менше або з 0 план для автобудинка не змінюється
depart_atDeparture as ISO 8601 with time zone, up to 14 days ahead (default: now)
aliasesAccepted for easy switching: depart → depart_at, departAt, arriveAt, vehicleHeight, vehicleWidth, vehicleLength, vehicleWeight (kg or t), vehicleAxleWeight / axleWeight → axle_load, vehicleNumberOfAxles / axleCount → axles, vehicleTrailers → trailers, vehicleAdrTunnelRestrictionCode → adr_tunnel, vehicleEmissionClass → emission_class, maxAlternatives → alternatives, waypoints → via
trafficforecast (default), live or off. forecast = learned recurring congestion + live traffic near the departure + roadworks, closures and weather at the passing time; live = current traffic without the learned pattern; off = no traffic layer (free-flow drive time)
langLanguage code for names and messages (default en)

Поля відповіді — усередині об’єкта data у конверті відповіді. [] позначає список, тож data.items[].name — це поле name кожного елемента. Поле буває null, відсутнє або порожній список, коли значення в нас немає, — заглушок ми не підставляємо.

ПолеОпис
data.routedistance_m, duration_s (pure driving), geometry (format in geometry_format), bbox, countries (ISO codes in order), departure_at, toll_distance_m, fuel_l, ascent_m, descent_m, legal, avoid; with arrive_at also arrive_at_requested.
data.route.country_split[]Per country in route order: country, km, duration_min.
data.route.low_emission_zones_avoided[]Only with avoid=low_emission_zones: zones the route was moved out of (name, country); low_emission_zones_on_route[] lists any that could not be avoided.
data.tollsMotorhome tolls: currency (EUR), priced true, vat included, total_eur, complete, by_country[] for every country on the line (country, system: none, exempt, vignette, distance, flat_daily or section; category, km_toll, amount in EUR incl. VAT or null when not priced yet, currency, priced, status confirmed or likely, tariff, period for vignettes, reference = official operator page, note), objects[] (bridges with their own toll, priced per crossing), coverage_note. complete is false when any country or crossing is not priced. Classes follow weight (up to / over 3.5 t), height and axles. Truck (HGV) rates are never used.
data.vehicleThe vehicle as understood: height_m, weight_t, length_m, width_m, axle_load_t, axles, trailers, emission_class, type = motorhome, beta: true and beta_note.
data.alternatives[]Only with alternatives: distance_m, duration_s, forecast_duration_s (with traffic), tolls (currency, total_eur, complete, by_country) and geometry for each alternative route. Alternatives are planned without time-dependent restrictions and are not ban-checked; the main route is. Empty when no reasonable alternative exists.
data.route.restriction_hits[]Restrictions for this vehicle still on the line: kind, name, country, at_km. A zone that holds one of your via points is entered only on the legs into and out of that via: it is listed with exempt=true and reason=via_inside_zone and does not make route.legal false.
data.route.truck_bans[]Dated driving bans on the route with applies (false where the ban does not apply to a motorhome of this weight) and motorhome_note: name, kind, country, details, min_weight_t, window_from, window_to, eta_at_ban, eta_at_ban_free, km_from_start, applies, active, avoided.
data.route.border_crossings[]Crossings on the route: name, ppid, from_country, to_country, lat, lon, km_from_start, status; wait_min = time on the exit side + the entry side at the planned arrival (wait_at), null when neither side is measured (wait_minutes = same value, legacy name); wait_sides[] (side country, role exit|entry, ppid, min, basis live|forecast, note when not measured); wait_notes[]; wait_capped (a side over 48 h is planned at 48 h); registration_required = an electronic-queue lane: register before arriving. v2: the time to get a slot is not included in the wait. v3: Ukraine-exit truck lanes use the eCherha published wait as wait_min (fresh data only, never capped; entry side included; stale = wait_min null + warning echerha_wait_unverified) and add registration_wait_minutes, registration_wait_source (echerha), registration_wait_at, registration_note (localized) and registration_url.
data.route.warnings[]code and message, e.g. motorhome_beta, include_not_available, restrictions_on_route, low_emission_zone_on_route, closure_on_route, tolls_not_fully_avoided, arrive_at_not_reachable.
data.route.closures_on_route[]German motorways: closures, roadworks and traffic warnings within 150 m of the line whose time window overlaps the moment the truck passes: type (closure, roadwork, warning), road, title, km_from_start, eta, from, to, full_closure, lorry_specific (text names lorries or a weight limit), lat, lon. The route is not changed around them.
data.traffic_forecastUnless traffic=off: model, mode, duration_base, duration_s_free, duration_s_forecast, delay_s (recurring, live, roadworks, weather, total), hotspots[] (km_from_start, km_to, eta, delay_s, reason recurring|live|roadworks|lane_closure|closure|weather, label, road, confidence low|medium|high, dow_hour, delay_by_reason, country; jam_frequency and road_condition where known), weather_on_route[], closures_avoided[], recommended_alternative (a forecast-faster alternative is only recommended — the primary route is never swapped), coverage (how much data backed the plan, with a note), calc_ms. The forecast timeline drives the ETA, rest plan, ban timing and border-wait timing. A planning estimate; data collection started in September 2026.
data.rest_plan[]Лише з include=rest (рекомендації для автобудинків, не EU 561/2006): type break або overnight, start_at, end_at, duration_min, km_from_start, parking (рядок із parkings[] або null), reason, rule (motorhome, або eu561_motorhome з goods_or_towing=1 за маси понад 7,5 т у ЄС/ЄЕП), drive_before_min, tz (часовий пояс зупинки), start_local і end_local (місцевий час на зупинці), warning (no_parking_in_window, якщо паркінг не знайдено до настання часу зупинки; тоді зупинка ставиться в точці, де вона має бути). Зупинки ставляться на найкращому з придатних паркінгів до настання часу зупинки, ніколи не пізніше: спочатку зони відпочинку, Autohof і стоянки для вантажівок із сервісами, наприкінці паркінги лише для вантажівок; для нічних зупинок надається перевага місцям із туалетами, душем, водою, зливом для автобудинків (RV dump) і електрикою. Рядки нічних зупинок також містять country (ISO 3166-1 alpha-2), hint (підказка щодо нічного паркування для цієї країни англійською або null) і hint_confidence (high, medium, low або null). Підказки — це інформація з вторинних джерел, а не юридична порада і ніколи не заборона; місцеві знаки та муніципальні правила мають чинність. Приклади: PT 48 год в одному муніципалітеті, не в заповідних зонах, зонах Natura 2000 чи прибережних зонах; NL муніципальне регулювання, зазвичай до 3 днів; DE одна ніч для відновлення працездатності водія; DE, ES, FR, IT, NL і DK без облаштування табору (навіс, стільці, столи). У HR, SI, IS і ME (низька достовірність) кемпінги, aires і стоянки для кемперів з наших даних про паркінги мають найвищий пріоритет для нічної зупинки; інші паркінги все одно використовуються, якщо жоден не досяжний. Значення за замовчуванням (150 хв, 9 год, 07:00) є рекомендаціями, а не законодавчими межами.
data.assumptions[]З include=rest: використані значення перерв і нічних зупинок (надіслані або за замовчуванням) та спосіб розміщення зупинок, простим текстом.
data.rest_warnings[]З include=rest: code, km_from_start, message, наприклад no_parking_in_window, коли зупинку довелося поставити в точці, де вона має бути.
data.fuel_planOnly with include=fuel_plan: grade, tank_l, consumption_l100, start_fuel_pct, reserve_pct, stops[] (km_from_start, station = a fuel_stations[] row, litres, est_price_per_l, est_cost and currency in the station currency, est_cost_eur, price_updated_at, fuel_left_on_arrival_pct, below_reserve when no station was in range), total_litres, total_est_cost (EUR, priced stops only), total_currency, fuel_left_at_destination_pct, warnings[] (code, km_from_start, message: fuel_gap, no_station_to_destination, price_unknown). Each stop is the cheapest station per litre within range that keeps the reserve; it buys enough to reach a cheaper station further on, or the destination, else a full tank. stops is empty when the tank covers the trip.
data.waits[]Forced waits on the timeline: ban_wait (a driving ban) and border_wait, same shape as rest_plan.
data.etaArrival time including driving, the motorhome breaks and overnight stops (include=rest), ban waits and border waits; with driving_time_min and total_time_min.
data.fuel_stations[]name, brand, lat, lon, country, km_from_start, distance_from_route_km, detour_km, prices[] (fuel_type, price, currency, stale), price_updated_at. A fuel price last confirmed more than 90 days ago is not returned (the same rule as the fuel products; see Price age on the fuel-stations page).
data.parkings[]name, type (parking, rest_area, truck_stop, autohof, campsite, camper_stop), lat, lon, country, km_from_start, distance_from_route_km, detour_km, capacity, secure, amenities[], opening_hours; id = the ext_id of this place for the POI Opinion API (ext_source parking: opinions with stars and recommend, overnight votes, photos, videos); user opinions, overnight_votes and photos where we hold them (approved content only); camper_summary on some rows = our summary of what users say about the place. Sending include replaces the default (fuel, parking): with include=rest also send parking (include=parking,rest) to keep parkings[]. rest_plan[].parking is the same row with the same id.
data.coveragecorridor_km, countries_on_route, fuel_grades, fuel countries with sparse or no price data, truncated lists, measured_at.
data.resolved_locationsOnly with from_city/to_city: query, lat, lon, label of the geocoded point.
data.disclaimerThe rest plan is a planning aid with recommended values, not legal advice.
data.attributionList of credits to display: always "Data by nakordoni.eu".

Автобудинок (бета)

Виклики для автобудинків на будь-якому з двох ендпоінтів враховуються в одному добовому ліміті Motorhome Route API.

weight (gross vehicle weight in tonnes) is required: speed limits, toll classes and bans depend on it. The answer carries vehicle.type=motorhome, vehicle.beta=true and the warning motorhome_beta.

vehicle_type не потрібен. Правила робочого часу водіїв (EU 561/2006) не застосовуються до приватних автобудинків: параметри лише для вантажівок crew, driven_*, reduced_*, extended_*, last_weekly_rest_end і reduced_weekly_ok відхиляються з 400 (для вантажівок використовуйте truck-route). include=weigh не пропонується (warning include_not_available). include=rest дає план для автобудинка: перерва кожні rest_every_min хвилин руху (за замовчуванням 150, break_min 20) і нічна зупинка, коли день сягає day_drive_max_min (за замовчуванням 540, night_min 600), кожна на найкращому з придатних паркінгів до настання часу зупинки (зони відпочинку, Autohof і стоянки для вантажівок із сервісами; для нічних зупинок надається перевага місцям із туалетами, душем, водою, зливом для автобудинків (RV dump) і електрикою). Рядки rest_plan містять rule=motorhome. Лише коли include надіслано явно; include за замовчуванням (fuel, parking) не містить плану відпочинку.

Додавайте відгуки

Кожен рядок parkings[] має id; rest_plan[].parking — це той самий рядок. Надішліть цей id як ext_id з ext_source=parking до POI Opinion API (POST /api/v2/data/poi-opinion): відгуки ваших користувачів з оцінкою від 1 до 5 зірок і recommend true або false, голоси про ночівлю (yes, no, none), фото та відео. Після модерації вони повертаються в рядку як opinions, overnight_votes і photos. camper_summary у рядку — наш підсумок того, що користувачі кажуть про місце.

Параметр include замінює типове значення (fuel, parking): include=rest сам по собі не дає parkings[], тож надішліть include=parking,rest.

Документація POI Opinion API · Так само, як інтеграція Home Assistant

Знаки читаються суворо: діють обмеження висоти, маси, ширини, довжини та навантаження на вісь, і враховується кожен знак «вантажівкам заборонено» або вагової категорії, навіть якщо він може стосуватися лише вантажних автомобілів (зокрема у Швейцарії).

Заборони руху вантажівок у вихідні, свята та вночі: до 7,5 т жодна не діє (Австрія та Словаччина — лише з причепом); понад 7,5 т вони зняті у Швейцарії, Німеччині, Франції, Угорщині та Італії. Зняті заборони наводяться з applies=false. Зони центру міста та низьких викидів діють.

Driving time uses the motorhome speed limit of each country; over 3.5 t, German motorways are planned at 80 km/h (strict reading). No EU 561 driver rest plan (see include=rest above) and no weigh stations.

Плата за дороги для автобудинків за країнами

Правила для автобудинків за країнами (система і статус для кожної вагової категорії). Суми з ПДВ, переведені в EUR; тарифи для вантажівок (HGV) не використовуються ніколи. status confirmed — правило з офіційного тексту оператора, likely — клас або тариф визначено за аналогією. Мости з окремою платою оцінюються за кожен проїзд в objects. Країна без правила має amount null і complete=false.

Країнадо 3,5 тпонад 3,5 т
ATvignette · confirmeddistance · confirmed
BEnone · confirmedexempt · confirmed
BGvignette · likelydistance · likely
CHvignette · confirmedflat_daily · confirmed
CZvignette · likelydistance · confirmed
DEnone · confirmedexempt · likely
DKnone · likelynone · likely
ESsection · likelysection · likely
FRsection · likelysection · likely
HRsection · likelysection · likely
HUvignette · confirmedvignette · confirmed
ITsection · likelysection · likely
LInone · likelynone · likely
LUnone · likelynone · likely
NLnone · confirmednone · confirmed
PLsection · likelydistance · confirmed
PTsection · likelysection · likely
ROvignette · likelyvignette · likely
SEnone · confirmednone · confirmed
SIvignette · confirmeddistance · confirmed
SKvignette · confirmedvignette · confirmed

Мости, що оплачуються за проїзд: Fetesti-Cernavoda Bridge (A2), Giurgiu-Ruse Bridge, Calafat-Vidin Bridge

Поки не враховано: платні дороги 1-го класу в Чехії (лише автомагістралі), мости через Тежу в Лісабоні, плата за в’їзд до міст. Португалія: колишні автомагістралі SCUT, безкоштовні з 2025 року, не тарифікуються.

Приклад запиту

curl "https://nakordoni.eu/api/v2/data/motorhome-route?from=47.8095,13.0550&to=46.0569,14.5058&weight=4.8&height=3.2&length=7.65&width=2.34&axles=2" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"

Приклад відповіді (скорочено)

{
  "ok": true,
  "product": "motorhome-route",
  "data": {
    "vehicle": { "type": "motorhome", "beta": true, "weight_t": 4.8, "height_m": 3.2, "axles": 2,
                 "beta_note": "Motorhome routing is in beta. …" },
    "route": {
      "distance_m": 276000, "duration_s": 13020,
      "truck_bans": [],
      "warnings": [ { "code": "motorhome_beta", "message": "Motorhome routing is in beta. …" } ]
    },
    "tolls": {
      "currency": "EUR", "priced": true, "total_eur": 74.91, "complete": true, "vat": "included",
      "by_country": [
        { "country": "AT", "system": "distance", "km_toll": 196.6, "amount": 65.44, "priced": true, "status": "confirmed",
          "tariff": "196.6 km x 0.3329 EUR/km incl. VAT (2 axles, Euro 6 assumed)",
          "reference": "https://www.go-maut.at/go-maut-bezahlen/tarife-go-maut/" },
        { "country": "SI", "system": "distance", "km_toll": 61.6, "amount": 9.47, "priced": true, "status": "confirmed",
          "tariff": "61.6 km x 0.1538 EUR/km incl. VAT (2 axles, Euro 6 assumed)" }
      ],
      "objects": [],
      "coverage_note": "… Truck (HGV) toll rates are never applied to a motorhome."
    }
  }
}
curl "https://nakordoni.eu/api/v2/data/motorhome-route?from=47.8095,13.0550&to=46.0569,14.5058&weight=4.8&height=3.2&length=7.65&width=2.34&axles=2" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
Огляд, добовий ліміт і реальний розрахунок: Motorhome Route API
🔑 Увійдіть як розробник, щоб спробувати цей endpoint наживо в пісочниці — 10 безкоштовних тестових викликів на продукт на день. Увійти

Оновлено