Openrouteservice distance and time matrix
Travel durations (seconds) and distances between many origins and destinations at once on OpenStreetMap data: rows are sources, columns destinations. Needs locations.
Inputs
- Locations
- Points, each [longitude, latitude], e.g. [[2.3522, 48.8566], [4.8357, 45.764], [5.3698, 43.2965]]Required · locations
- Profile
- Travel mode, e.g. 'driving-hgv'Optional · profile
- Sources
- Indexes of locations used as origins, e.g. [0]Optional · sources
- Destinations
- Indexes of locations used as destinations, e.g. [1, 2]Optional · destinations
- Metrics
- Figures to compute, e.g. ['duration']Optional · metrics
- Units
- Distance units, e.g. 'mi' (km, m or mi)Optional · units
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
- Apple maps placesLitescrape$0.00015
- DuckDuckGo mapsLitescrape$0.00015
- GeoNames country factsGeoNamesFree
- GeoNames postal code searchGeoNamesFree
- GeoNames time zone at coordinatesGeoNamesFree
- Openrouteservice isochrones reachable areaopenrouteserviceFree
- Openrouteservice route directionsopenrouteserviceFree
- USGS elevation at a pointUSGSFree
- Compare all 277
Connect your agent to 3,250+ tools for free
Sign in with Google or GitHub. No card required.