distance-matrix

Calculate distance matrix or one-to-one pairs

Changed on
post/distance-matrix

Request

  • Base URL
    https://api.geocod.io/v2
  • URL
    https://api.geocod.io/v2/distance-matrix
  • Auth
    API key in query parameter api_key

Request body

originsstring[] required
destinationsstring[] required
calculation_type'matrix' | 'pairs'
mode'driving' | 'haversine' | 'straightline'
units'miles' | 'km'
max_resultsinteger
max_distancenumber
max_durationinteger
order_by'distance' | 'duration'
min_distancenumber
min_durationinteger
sort_order'asc' | 'desc'
countrystring

Response

Successful response

modestring

Changes

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ////// to the response with the status

    • info

      added the optional property ///// to the response with the status