Get direct routes(without stops) between airports

Hello!
I am finding way to get all only direct routes(without stops) between all exist airports, and store it to my DB.



{
    ...,
    departure_airport: airport1,
    arrival_airport: airport2,
    ...
},
{
    ...,
    departure_airport: airport1,
    arrival_airport: airport3,
    ...
},
{
    ...,
    departure_airport: airport1,
    arrival_airport: airport4,
    ...
}


  1. How i can get these data?
  2. Can i get it per one request?
  3. Or i need to a function, which receive departure airport(code, name) and return all arrival airports without stop.

That represents a very large amount of data and will ultimately require an extremely large number of FlightXML requests in order to collect it all. Since you are interested in (presumably) just commercially scheduled flights, you probably want to use the AirlineFlightSchedules function: flightxml.flightaware.com/soap/ … tSchedules

However, as I mentioned, it will likely require a very large amount of iterations on thousands of airports if you are actually interested in all flights world-wide. I would probably recommend requesting a consultation for a custom report that just provides you with a generated list of the information you want:
flightaware.com/commercial/customreports/