curl --request GET \
--url 'https://api.addressy.com/DistancesAndDirections/Interactive/Distance/v1.00/json6.ws?Key='{
"Items": [
{
"SegmentNumber": "0",
"TotalTime": "1080",
"TotalDistance": "16298"
}
]
}Calculate total distance and travel time between coordinates or postcodes. Supports multiple waypoints and returns measurements in metres and seconds.
curl --request GET \
--url 'https://api.addressy.com/DistancesAndDirections/Interactive/Distance/v1.00/json6.ws?Key='{
"Items": [
{
"SegmentNumber": "0",
"TotalTime": "1080",
"TotalDistance": "16298"
}
]
}This method will consume credit.Documentation Index
Fetch the complete documentation index at: https://docs.loqate.com/llms.txt
Use this file to discover all available pages before exploring further.
The key to use to authenticate to the service.
The coordinates (latitude, longitude or easting, northing) of the start of the route. A postcode is also valid.
The coordinates (latitude, longitude or easting, northing) of the finish of the route. A postcode is also valid.
The coordinates (latitude, longitude or easting, northing) of any waypoints. Postcodes are also valid.
Specifies how the distances between the stores are calculated.
Success
Show child attributes
Was this page helpful?