/omio/routes

POST /api/omio/routes

Price: 20 credits

Get an overview of an Omio route (mode, origin and destination city): the departure and arrival places (name, country and city codes, Omio position ids), total distance and duration, cheapest price and mode, all available modes and operating providers, the aggregate traveller rating and offer count, a per-mode comparison (train vs bus vs flight: cheapest and average price, duration, CO2 range, directness, popularity and speed flags) and a provider breakdown with per-provider cheapest price, frequency and detail page links. Origin and destination are city slugs as used in Omio route URLs.

How to use it

Get an Omio route overview (mode, origin and destination city slugs). Returns departure/arrival names, country and city codes, position ids, distance_km, duration_minutes, cheapest_price, cheapest_mode, available_modes, provider_names/codes, rating and rating_count, mode_comparison (per-mode price, duration, CO2, flags) and providers (per-provider cheapest_price, frequency, clickouts, page_link for the companies endpoint).

Parameters

Request body

Response

Errors

Response headers