Get real-time ETAs
Product Used: Distance Matrix Flexible API
NextBillion.ai’s Distance Matrix API considers the real-time as well as historical traffic patterns to determine accurate ETAs and 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 live ETAs for a fleet of pickup trucks to travel between a given set of locations
- A 5 X 5 set of “origins” and “destinations”
- “mode” option set to “car” to emulate driving conditions for a pickup trucks
- “route_type” option set to “fastest”
Request
Response
Visit product documentation of Distance Matrix API to know more about the available features.