Find point for a certain distance on a route

Is there a way to determine the point on a route at which a certain distance (eg. 200 km) was covered?

I’ve only found the details.distance option in the /route request, which doesn’t cover my problem, since it only gives back the distances at the junction points, which probably doesn’t coincide with the sought distance.

You could loop through the points and add up the distances until you reach the desired distance. Or maybe I did not understand the question.

Yes, I’ve also thought of this way, but was hoping for some out-of-the-box solution.

Do you want to do this in JavaScript or what did you think of?

I’ll be using PHP, it’s for an app api.