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
| Պարամետր | Նկարագրություն |
|---|---|
from | Origin as lat,lon (required unless from_city is given), e.g. 52.2297,21.0122 |
to | Destination as lat,lon (required unless to_city is given) |
from_city | Origin city name instead of coordinates (add from_country for accuracy) |
from_country | ISO 3166-1 alpha-2 country of from_city, e.g. PL |
to_city | Destination city name instead of coordinates |
to_country | ISO 3166-1 alpha-2 country of to_city |
via | Up to 5 waypoints as lat,lon|lat,lon |
vehicle_type | Optional. motorhome (the default and only value). Any other value, e.g. truck, is rejected with 400; use truck-route for trucks. |
height | Vehicle height in metres (1.0–5.0) |
weight | Gross vehicle weight in tonnes (1–60), required: speed limits, signs, toll classes and bans depend on it |
length | Vehicle length in metres (2–30) |
width | Vehicle width in metres (1.0–3.5) |
axle_load | Axle load in tonnes (1–20) |
axles | Number of axles (2–12); used for routing and for motorhome toll classes |
trailers | Number of trailers (0–3); a trailer changes which bans apply (Austria and Slovakia) and toll classes |
hazmat | Dangerous 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_tunnel | ADR tunnel restriction code of the load: B, C, D or E. Tunnels whose category forbids it are avoided (implies hazmat) |
avoid | Comma list of tolls, ferries, motorways, borders, tunnels, unpaved, low_emission_zones |
emission_class | Vehicle emission class euro0 … euro6; used for low-emission-zone checks and distance-toll rates (AT, CZ, SI, BG; Euro 6 assumed when not sent) |
alternatives | Number of alternative routes, 0–2 (default 0; routes without via points only) |
geometry | polyline5 (default), polyline6 or geojson |
arrive_at | Wanted arrival as RFC 3339; the departure is planned backwards including breaks and rests (instead of depart_at) |
route_type | fastest (default) or eco |
include | Comma 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_km | Max distance from the route for fuel, parking and weigh stations, 0.2–5 km (default 2) |
fuel | Fuel grades to price, comma list (default diesel) |
tank_l | include=fuel_plan: usable tank size in litres, 20–1500 (required with fuel_plan) |
consumption_l100 | include=fuel_plan: consumption in litres per 100 km, 3–60 (default 13) |
start_fuel_pct | include=fuel_plan: tank level at departure in %, 5–100 (default 100) |
reserve_pct | include=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_min | include=rest. ընդմիջում վարելու առավելագույնը այսքան րոպեից հետո, 60–300 (լռելյայն 150, առաջարկություն. մինչև 7,5 տ մասնավոր ավտոտների համար վարելու ժամանակի պարտադիր օրենք չկա) |
break_min | include=rest. ընդմիջման տևողությունը րոպեներով, 5–120 (լռելյայն 20) |
day_drive_max_min | include=rest. գիշերակաց, երբ օրվա վարելու ժամանակը հասնում է այսքան րոպեի, 120–720 (լռելյայն 540 = 9 ժ, առաջարկություն, ոչ թե օրինական սահմանաչափ) |
night_min | include=rest. գիշերակացի նվազագույն տևողությունը րոպեներով, 60–900 (լռելյայն 600) |
night_start_after | include=rest. HH:MM տեղական ժամանակ, 12:00–21:30 (լռելյայն 17:00)։ Երբ օրը կձգվեր 22:00-ից հետո, գիշերակացը տեղադրվում է այս ժամի և 22:00-ի միջև (կանգառի տեղական ժամանակով) հասանելի կայանատեղիում՝ ընդմիջման և օրական վարելու սահմանաչափերի շրջանակում |
night_end_not_before | include=rest. HH:MM տեղական ժամանակ, 04:00–11:00 (լռելյայն 07:00, առաջարկություն)։ Գիշերակացը երբեք չի ավարտվում կանգառի վայրում այս ժամից շուտ. փոխարենը այն երկարացվում է |
goods_or_towing | include=rest. 0 կամ 1 (լռելյայն 0)։ Ուղարկեք 1, երբ ավտոտունը բեռ է տեղափոխում կամ քարշակ է անում (սեփական մեքենա, կցորդ, ձի)։ 7,5 տ-ից ավելի weight-ի դեպքում երթուղու ԵՄ/ԵՏԶ հատվածներում կիրառվում է ԵՄ 561/2006. 45 րոպե ընդմիջում վարելու առավելագույնը 4 ժ 30 րոպեից հետո, օրական առավելագույնը 9 ժ վարել (10 ժ երկարացումը չի պլանավորվում), օրական հանգիստ առնվազն 11 ժ. այդ տողերն ունեն rule eu561_motorhome։ 15 + 30 բաժանված ընդմիջումը չի պլանավորվում, շաբաթական սահմանաչափերը չեն ստուգվում։ Չի կիրառվում Շվեյցարիայում (ցածրից միջին վստահություն) և ԵՄ/ԵՏԶ-ից դուրս։ 7,5 տ-ում կամ դրանից ցածր, կամ 0-ի դեպքում ավտոտան պլանը չի փոխվում |
depart_at | Departure as ISO 8601 with time zone, up to 14 days ahead (default: now) |
aliases | Accepted 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 |
traffic | forecast (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) |
lang | Language code for names and messages (default en) |
Պատասխանի դաշտերը — պատասխանի ծրարի data օբյեկտի ներսում։ []-ը ցույց է տալիս ցուցակ, ուստի data.items[].name-ը յուրաքանչյուր տարրի name դաշտն է։ Դաշտը լինում է null, բացակայում է կամ դատարկ ցուցակ է, երբ արժեք չունենք․ լցոնող արժեք երբեք չենք դնում։
| Դաշտ | Նկարագրություն |
|---|---|
data.route | distance_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.tolls | Motorhome 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.vehicle | The 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_forecast | Unless 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-ի դեպքում (ավտոտան առաջարկություններ, ոչ թե ԵՄ 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_plan | Only 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.eta | Arrival 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.coverage | corridor_km, countries_on_route, fuel_grades, fuel countries with sparse or no price data, truncated lists, measured_at. |
data.resolved_locations | Only with from_city/to_city: query, lat, lon, label of the geocoded point. |
data.disclaimer | The rest plan is a planning aid with recommended values, not legal advice. |
data.attribution | List of credits to display: always "Data by nakordoni.eu". |
Ավտոտնակ (բետա)
Ավտոտների հարցումները երկու endpoint-ներում էլ հաշվվում են 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 պետք չէ։ Վարորդների աշխատաժամանակի կանոնները (ԵՄ 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) rest պլան չունի։
Ավելացրեք կարծիքներ
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 տ-ից ավելի |
|---|---|---|
AT | vignette · confirmed | distance · confirmed |
BE | none · confirmed | exempt · confirmed |
BG | vignette · likely | distance · likely |
CH | vignette · confirmed | flat_daily · confirmed |
CZ | vignette · likely | distance · confirmed |
DE | none · confirmed | exempt · likely |
DK | none · likely | none · likely |
ES | section · likely | section · likely |
FR | section · likely | section · likely |
HR | section · likely | section · likely |
HU | vignette · confirmed | vignette · confirmed |
IT | section · likely | section · likely |
LI | none · likely | none · likely |
LU | none · likely | none · likely |
NL | none · confirmed | none · confirmed |
PL | section · likely | distance · confirmed |
PT | section · likely | section · likely |
RO | vignette · likely | vignette · likely |
SE | none · confirmed | none · confirmed |
SI | vignette · confirmed | distance · confirmed |
SK | vignette · confirmed | vignette · confirmed |
Յուրաքանչյուր անցման համար վճարովի կամուրջներ: Fetesti-Cernavoda Bridge (A2), Giurgiu-Ruse Bridge, Calafat-Vidin Bridge
Դեռ ներառված չեն՝ Չեխիայի վճարովի 1-ին դասի ճանապարհները (միայն մայրուղիները), Լիսաբոնի Տեժու գետի կամուրջները, քաղաք մուտքի վճարները։ Պորտուգալիա՝ 2025-ից անվճար նախկին SCUT մայրուղիները չեն հաշվարկվում։
Հարցման օրինակ
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"
Թարմացվել է