§ playground

Run an Optimize request and see the plan.

Paste an OptimizeToursRequest, or start from one of the three worked examples. Run sends it to POST /optimize with your key and draws every route that comes back.

Optimize docs

POST /optimize

Start from an example

Held in this page's memory only: never saved, never put in a URL. It is sent in the X-API-Key header. Get a key

Run sets populatePolylines to true, so every used route comes back with a line to draw.

Map of the planned routes

Run a request to see its cost, routes and skipped shipments here.