FlightInfoStatus - Missing todays flights?


#1

Hello,

I’m trying to fetch the status on Southwest Flight# 957 from BUR to PHX. The results that are returned are for the following day. I’m expecting results for the current days flight.

Any help on what I’m doing wrong would be much appreciated. Here is my query:

http://flightxml.flightaware.com/json/FlightXML3/FlightInfoStatus?ident=SWA957&howMany=1&offset=0


#2

Try setting howMany to 15.


#3

Thanks Stephen! That did the trick and captured the specific flight I was looking for.
Any idea how these results are ordered - why I need 15 vs 1 in the howMany param?


#4

You’re welcome! FlightInfoStatus is returned from newest to oldest. According to https://flightaware.com/live/flight/SWA957 they have 4 upcoming flights posted so they will appear first. You can find some more information on FlightInfoStatus here: https://flightaware.com/commercial/flightxml/v3/apiref.rvt#op_FlightInfoStatus.