Localhost endpoint

Hi all,

Is it possible to add extra parameters to the GET directions endpoint in order to only get the summary properties (time, distance) back as a response? And if so what is the right way doing this?

For example:

Or alternatively a way avoiding that all the steps are returned?

There are cases that I’m only interested in time or distance and this would speed up my processing time.

Thank you for your ideas and help


the GET endpoint currently only has options to specify start and end point. Is there a specific reason that you’d have to use it?

You can achieve what you want rather easily using the POST-endpoint with a body similar to this:


Have a look at our api docs for more examples.

Best regards

1 Like

Thank you very much!

The POST-endpoint with this body settings was exactly what I was looking for!

1 Like