OptimizedRouteResponse
Total route distance in metres.
18450Estimated travel time in seconds (no traffic adjustment).
1380Traffic-adjusted ETA in seconds.
1620Human-readable traffic condition label, e.g. morning rush.
morning rushstops object[]
Stops in optimized visit order. Each entry's original_index maps back
to the corresponding entry in the request stops array.
Index of this stop in the input stops array. Use this to map the
optimized ordering back to your own stop data.
2Full route geometry as [lng, lat] pairs.
Possible values: >= 2, <= 2
steps object[]
Turn-by-turn steps (only present when narration is set in the request).
Standard turn instruction.
Turn right onto Ring Road Central.Pre-built voice prompt suitable for TTS, delivered before the maneuver.
In 300 metres, turn right onto Ring Road Central.Landmark-enriched instruction (present when narration=landmark or both).
Turn right at Accra Mall onto Ring Road Central.Street or road name for this step.
Ring Road CentralName of the nearest landmark to the maneuver point (within 150m).
Accra MallDistance of this step in metres.
320.5Estimated duration of this step in seconds.
45.2{
"distance_m": 18450,
"duration_s": 1380,
"eta_s": 1620,
"traffic_note": "morning rush",
"has_toll": true,
"has_ferry": true,
"has_highway": true,
"stops": [
{
"original_index": 2
}
],
"coordinates": [
0
],
"steps": [
{
"instruction": "Turn right onto Ring Road Central.",
"verbal_instruction": "In 300 metres, turn right onto Ring Road Central.",
"instruction_landmark": "Turn right at Accra Mall onto Ring Road Central.",
"name": "Ring Road Central",
"near_landmark": "Accra Mall",
"distance_m": 320.5,
"duration_s": 45.2
}
]
}