OpenRouteService · Example Payload

Directions Driving Car Request

RoutingGeospatialDirectionsIsochronesMatrixGeocodingElevationOptimizationOpenStreetMapNavigationLogisticsHumanitarian

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

Top-level fields

coordinatespreferenceunitslanguagegeometryinstructionsinstructions_formatelevationattributesextra_info

Example Payload

Raw ↑
{
  "coordinates": [
    [8.681495, 49.41461],
    [8.686507, 49.41943],
    [8.687872, 49.420318]
  ],
  "preference": "recommended",
  "units": "km",
  "language": "en",
  "geometry": true,
  "instructions": true,
  "instructions_format": "text",
  "elevation": false,
  "attributes": ["avgspeed"],
  "extra_info": ["surface", "waytype"]
}