Optimal single way trip with API

Just starting with the API and really loving it!

A question, is it possible to calculate an optimal single way route, so without a fixed finish location?

With kind regards,
Edwin

There no single way as such, where the API determines the final arrival. It currently always ends at the last location.

A workaround could be to determine the location with the largest distance from the departure and make that the last location in the input array. It will then be used in the route as the final arrival.