Generated UTDK provider client for OpenRouteService API. Open-source routing, geocoding, isochrone, distance-matrix, and VRP optimization API built on OpenStreetMap. Pelias powers geocoding; Vroom powers optimization.
This spec covers the endpoints commonly used for back-end agent workflows (geocoding, matrices for VRP solvers, route ETAs, isochrones, full VRP solve). The full ORS surface (POIs, snap-to-road, elevation, optimization advanced constraints) can be added incrementally — see notes in the catalog entry.
The hosted free API (https://api.openrouteservice.org) exposes routing,
matrix, isochrones, optimization, and geocoding. Self-hosted ORS Docker
covers the ORS backend endpoints (routing, matrix, isochrones, optimization);
geocoding is hosted-public-API only.
Auth: pass the API key in the Authorization header. Sign up free at
https://openrouteservice.org/dev/#/signup.
Rate limits (free plan, hosted): 2,000 directions/day, 500 matrix/day, 500 optimization/day, 500 isochrones/day, 1,000 geocode/day, 40/min on most endpoints. Self-hosted backend endpoints: no hosted request caps.
Import sample
import openrouteservice from "@utdk/openrouteservice" Factory sample
import { createOpenrouteserviceClient } from "@utdk/openrouteservice" openrouteservice
Generated UTDK provider types and OpenAPI-backed client for https://raw.githubusercontent.com/mvanhorn/cli-printing-press/main/catalog/specs/openrouteservice-spec.yaml.
| Method | Operation ID | Path | Summary | |
|---|---|---|---|---|
| POST | getDirections | /v2/directions/{profile} | Compute a route between coordinates | Try |
| POST | getMatrix | /v2/matrix/{profile} | Many-to-many duration / distance matrix | Try |
| POST | getIsochrones | /v2/isochrones/{profile} | Reachable-area polygons by time or distance | Try |
| POST | solveOptimization | /optimization | Solve a Vehicle Routing Problem (Vroom) | Try |
| GET | geocodeSearch | /geocode/search | Forward geocode an address or place name | Try |
| GET | geocodeReverse | /geocode/reverse | Reverse-geocode a coordinate into an address | Try |