/table/sync
Request a distance matrix synchronously. Returns the matrix response directly instead of creating an asynchronous job. Limited to 50x50 matrices.
Authorizations
API key authentication. Include your API key in the Authorization header.
Body
Table Dto
The coordinates this request will use, coordinates as [{lon},{lat}] values, in decimal degrees.
2An array of index elements (0 <= integer < #coordinates) to use location with given index as source. Default is to use all.
An array of index elements (0 <= integer < #coordinates) to use location with given index as destination. Default is to use all.
Return the requested table or tables in response. Can be ['duration'] (return the duration matrix, default) or ['duration', distance'] (return both the duration matrix and the distance matrix).
The vehicle type for which the table is requested
CAR, BIKE, TRUCK, ELECTRIC_CAR, ELECTRIC_BIKE Routing data engine used to calculate distances/durations.
OSM: Open Street Map, traffic-unaware (default).TOMTOM: TomTom map data with predictive traffic patterns. Use withdepartureTimeand optionallyinterpolate.TOMTOM_REAL_TIME: TomTom map data with real-time traffic. ThedepartureTimefield is ignored — every request uses the current time. Available onPOST /routeandPOST /table/synconly (not on async/tableor/route/batch).GOOGLE: Google routing data (contact sales).ANYMAP: Solvice's proprietary engine with advanced traffic modeling.CUSTOM: Bring-your-own engine via custom integration.
OSM, TOMTOM, GOOGLE, ANYMAP, CUSTOM, TOMTOM_REAL_TIME The departure time (ISO8601) for which you want to calculate the route. This will take into account predictive travel time based on TomTom data.
"2024-03-15T08:30:00.000Z"
Enable linear interpolation between time slices for more accurate results based on departure time
Exclude certain road types from routing
TOLL, MOTORWAY, FERRY, TUNNEL, BRIDGE Response
Get table response directly.
Table Response
Table response id. Not to be confused with table request id.
Time distance matrix. In order of sources to destinations indexes in request.
Distance matrix. In order of sources to destinations indexes in request.
Actual sources snapped to map.
Actual destinations snapped to map.