Get Accurate ETAs
Product Used: Distance Matrix API
NextBillion.ai’s Distance Matrix API considers the real-time as well as historical traffic patterns to determine accurate ETAs using the most efficient routes. The Distance Matrix can cater to one to many and many to many scenarios as per given set of origin and destination locations. Users can also customize the request using a variety of other configurations that come along with the service.
Following is a request to get ETAs for multiple available agents to reach the next set of tasks to service
- A 3 X 3 set of “origins” and “destinations”
- “mode” option set to “car”
- “route_type” option set to “fastest”
Request
Response
Visit product documentation of Distance Matrix API to know more about the available features.