Codeshare how to obtain


Good afternoon.

I am using the flightXml api, using the queries Enroute, Scheduled, Arrived and Departed. My question is how can i obtain the codeshare from flights?

Can i obtain codeshare per Airport, from flights that will departed or scheduled?

Thanks for all.


Once you know the faFlightID of the flight you are interested in, you can call “AirlineFlightInfo” and one of the fields is the list of codeshares.