JSON API
/v4/time-filter/fast
A very fast version of Time Filter. However, the request parameters are much more limited. Currently only supports UK and Ireland.
array[object]
Define your locations to use later in arrival_searches
.
object
Searches based on arrival time. Arrive at a destination or multiple destinations at no later than given time.
array[object]
This allows you to specify a single arrival location and multiple departure locations. You can define a maximum of 10
searches.
string
Used to identify each search in the results array. Must be unique among all searches.
The id of the location to arrive at. Must reference an id from the locations array.
array[string]
The ids of the locations to depart from. Must reference ids from the locations array. You can define a maximum of 100,000
departurelocationids.
Maximum journey time (in seconds). Maximum value is 10800
(3 hours) as standard. To discuss increasing this, please contact sales@traveltime.com.
Possible values: weekday_morning
array[string]
Properties to be returned about the points. Possible values: travel_time
, fares
Possible values: public_transport
, driving
, driving+public_transport
, driving+ferry
, cycling
, cycling+ferry
, walking
, walking+ferry
array[object]
This allows you to specify a single departure location and multiple arrival locations. You can define a maximum of 10
searches.
string
Used to identify each search in the results array. Must be unique among all searches.
array[string]
The id of the location to depart from. Must reference an id from the locations array.
The ids of the locations to arrive at. Must reference ids from the locations array. You can define a maximum of 100,000
arrivallocationids.
Maximum journey time (in seconds). Maximum value is 10800
(3 hours) as standard. To discuss increasing this, please contact sales@traveltime.com.
Possible values: weekday_morning
array[string]
Properties to be returned about the points. Possible values: travel_time
, fares
Possible values: public_transport
, driving
, driving+public_transport
, driving+ferry
, cycling
, cycling+ferry
, walking
, walking+ferry
array[object]
The results array which is sorted lexicographically by the id
attribute
object
Only the properties included in the request are returned here.
integer | optional
Travel time in seconds.
object | optional
array[object]
month
or year
ISO 4217
currency code
array[string]
Ids of locations that cannot be reached within the specified travel_time
.
Example Request
Loading
Response Body
Loading