# /FlightXML2/InFlightInfo return empty result

**URL:** <https://discussions.flightaware.com/t/flightxml2-inflightinfo-return-empty-result/51150>\
**Category:** AeroAPI\
**Created:** [June 13, 2019, 12:12am UTC](https://discussions.flightaware.com/t/flightxml2-inflightinfo-return-empty-result/51150 "2019-06-13T00:12:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TAPJETSOPS](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/tapjetsops/32/42397_2.png) [@TAPJETSOPS](https://discussions.flightaware.com/u/TAPJETSOPS)\
**Post date:** [June 13, 2019, 12:12am UTC](https://discussions.flightaware.com/t/flightxml2-inflightinfo-return-empty-result/51150/1 "2019-06-13T00:12:27Z")

</div>

hi!  
i make a request:  
[http://flightxml.flightaware.com/json/FlightXML2/InFlightInfo?ident=N723GH](http://flightxml.flightaware.com/json/FlightXML2/InFlightInfo?ident=N723GH)

get a response:  
{“InFlightInfoResult”:{“faFlightID”:“”,“ident”:“N723GH”,“prefix”:“”,“type”:“”,“suffix”:“”,“origin”:“”,“destination”:“”,“timeout”:“”,“timestamp”:0,“departureTime”:0,“firstPositionTime”:0,“arrivalTime”:0,“longitude”:0,“latitude”:0,“lowLongitude”:0,“lowLatitude”:0,“highLongitude”:0,“highLatitude”:0,“groundspeed”:0,“altitude”:0,“heading”:0,“altitudeStatus”:“”,“updateType”:“”,“altitudeChange”:“”,“waypoints”:“”}}

so, info is empty.  
but at the same time, at the website you can view info,  
[https://flightaware.com/live/flight/N723GH](https://flightaware.com/live/flight/N723GH)

and this is not single tail number. for some numbers API works, for some not.  
What could be the reason?  
thanks.

---

<div class="post-metadata">

**Author:** ![dogrock](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/dogrock/32/118974_2.png) [@dogrock](https://discussions.flightaware.com/u/dogrock)\
**Post date:** [June 13, 2019, 2:45pm UTC](https://discussions.flightaware.com/t/flightxml2-inflightinfo-return-empty-result/51150/2 "2019-06-13T14:45:33Z")

</div>

[InFlightInfo](https://flightaware.com/commercial/flightxml/explorer/#op_InFlightInfo) only returns information for flights or aircraft that have operated in the last 24 hours. The last flight operated by N723GH was on June 6.

If you need the data on recently past flights then using [FlightInfoEx](https://flightaware.com/commercial/flightxml/explorer/#op_FlightInfoEx) may be more helpful. It can return flight results for up to two weeks of historical flights.

---

<div class="post-metadata">

**Author:** ![TAPJETSOPS](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/tapjetsops/32/42397_2.png) [@TAPJETSOPS](https://discussions.flightaware.com/u/TAPJETSOPS)\
**Post date:** [June 14, 2019, 1:03pm UTC](https://discussions.flightaware.com/t/flightxml2-inflightinfo-return-empty-result/51150/3 "2019-06-14T13:03:27Z")

</div>

thanks! will try it.
