GET
/
DistancesAndDirections
/
Interactive
/
Directions
/
v2.00
/
json6.ws
cURL
curl --request GET \
  --url https://api.addressy.com/DistancesAndDirections/Interactive/Directions/v2.00/json6.ws
{
"Items": [
{
"SegmentNumber": "0",
"StepNumber": "0",
"Action": "D",
"Description": "Depart EAST from start on [Moseley Road]",
"Road": "[Moseley Road]",
"StepTime": "14",
"StepDistance": "149",
"TotalTime": "14",
"TotalDistance": "149"
}
]
}
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.

StartDay
string

The day of the week the route is to start on. Provide this parameter only if you wish to utilise superior 'Speed Profiles' historic traffic speed data over time for avoiding rush hours and such.

StartTime
string

The time of day the route is to start on, measured in whole minutes from midnight. (E.g. 8:30am is entered as 510.) Provide this parameter only if you wish to utilise superior 'Speed Profiles' historic traffic speed data over time for avoiding rush hours and such.

Response

200
application/json

Success

The response is of type object.