OptimizedRouteRequest
Find the optimal visiting order over a set of waypoints and return a route that visits them in that order. The first and last locations stay fixed; the stops in between are reordered.
Properties
| Name | Type | Description |
|---|---|---|
| costing | object | |
| locations | array | Two or more waypoints. The first is the start and the last is the end; the intermediate stops are reordered for the shortest total trip. Capped at 20 locations. |
| units | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/rijwind-com/json-schema/rijwind-com-optimized-route-request-schema.json",
"title": "OptimizedRouteRequest",
"description": "Find the optimal visiting order over a set of waypoints and return a route that visits them in that order. The first and last locations stay fixed; the stops in between are reordered.",
"x-generated": "2026-11-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/rijwind-com-openapi.json#/components/schemas/OptimizedRouteRequest",
"properties": {
"costing": {
"$ref": "#/$defs/Costing"
},
"locations": {
"description": "Two or more waypoints. The first is the start and the last is the\nend; the intermediate stops are reordered for the shortest total\ntrip. Capped at 20 locations.",
"items": {
"$ref": "#/$defs/LngLat"
},
"maxItems": 20,
"minItems": 2,
"type": "array"
},
"units": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/$defs/Units"
}
]
}
},
"required": [
"locations",
"costing"
],
"type": "object",
"$defs": {
"Costing": {
"description": "Routing profile. `auto` (car), `bicycle`, or `pedestrian` (foot).",
"enum": [
"auto",
"bicycle",
"pedestrian"
],
"type": "string"
},
"LngLat": {
"description": "A `(lat, lon)` pair. Latitude is in [-90, 90], longitude in [-180, 180].",
"properties": {
"lat": {
"format": "double",
"type": "number"
},
"lon": {
"format": "double",
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"Units": {
"enum": [
"kilometers",
"miles"
],
"type": "string"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/rijwind-com-optimized-route-request"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.