# FlightXML API FlightInfoEx method

**URL:** <https://discussions.flightaware.com/t/flightxml-api-flightinfoex-method/14589>\
**Category:** AeroAPI\
**Created:** [October 24, 2013, 1:47pm UTC](https://discussions.flightaware.com/t/flightxml-api-flightinfoex-method/14589 "2013-10-24T13:47:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreiapostolache](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@andreiapostolache](https://discussions.flightaware.com/u/andreiapostolache)\
**Post date:** [October 24, 2013, 1:47pm UTC](https://discussions.flightaware.com/t/flightxml-api-flightinfoex-method/14589/1 "2013-10-24T13:47:16Z")

</div>

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](http://flightaware.com/commercial/flightxml/explorer/#op_FlightInfoEx) - 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](http://flightaware.com/live/flight/EIN151/history/20120914/0630Z/EGLL/EIDW) (when it departed, arrived and when was scheduled to depart, arrive to calculate the duration of the flight).

Thanks,  
Andrei.

---

<div class="post-metadata">

**Author:** ![bovineone](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/bovineone/32/117631_2.png) [@bovineone](https://discussions.flightaware.com/u/bovineone)\
**Post date:** [October 24, 2013, 5:14pm UTC](https://discussions.flightaware.com/t/flightxml-api-flightinfoex-method/14589/2 "2013-10-24T17:14:23Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![andreiapostolache](https://avatars.discourse-cdn.com/v4/letter/a/13edae/32.png) [@andreiapostolache](https://discussions.flightaware.com/u/andreiapostolache)\
**Post date:** [October 25, 2013, 8:49am UTC](https://discussions.flightaware.com/t/flightxml-api-flightinfoex-method/14589/3 "2013-10-25T08:49:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![bovineone](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/bovineone/32/117631_2.png) [@bovineone](https://discussions.flightaware.com/u/bovineone)\
**Post date:** [October 25, 2013, 4:05pm UTC](https://discussions.flightaware.com/t/flightxml-api-flightinfoex-method/14589/4 "2013-10-25T16:05:05Z")

</div>

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.
