Get a navigation route
Endpoints
Directions API
Navigation routes between points, with distance and time estimates.
GET
Get a navigation route
For easy integration with web and Android projects, this service is also available through
our JavaScript and Java libraries.
encodedPolyline field contains geographic data which is decoded into web-friendly
GeoJSON format using our JavaScript library.Authorizations
Your Baato access token. See Authentication.
Query Parameters
Start and end destinations in lat,lon form. Repeat the parameter for each
point; at least two are required. Intermediate points are supported.
Minimum array length:
2Mode of travel.
Available options:
car, bike, foot Return alternative routes in addition to the best one.
Include a turn-by-turn instruction list with each route.