What is the maximum number of coordinates allowed for directions?

Hello ORS team,

I’m implementing a reverse route feature in my app in which I’d need to send a number of coordinates to the directions api call. I wanted to know what is the maximum number of coordinates allowed for the API call so that I can restrict that on the app side.

Thanks,

Hi @abhiank
The maximum number of coordinates that can be sent per request is 50

1 Like

Cool. Thanks for the info @adam!

Sometimes it’s not enough. :wink:
But most of the time it’s more than enough.