OpenRouteService · Example Payload

Optimization Request

RoutingGeospatialDirectionsIsochronesMatrixGeocodingElevationOptimizationOpenStreetMapNavigationLogisticsHumanitarian

Optimization Request is an example object payload from OpenRouteService, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

vehiclesjobsoptions

Example Payload

Raw ↑
{
  "vehicles": [
    {
      "id": 1,
      "profile": "driving-car",
      "start": [8.681495, 49.41461],
      "end": [8.681495, 49.41461],
      "capacity": [4],
      "time_window": [28800, 72000]
    }
  ],
  "jobs": [
    {
      "id": 1,
      "description": "Delivery to customer A",
      "location": [8.686507, 49.41943],
      "service": 300,
      "amount": [1],
      "time_windows": [[32400, 54000]]
    },
    {
      "id": 2,
      "description": "Delivery to customer B",
      "location": [8.687872, 49.420318],
      "service": 300,
      "amount": [1],
      "time_windows": [[36000, 57600]]
    },
    {
      "id": 3,
      "description": "Delivery to customer C",
      "location": [8.680916, 49.415776],
      "service": 300,
      "amount": [2],
      "time_windows": [[39600, 61200]]
    }
  ],
  "options": {
    "g": true
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/optimization-request"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.