TransitDeparturesResponse
The onward network from where the rider is standing. When nothing can
be boarded here — no stop nearby, or every line ends here — routes is
empty, no_routes is true, and note says which.
data_quality object
How far a transit answer can be trusted. Always present. Clients must
not present notional timing as a departure time or as live data.
Possible values: [historical, unverified, community_reported, field_verified, operator_verified]
Possible values: [none, notional, frequency_estimate, operator_timetable]
World Bank Accra GTFS (CC BY 4.0)Collection date of the underlying data (YYYY-MM).
2015-06routes object[]
263ADarkuman to Haasto"BUS" or another OTP2 transit mode.
Final stop, e.g. "Terminal Haasto".
Straight-line distance from the query point to the destination.
Where to board.
How far to walk to board.
3Stop names considered, so a client can say "at Achimota Old Station" rather than repeating coordinates back at the user.
True when nothing can be boarded here — either no stop within reach, or every line that serves the stop terminates there rather than carrying on. State it rather than leaving the client to infer it from an empty list.
Explains an empty result — "no stop nearby" vs "end of the line".
{
"data_quality": {
"verification": "historical",
"timing_basis": "none",
"source": "World Bank Accra GTFS (CC BY 4.0)",
"as_of": "2015-06",
"note": "string"
},
"routes": [
{
"short_name": "263A",
"long_name": "Darkuman to Haasto",
"mode": "string",
"destination": "string",
"dest_lat": 0,
"dest_lng": 0,
"dest_distance_m": 0,
"stop_name": "string",
"stop_lat": 0,
"stop_lng": 0,
"stop_distance_m": 0
}
],
"count": 3,
"stops": [
"string"
],
"no_routes": true,
"note": "string"
}