The Distance Matrix API is an HTTP API for calculating the distance and duration of routes. The Distance Matrix calculates all possible combinations for the origin and destination points. For example, you can use the API to find the restaurant that is closest to the point of origin.

The calculated travel time for a section always accounts for current traffic conditions and the traffic forecast.


  • To send API requests, get an API key and sign the agreement.
  • The maximum size of the matrix is 100 items. To generate more complex matrixes, divide them into multiple queries.
  • Maximum requests per second (RPS): 5.