Skip to content

Openrouteservice route directions

Route between 2 to 25 waypoints on OpenStreetMap data by car, truck, bike, foot or wheelchair: total distance and duration, per-leg segments, optional. Needs coordinates.

Inputs

1 required
Coordinates
Waypoints in order, each [longitude, latitude], e.g. [[2.3522, 48.8566], [2.2945, 48.8584]]Required · coordinates
Profile
Travel mode, e.g. 'cycling-regular'Optional · profile
Preference
Route preference, e.g. 'fastest' (recommended, fastest or shortest)Optional · preference
Units
Distance units, e.g. 'mi' (km, m or mi)Optional · units
Instructions
Include turn-by-turn steps, e.g. trueOptional · instructions
Language
Instruction language, e.g. 'fr'Optional · language
Geometry
Include the route as an encoded polyline, e.g. trueOptional · geometry

Pricing

Price
Free, no charge per call
Billing
No charge per call. A workspace is still needed so your agent can call it.
License
openrouteservice results CC BY-SA 4.0; OpenStreetMap data ODbL
Attribution
© openrouteservice.org by HeiGIT | Map data © OpenStreetMap contributors

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

Knowledge & research

Connect your agent to 3,250+ tools for free

Sign in with Google or GitHub. No card required.