MapboxDuration

FREE
By volodimir.kudriachenko
Updated 6 months ago
Mapping
6.3/10
Popularity Score
236ms
Latency
100%
Success Rate

MapboxDuration API Documentation

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

View API Details
POSTgetCyclingDuration
POSTgetDrivingDuration
POSTgetDrivingTrafficDuration
POSTgetWalkingDuration
POSTgetCyclingDuration

Сalculate the duration of travel by cycling

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
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication