navigation

Compute a travel-time and distance matrix

Returns travel times and distances for up to 625 origin-destination pairs per request.

When to use: Compare destinations or build a travel-time matrix for analysis.

When not to use: Use route when directions or route geometry are required.

post/matrix

Request

  • Base URL: https://api.mapsource.io
  • URL: https://api.mapsource.io/matrix
  • Auth: HTTP bearer

Request body

costing'auto' | 'bicycle' | 'pedestrian' | 'truck' | 'motor_scooter' | 'bus'

Travel mode.

Response

Compute a travel-time and distance matrix

schemastring
profilestring

The costing model that produced this result.

geometryAvailable'inline' | 'handle'

Where the geometry is. handle means read geometryRef.

costingstring

Changes

No recorded changes to this operation across all 1 revision of this API.