Route from the CLI

Use routing commands for routes, matrices, reachable areas, map matching, and custom requests.

Documentation navigation

Route operations

CommandExample
route rune2 route run --locations "40.74,-73.99;40.71,-74.01" --mode walking
route matrixe2 route matrix --sources "40.74,-73.99" --targets "40.71,-74.01"
route isochronee2 route isochrone --locations "40.74,-73.99" --contours 5,10,15
route map-matche2 route map-match --shape "40.74,-73.99;40.71,-74.01"
route to-featuree2 route to-feature restaurant --from "40.74,-73.99" --area Manhattan
route requeste2 route request /locate --body <json>

Bodies and locations

terminal
e2 route run --locations "40.74,-73.99;40.71,-74.01"
  --mode driving --body '{"date_time":{"type":1,"value":"2026-08-18T09:00"}}'

Locations use lat,lng;lat,lng. Matrix uses separate --sources and --targets. Isochrone contours are comma-separated minutes.