MapboxDuration

FREE
By volodimir.kudriachenko
Updated 10 months ago
Mapping
8.4/10
Popularity Score
234ms
Latency
100%
Success Rate

MapboxDuration API Documentation

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

View API Details
POSTgetCyclingDuration
POSTgetDrivingDuration
POSTgetDrivingTrafficDuration
POSTgetWalkingDuration
POSTgetWalkingDuration

Сalculate the duration of travel by walking

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