Distance
FREEMIUM
By 010pixel
Updated a year ago

Distance API Documentation

Calculate distance between two points using Latitude and Longitude

Learn more about this API
GETParameters
GETParameters

Get Parameters

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
lat1NUMBER
REQUIREDLatitude of Point 1
long1NUMBER
REQUIREDLongitude of Point 1
lat2NUMBER
REQUIREDLatitude of Point 2
long2NUMBER
REQUIREDLongitude of Point 2
Optional Parameters
unitSTRING
OPTIONALDistance Unit, Default: K (K: Kilometar, M: Miles, N: Nautical Miles)
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication