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

Stadia Maps Routes API

The Routes API from Stadia Maps — 1 operation(s) for routes.

Stadia Maps Routes API is one of 11 APIs that Stadia Maps publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 1 JSON Schema definition.

Tagged areas include Routes. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, and 1 JSON Schema.

This API exposes 1 operation across 1 path, and defines 56 schemas. It is described by OpenAPI 3.2.0, at version 7.1.0.

Requests are made against 2 base URLs: https://api.stadiamaps.com, https://api-eu.stadiamaps.com.

1 operations 1 paths 56 schemas 1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
7.1.0
Base URL
https://api.stadiamaps.com
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Stadia Maps Routes API declares 1 security scheme for authenticating requests. An API key is passed in the query as api_key (ApiKeyAuth).

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 POST. Each is listed below with its method, path, parameters, and response codes.

Routes 1
POST
/optimized_route/v1
Calculate an optimized route between a known start and end point.
optimized-route body → 200400500

Schemas 56

The contract defines 56 schemas that model the data the API accepts and returns. The most detailed are routeManeuver (26 properties), osrmRouteStep (19 properties), pedestrianCostingOptions (16 properties), osrmIntersection (13 properties). Each schema is shown below with its type and property counts.

autoCostingOptions
simpleRoutingWaypoint
directionsOptions
object
3 properties
osrmAdmin
object
2 properties
useFerryCostingOption
number
A measure of willingness to take ferries. Values near 0 attempt to avoid ferries, and values near 1 will favour them. Note that as some routes may be impossibl…
routeManeuver
object
26 properties 9 required
routeSummary
object
6 properties 6 required
maneuverSignElement
object
3 properties 1 required
valhallaLanguages
string
osrmViaWaypoint
object
3 properties 3 required
requestId
string
An identifier to disambiguate requests (echoed by the server).
useTracksCostingOption
number
A measure of willingness to take track roads. Values near 0 attempt to avoid them, and values near 1 will favour them. Note that as some routes may be impossib…
osrmRouteStep
object
A maneuver such as a turn or merge, followed by travel along a single road or path.
19 properties 5 required
distanceUnit
string
osrmBannerInstruction
object
3 properties 2 required
osrmBannerComponent
object
2 properties
osrmCoordinate
array
A (longitude, latitude) coordinate pair.
osrmRouteResponse
coordinate
object
2 properties 2 required
routingResponseWaypoint
osrmIntersection
object
Detailed information about intersections that the route traverses. For every step, the first intersection is at the location of the maneuver. Additional inters…
13 properties 3 required
annotationFilters
object
2 properties
truckCostingOptions
routeResponse
object
3 properties 1 required
bicycleCostingOptions
osrmAnnotation
object
5 properties
osrmStepManeuver
object
7 properties 4 required
motorScooterCostingOptions
osrmWaypoint
object
4 properties 2 required
routeTrip
object
7 properties 7 required
osrmBaseApiResponse
object
3 properties 1 required
extendedDirectionsOptions
object
4 properties
motorcycleCostingOptions
costingOptions
object
9 properties
travelMode
string
transitInfo
object
Public transit info (not currently supported).
osrmGuidanceModifier
stringnull
An optional value indicating the directional change of the maneuver (further clarifying type).
osrmLane
object
2 properties 2 required
elevation_interval
number
If greater than zero, attempts to include elevation along the route at regular intervals. The "native" internal resolution is 30m, so we recommend you use this…
matrixCostingModel
string
useLivingStreetsCostingOption
number
A measure of willingness to take living streets. Values near 0 attempt to avoid them, and values near 1 will favour them. Note that as some routes may be impos…
pedestrianCostingOptions
object
16 properties
osrmBannerContent
object
4 properties 1 required
osrmRoute
object
6 properties 4 required
useHillsCostingOption
number
A measure of willingness to take tackle hills. Values near 0 attempt to avoid hills and steeper grades even if it means a longer route, and values near 1 indic…
lowSpeedVehicleCostingOptions
osrmRouteLeg
object
8 properties 3 required
osrmVoiceInstruction
object
3 properties 2 required
maneuverSign
object
4 properties
baseCostingOptions
object
12 properties
valhallaLongUnits
string
routeLeg
object
5 properties 3 required
servicePenaltyCostingOption
integer
A penalty applied to transitions to service roads. This penalty can be used to reduce the likelihood of suggesting a route with service roads unless absolutely…
serviceFactorCostingOption
number
A factor that multiplies the cost when service roads are encountered. The default is 1.2 for cars and busses, and 1 for trucks, motor scooters, and motorcycles.
osrmSpeedLimit
object
The speed limit between the pair of coordinates.
4 properties
optimizedRouteRequest
2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

stadia-maps-routes-api-openapi.yml Raw ↑

Other APIs Stadia Maps publishes across the network.

Stadia Maps Attributes API
Stadia Maps Autocomplete API
Stadia Maps Geospatial API
Stadia Maps Lookups API
Stadia Maps Match API
Stadia Maps Place API
Stadia Maps Reverse API
Stadia Maps Roads API
Stadia Maps Routing API
Stadia Maps Search API
Where this information came from

This is an independent, third-party profile of Stadia Maps Routes 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.