Get the distance between two locations

This will take in two addresses and return the distance between them

SecurityAuthToken
Request
Request Body schema: application/json
required
object (Address)
object (Address)
Responses
200

The distance between addresses

Response Schema: application/json
distance_meters
integer
duration_seconds
integer
default

Default error response

post/locations/distance/
Request samples
application/json
{
  • "destination": {
    },
  • "origin": {
    }
}
Response samples
application/json
{
  • "distance_meters": 0,
  • "duration_seconds": 0
}
Copyright © Shipwell 2024. All right reserved.