Check a price
Calculate an indicative transport price before creating an order.
orders:write. The check does not create an order and needs no idempotency key. Repeat it after a timeout or a server error.
The response contains the current automatic price, or custom_quote_required when automatic pricing does not support the route. The price is not reserved. Bahn does not guarantee a custom quote.
The addresses must identify real places. A trade-in route must stay inside Finland, and a private pickup cannot include a trade-in vehicle. Sandbox prices, distances, and times are demonstration data.
Send height_mm and tires on the primary vehicle to include the van surcharge and the winter-tire terms. The check never looks up a VIN. See Vehicle height and tires.
Read Price checks for examples and the rules for showing a price.Headers
Body
Route, vehicles, and service choices used to calculate a price.
Response
The price check is complete.
- Automatic price available
- Custom quote required
Automatic price result or a clear custom-quote result.
The driving distance in meters that the price calculation uses for this route. Bahn's per-km prices use this distance rounded up to whole kilometers. Use it to calculate your own derived prices from exactly the same distance. The value is null when no driving distance is available for the route.
x >= 0Arrival prediction range. Sparse history widens the range using broader history and the route plan. This is not an agreed window or a guarantee. A null end means the upper bound is unknown. The whole value is null for live ETAs or missing essential route information.
Arrival prediction range. Sparse history widens the range using broader history and the route plan. This is not an agreed window or a guarantee. A null end means the upper bound is unknown. The whole value is null for live ETAs or missing essential route information.