An airport pair is a useful answer to “where can I fly?” It’s a poor answer to “what can I take from this city?” The city may use more than one airport. The easiest way to reach the right airport may start on a railway line and end on a bus.
Air schedule databases such as AirLabs’ routes API describe airline services. A ground journey planner such as Transitous describes public transport without flights. Cross-mode booking platforms address another job: searching fares, inventory and tickets. If all you need is schedule data, taking on a booking integration doesn’t help you answer the underlying network question.
Start with the city, inspect the places
Trip Topology keeps cities, places and stops separate. In the Cologne to Tokyo example, the train leaves Köln Hbf and reaches the long-distance station at Frankfurt Airport. The flight leaves from the same airport, but not from the railway station. The journey records both stops at the interchange, so the client can show where each ride actually begins or ends.
Try the direct flights and trains guide to see which places you can reach without changing vehicles, or the multimodal journey guide for trips with transfers. The API reference explains each query:
GET /v1/citieshelps you find the city ID.GET /v1/placeshelps you find a particular station or airport.GET /v1/connectionsgives recurring direct services for a pair of endpoints. A train that calls at other stations before yours is still direct if you stay on board.GET /v1/journeystakes a date and can return a train, bus and flight as separate legs with their own local times and running days.
Those legs tell you how the services can fit together in the published network. They don’t imply a through ticket, a protected connection or availability on any of the vehicles.