FlightXML API FlightInfoEx method


#1

Hi.

I’m trying to integrate FlightXML API, but I am having some issues, as I can’t realize from the FlightXML2 Explorer which methods provide the flight details based on airline with flight number and the departure date.
flightaware.com/commercial/fligh … ightInfoEx - this doesn’t say anything about a departure date, basically I am looking for a call to receive the details like:
flightaware.com/live/flight/EIN1 … /EGLL/EIDW (when it departed, arrived and when was scheduled to depart, arrive to calculate the duration of the flight).

Thanks,
Andrei.


#2

You just need to call FlightInfoEx with the flight’s ident (airline identifier and flight number). The result will contain a list of multiple flights (some future, some current, some past) and your code can iterate through that list to decide which one is on the departure date that you’re interested in.


#3

Thank you for your fast reply.
I’ve noticed that FlightInfoEx description it says: "The oldest flights searched by this function are about 2 weeks in the past. "
Is there an option from the API to receive flights older than 2 weeks? Is this an account limitation or an API limitation?

Thanks,
Andrei.


#4

That is an API limitation and not account specific. If you require infrequent access to older data, you can contact our data services team and request a custom report to be priced that contains the specific flights that you are interested in.