Distance
Get the distance between two points on the earth.
GET
/
v1
/
geo
/
distance
Query
lat1
string
requiredThe latitude of the first point.
lat2
string
requiredThe latitude of the second point.
lng1
string
requiredThe longitude of the first point.
lng2
string
requiredThe longitude of the second point.
unit
string
default: "K"The unit of measurement to use. Possible values are:
- K - Kilometers
- N - Nautical Miles
Header
x-api-key
string
requiredYour JigsawStack API key
Response
success
boolean
Indicates whether the call was successful.
Was this page helpful?