MapboxDuration
FREE
By volodimir.kudriachenko
Updated a year ago

MapboxDuration API Documentation

Get travel time between points (via walking, cycling, car).

Learn more about this API
POSTgetCyclingDuration
POSTgetDrivingDuration
POSTgetDrivingTrafficDuration
POSTgetWalkingDuration
POSTgetDrivingDuration

Сalculate the duration of travel by car

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
coordinatesLIST
REQUIREDMinimum 2 pairs of coordinates. Maximum 100 pairs.
accessTokenCREDENTIALS
REQUIREDThe api key obtained from Mapbox
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication