TrueWay Matrix
FREE
By trueway
Updated 3 days ago

TrueWay Matrix API Documentation

Calculate distances and durations between a set of origins and destinations.

Learn more about this API
GETCalculateDrivingDistanceMatrix
GETCalculateDrivingDistanceMatrix

Calculate distances and durations between a set of origins and destinations.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
originsSTRING
REQUIREDList of origins described as semicolon-delimited coordinate pairs with latitudes and longitudes. Max: 25
Optional Parameters
start_timeSTRING
OPTIONALTime when travel is expected to start. You can specify the time as an integer in seconds since midnight, January 1, 1970 UTC or you can use "now" to specify the current time.
destinationsSTRING
OPTIONALList of destinations described as semicolon-delimited coordinate pairs with latitudes and longitudes. If not specified, an n x n matrix will be generated using the origins. Max: 25
avoid_highwaysBOOLEAN
OPTIONALavoid highways
avoid_tollsBOOLEAN
OPTIONALavoid toll roads
avoid_ferriesBOOLEAN
OPTIONALavoid ferries
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication