How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OpenRouteService Directions API

Get routing directions for different modes of transport

OpenRouteService Directions API is one of 16 APIs that OpenRouteService publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Directions. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 4 operations across 3 paths, and defines 14 schemas. It is described by OpenAPI 3.0.3, at version v2.

Requests are made against a single base URL, https://api.openrouteservice.org.

4 operations 3 paths 14 schemas 1 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
v2
Base URL
https://api.openrouteservice.org
Authentication
API Key
Resource Areas
1

Authentication & Security 1

OpenRouteService Directions API declares 1 security scheme for authenticating requests. An API key is passed in the header as Authorization (ApiKeyAuth). By default, every request must be authenticated.

  • ApiKeyAuth — API key obtained from https://openrouteservice.org

Paths & Operations 4

Across 3 paths, the API surfaces 4 operations — 1 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Directions 4

Get routing directions for different modes of transport

GET
/v2/directions/{profile}
Get basic route (GET)
getDirectionsGet 3 params → 200400401403404500
POST
/v2/directions/{profile}
Get directions (POST JSON)
getDirectionsPost 1 param body → 200400401403404500
POST
/v2/directions/{profile}/geojson
Get directions as GeoJSON (POST)
getDirectionsGeoJson 1 param body → 200400401403404500
POST
/v2/directions/{profile}/gpx
Get directions as GPX (POST)
getDirectionsGpx 1 param body → 200400401403404500

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are DirectionsRequest (20 properties), JSONStep (9 properties), JSONSegment (8 properties), RouteResponseInfo (7 properties). Each schema is shown below with its type and property counts.

JSONStepManeuver
object
3 properties
DirectionsRequest
object
20 properties 1 required
ErrorResponse
object
2 properties
JSONSegment
object
8 properties
EngineInfo
object
2 properties
JSONIndividualRouteResponse
object
7 properties
JSONWarning
object
2 properties
JSONStep
object
9 properties
GeoJSONRouteResponse
object
4 properties
JSONExtra
object
2 properties
JSONExtraSummary
object
3 properties
JSONRouteResponse
object
3 properties
RouteResponseInfo
object
7 properties
JSONSummary
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

openrouteservice-directions-api-openapi.yml Raw ↑

Other APIs OpenRouteService publishes across the network.

OpenRouteService Isochrones API
OpenRouteService Matrix API
OpenRouteService Geocoding API
OpenRouteService Elevation API
OpenRouteService Optimization API
OpenRouteService POI API
OpenRouteService Snapping API
OpenRouteService Elevation API
OpenRouteService Geocoding API
OpenRouteService Health API
OpenRouteService Isochrones API
OpenRouteService Matrix API
Where this information came from

This is an independent, third-party profile of OpenRouteService Directions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.