Distance Matrix

Introduction

The Distance Matrix API is a RESTful API used to return distance, time and average speed information for a matrix of origins and destinations.

Very useful for operations that need to know which asset can reach a destination faster. For example, if a car has broken down on the road, the Distance Matrix API can return which tow truck will arrive fastest to help.

The Distance Matrix API allows you to:

  • Calculate the distance matrix for up to 200 points;
  • When estimating the distance, consider routes that avoid tunnels or ferries;
  • Use of restricted areas registered by the client so that the route avoids passing through these areas;
  • The API response will show:
    • Approximate distance between elements;
    • Estimated time between elements;
    • Estimated average speed between elements.

Note: This service does not return detailed route information. Use the Trip API for route information.