Distance Matrix API Overview

Distance Matrix API provides a robust solution for integrating precise routable distance and ETA between multiple points. Whether you're developing a mapping application, a transportation logistics platform, or a location-based service, our API offers seamless integration to enhance user experiences and streamline operations. With the Distance Matrix API, you can generate accurate and optimized distance, near real-time ETA and routable path between multiple points. This powerful tool empowers users to plan allotments/assignments of jobs, as it helps understand the nearest assignee/engineer to a certain job for time and distance optimization.

Why Distance Matrix API?

Distance Matrix API provides distance, near real-time ETA and routable path(s) with traffic data considerations between multiple points. This API is extremely useful in cases where there is a set of serviceable locations and a set of assignees/engineers who need to allotted in a time friendly and distance friendly manner. This can lead to effective planning.

What can Distance Matrix API help with?

It helps solve the problem of finding all the combinations of time and distance between multiple points. A lot of business use cases involve multiple serviceable locations and multiple caterers/service engineers. In order to be time and distance efficient for the service, Distance Matrix is quintessential. The applications extend to ride-hailing services, food delivery services, courier services, service planning across multiple locations etc.

How to use

Sample request:
curl --location --request GET "https://api.olamaps.io/routing/v1/distanceMatrix?origins=12.931627594462489%2C77.61594443652996%7C12.94526954617208%2C77.63695879085383&destinations=12.92526954617208%2C77.63695879085383%7C12.961627594462489%2C77.61594443652996&api_key=${your_api_key}" --header "X-Request-Id: XXX"

Please refer to theAPI documentationfor further details.