Distance / time matrix
POST /v1/matrix
Computes a many-to-many distance and travel time matrix between source and target locations. Trucks are calculated at no more than 90 km/h. For long truck pairs (roughly over 4 hours of driving) that the engine cannot time at that speed, the time is estimated from the unrestricted route and the cell carries time_estimated: true.
Parameters
sourcesarray of object, requiredtargetsarray of object, requiredcostingauto | truck | bicycle | pedestrian | motorcycle | motor_scooter | bus | taxi- Vehicle/costing model for routing Default: "auto".
Price
See the price of /v1/matrix on the pricing page.