Η υποβολή ειδήσεων και ο στόλος NakBus βρίσκονται πλέον στον πίνακα συνεργατών
Χρησιμοποιήστε τα ίδια στοιχεία σύνδεσης (email και κωδικό πρόσβασης) με τον λογαριασμό προγραμματιστή σας για να συνδεθείτε στον πίνακα Nakordoni Partners και να διαχειρίζεστε εκεί ειδήσεις και τον στόλο λεωφορείων σας (NakDriver / NakManager) με ρόλους ομάδας. Τα κλειδιά API, τα endpoints και οι εφαρμογές σας παραμένουν αμετάβλητα και οι σελίδες εδώ συνεχίζουν να λειτουργούν. Άνοιγμα Nakordoni Partners

← Όλα τα endpoints

Market Rate API Offline

Market rate of a truck lane in Europe: the median and the 75th percentile price in EUR per km per month, from prices that transport companies agreed with their customers and chose to share. Anonymised: a month is published only when at least 5 different companies contributed on that lane and vehicle class; otherwise the month is insufficient_data and no number is given. No company and no single price is ever shown. Use it with the Lane Cost Index API: the cost index is the cost floor, the market rate is what the market paid.

GET https://nakordoni.eu/api/v2/data/market-rate — κλάση ποσόστωσης: cheap

ΠαράμετροςΠεριγραφή
fromOrigin: a country code (PL), "lat,lng" (for example 52.4064,16.9252) or a city id (poznan, warsaw, berlin, munich, bucharest, zaragoza, lyon, milan, vienna, sofia, budapest).
toDestination: a country code, "lat,lng" or a city id.
vehicleVehicle class (default artic): van, rigid, artic. Lane Cost Index presets (van_3_5t, rigid_18t, artic_40t, ...) are accepted.
levelcountry (default) = all trips between the two countries; region = trips between the 2 x 3 degree grid cells of the given points (needs "lat,lng" or a city id on both ends).
monthsNumber of months, 1-12 (default 6).
untilLast month YYYY-MM (default the current month), within the last 24 months.

Πεδία της απάντησης — μέσα στο αντικείμενο data του φακέλου απάντησης. Το [] δηλώνει λίστα, άρα το data.items[].name είναι το πεδίο name κάθε στοιχείου. Ένα πεδίο είναι null, απουσιάζει ή είναι κενή λίστα όταν δεν έχουμε τιμή — ποτέ κάτι εικονικό.

ΠεδίοΠεριγραφή
data.labelAlways "market rate".
data.lanelevel, from {cc, region, region_label}, to {cc, region, region_label}; region is null with level=country.
data.vehicle_classvan, rigid or artic.
data.currencyAlways EUR; data.unit = eur_per_km.
data.min_companiesMinimum number of different companies for a month to be published (5).
data.months[]month (YYYY-MM), status ok | insufficient_data; with ok: median_eur_km, p75_eur_km, n_companies.
data.published_monthsNumber of months with status ok.
data.disclaimers[]What the market rate covers.
error.codemissing_from, missing_to, bad_from, bad_to, unknown_city, lane_refused (Russia, Kaliningrad, Belarus), bad_vehicle, bad_level, bad_months, bad_until.
curl "https://nakordoni.eu/api/v2/data/market-rate?from=PL&to=DE&vehicle=artic" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Συνδεθείτε ως προγραμματιστής για να δοκιμάσετε αυτό το endpoint ζωντανά στο sandbox — 10 δωρεάν δοκιμαστικές κλήσεις ανά προϊόν την ημέρα. Σύνδεση

Ενημερώθηκε