AirlineFlightSchedules does not find one-stop flights


#1

Hi,

I am trying to get a schedule for TK6317 flight. This is one-stop flight HEL-OSL-IST. When I search directly on web page, you find it just fine. But through AirlineFlightSchedules API nothing is shown with either:

http://flightxml.flightaware.com/json/FlightXML3/AirlineFlightSchedules?start_date=1503878400&end_date=1505606400&origin=OSL&destination=IST&airline=TK&flightno=6317
http://flightxml.flightaware.com/json/FlightXML3/AirlineFlightSchedules?start_date=1503878400&end_date=1505606400&origin=HEL&destination=IST&airline=TK&flightno=6317
http://flightxml.flightaware.com/json/FlightXML3/AirlineFlightSchedules?start_date=1503878400&end_date=1505606400&origin=HEL&destination=OSL&airline=TK&flightno=6317

Why is that? How to get schedule for a single leg or whole flight?
Something similar is with TK6564 flight IST-RUH-HAN.

thanks


#2

Airlines fundamentally are operating legs as individual flights, even if they reuse the same flight number for a continuing flight to another destination. AirlineFlightSchedules does not attempt to match possible flight itineraries together to find possible one-stop flights, since it is only intended to find individual flights.

FlightXML3 beta has a new “FindFlight” function that allows you to perform a search of origin-to-destination flights that are not necessarily enroute yet, including non-stop and one-stop flights, although the timespan is generally only going to be within the next 24-48 hours at most.


#3

Hi,

But I would still consider this a bug. Even if I search schedules for individual legs, only first leg is found.
From example above: AirlineFlightSchedules finds TK6317 if I specify origin=IST and destination=HEL. But not other legs. Even without origin and destination, only IST-HEL leg is shown:

http://flightxml.flightaware.com/json/FlightXML3/AirlineFlightSchedules?start_date=1506549600&end_date=1507672799&airline=THY&flightno=6317

Do you plan on improving this search or should I accept is as it is?


#4

Our schedule data only contains flights that are provided to us by the airlines in advance and are not always comprehensive of all flights that actually get operated by the airlines. In this case, only the IST-HEL segment is published to us for TK6317 even though it seemingly also operates HEL-OSL and OSL-IST segments on the same days.