Round trip request


How would I got about calculating a round trip as is done on the maps example page ? I can’t seem to figure out what parameters to use when making a request to the API.


There is some information in our interactive docs. The options for round trip are under the options -> round_trip part of the API call. One main thing to be aware is that when doing the round trip via the API, you need to only pass one coordinate pair rather than the usual minimum of 2.{profile}/post

Oh wow now I see it. Thank you!