Skip to main content
POST
/rome2rio/routes/search

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required
Required range: x >= 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
origin
string | null
origin_pos
string | null
Pattern: ^-?\d{1,3}(\.\d+)?,-?\d{1,3}(\.\d+)?$
destination
string | null
destination_pos
string | null
Pattern: ^-?\d{1,3}(\.\d+)?,-?\d{1,3}(\.\d+)?$
currency
string
default:USD
Required string length: 3
language_code
string
default:en

Response

Successful Response

@type
string
default:Rome2RioRoute
name
string | null
canonical_name
string | null
grouping_key
string | null
duration
integer | null
is_connectable
boolean | null
transport_kinds
string[]
transfer_durations
integer[]
origin
object | null
destination
object | null
indicative_prices
object[]
booking_configuration
object | null
transit_guides
object[]
segments
object[]