Geo Distance

Gives the distance between two coordinates.

Algorithmia Platform License

Try the API

5.88637243160366

Install & Use

Use

curl -X POST -d '{
    "lat1": 47.601518,
    "lon1": -122.334297,
    "lat2": 47.679217,
    "lon2": -122.386031,
    "type": "miles"
}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/Geo/GeoDistance/0.1.1
  
Curl Docs →