Get the geometry of a route (beta)

Get the geometry of a route snapshot, in GeoJSON format.
This endpoint uses the route id retrieved from /v3/routes.

Notes and considerations

  • id lifetime: the route id remains valid for a limited period (at least 1 hour), following the same policy as any v3/route sub-resources.
  • The response follows the GeoJSON standard, allowing easy visualization in tools like geojson.io or mapping libraries.
  • The geometry reflects the path computed at the time the snapshot was created. It does not update dynamically if routes change later.

Support endpoints and resources

  • Get routes: use the /v3/routes endpoint to retrieve route snapshots (id) and their details.
Language
Credentials
Header
Click Try It! to start a request and see the response here!