Skip to main content
GET
Solve the traveling salesman problem for the given coordinates

Authorizations

Authorization
string
header
required

API key created in the JustRouting dashboard.

Path Parameters

profile
enum<string>
required
Available options:
driving,
motorcycle
coordinates
string
required

Query Parameters

roundtrip
boolean
default:true
source
enum<string>
default:any
Available options:
any,
first
destination
enum<string>
default:any
Available options:
any,
last
steps
boolean
default:false

Return turn-by-turn steps.

geometries
enum<string>
default:polyline

Geometry encoding of the response.

Available options:
polyline,
polyline6,
geojson
overview
enum<string>
default:simplified

How much route geometry to return.

Available options:
full,
simplified,
false

Response

Trip found

code
enum<string>
Available options:
Ok
waypoints
object[]
trips
object[]