GET
/
DistancesAndDirections
/
Interactive
/
Distance
/
v1.00
/
json6.ws
cURL
curl --request GET \
  --url https://api.addressy.com/DistancesAndDirections/Interactive/Distance/v1.00/json6.ws
{
"Items": [
{
"SegmentNumber": "0",
"TotalTime": "1080",
"TotalDistance": "16298"
}
]
}
This method will consume credit.

Query Parameters

Key
string
required

The key to use to authenticate to the service.

Start
string
required

The coordinates (latitude, longitude or easting, northing) of the start of the route. A postcode is also valid.

Finish
string
required

The coordinates (latitude, longitude or easting, northing) of the finish of the route. A postcode is also valid.

WayPoints
string[]

The coordinates (latitude, longitude or easting, northing) of any waypoints. Postcodes are also valid.

DistanceType
string

Specifies how the distances between the stores are calculated.

Response

200
application/json

Success

The response is of type object.