TrueWay Directions
FREE
By trueway
Updated 2 months ago

TrueWay Directions API Documentation

Find the best route between two or more locations

Learn more about this API
GETFindDrivingRoute
GETFindDrivingPath
GETFindDrivingRoute

Find the best route and get multiple stops driving directions

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
stopsSTRING
REQUIREDSpecify two or more semicolon-delimited locations(Lat/Lng) between which the route is to be found. Max: 25
Optional Parameters
optimizeBOOLEAN
OPTIONALInstructs the API to reorder stops to find the optimized route. The route first stop and last stop order is not changed, their position is considered fixed.
avoid_ferriesBOOLEAN
OPTIONALthe route should avoid ferries
avoid_highwaysBOOLEAN
OPTIONALthe route should avoid highways
avoid_tollsBOOLEAN
OPTIONALthe route should avoid toll roads
geometry_formatSTRING
OPTIONALgeometry format: latlng, lnglat or geojson
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication