search icon
Overview
Developer Tools
Travel Time Matrix API
Isochrone API
Distance Map API
Routes API
Geocoding API
Additional API Reference
Error Handling
ArcGIS plugin
QGIS plugin
Alteryx plugin
TravelTime.comchevronDocs
JSON API /v4/time-filter/fast

Travel Time Matrix (Fast)

A high performance version of the Travel Time Matrix (Time Filter) endpoint. This endpoint offers fewer configurable parameters but can handle very large volumes of locations with extremely low response times.

Available in most of the countries currently supported by the TravelTime API - a full list can be found at the bottom of the page here.

Request Body

array[object]

Define your locations to use later in arrival_searches.

Hide child attributes

You will have to reference this id in your searches. It will also be used in the response body. Must be unique among all locations.

The coordinates of the locations.

Show child attributes

Latitude.

Longitude.

Searches based on arrival time. Arrive at a destination or multiple destinations at no later than given time.

Hide child attributes

This allows you to specify a single arrival location and multiple departure locations. You can define a maximum of 10 searches.

Hide child attributes

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.

The ids of the locations to depart from. Must reference ids from the locations array. You can define a maximum of 100,000 departure_location_ids.

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

Properties to be returned about the points. Possible values: travel_time, distance (only for driving+ferry, cycling+ferry and walking+ferry transportation types), fares (UK only).

Show child attributes

Possible values: public_transport, walking+ferry, cycling+ferry, driving+ferry, driving+public_transport.

Note - a driving+public_transport search is for driving then public transport (i.e driving to a stop/station and continuing by public transport). The driving leg of the journey is limited to maximum 30 minutes."

Adjusts the process of looking up the nearest roads from the departure / arrival points.

Show child attributes
  • enabled (default) - walking time and distance from the departure location to the nearest road and from the nearest road to the arrival location are added to the total travel time and distance of a journey.
  • disabled - these walking times and distances are not added to the total reported values (i.e the journey effectively starts and ends at the nearest points on the road network).
  • both_drivable_and_walkable (default) - journey can only start or end on roads that are accessible by both: cars and pedestrians. This effectively means journeys can not start / end on motorways.
  • any_drivable - journey can start or end on any road accessible by a car (including motorways).

This allows you to specify a single departure location and multiple arrival locations. You can define a maximum of 10 searches.

Show child attributes

Used to identify each search in the results array. Must be unique among all searches.

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 arrival_location_ids.

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

Properties to be returned about the points. Possible values: travel_time, distance (only for driving+ferry, cycling+ferry and walking+ferry transportation types), fares (UK only).

Show child attributes

Possible values: public_transport, walking+ferry, cycling+ferry, driving+ferry, driving+public_transport.

Note - a driving+public_transport search is for driving then public transport (i.e driving to a stop/station and continuing by public transport). The driving leg of the journey is limited to maximum 30 minutes."

Adjusts the process of looking up the nearest roads from the departure / arrival points.

Show child attributes
  • enabled (default) - walking time and distance from the departure location to the nearest road and from the nearest road to the arrival location are added to the total travel time and distance of a journey.
  • disabled - these walking times and distances are not added to the total reported values (i.e the journey effectively starts and ends at the nearest points on the road network).
  • both_drivable_and_walkable (default) - journey can only start or end on roads that are accessible by both: cars and pedestrians. This effectively means journeys can not start / end on motorways.
  • any_drivable - journey can start or end on any road accessible by a car (including motorways).

Response Body

array[object]

The results array which is sorted lexicographically by the id attribute

Hide child attributes

array[object]

Show child attributes

Only the properties included in the request are returned here.

Show child attributes

Travel time in seconds.

array[string]

Ids of locations that cannot be reached within the specified travel_time.

Examples

Request

Loading

Response Body

Loading

Example Request

Loading

Response Body

Loading