/table
Request a distance matrix asynchronously. Returns a table ID to poll status via /table/ and fetch results via /table//response. Use /table//progress for progress on large matrices (e.g. 2000x2000+).
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
Table created successfully
Table id.
Table status (IN_PROGRESS, SUCCEEDED, FAILED).
IN_PROGRESS, AGGREGATING, SUCCEEDED, FAILED, CREATING Error message if the Cube failed.
Hash of the Cube request
Number of sources in the table
Number of destinations in the table
Table response id.
Last update time of the table.
Creation time of the table.