GetHistoricalTrack: "no data available"


#1

Hi there,

I’ve just signed up and am starting to use the FlightXML API. Only I don’t seem to be getting track data I expect from the calls (given I see the data on the flightaware.com website, and these are for recent flights).

For example:



$ curl 'http://flightxml.flightaware.com/json/FlightXML2/FlightInfoEx?ident=RLK229&howMany=20'
{"FlightInfoExResult":{"next_offset":-1,"flights":..., {
  "faFlightID":"RLK229-1394861670-50-0",
  "ident":"RLK229",
  "aircrafttype":"DH8C",
  "filed_ete":"00:20:00",
  "filed_time":1394861670,
  "filed_departuretime":1394863500,
  "filed_airspeed_kts":270,
  "filed_airspeed_mach":"270",
  "filed_altitude":100,
  "route":"EMRAG1B TULMI AATG1",
  "actualdeparturetime":1394864100,
  "estimatedarrivaltime":1394867520,
  "actualarrivaltime":1394867520,
  "diverted":"",
  "origin":"NZAA",
  "destination":"NZTG",
  "originName":"Auckland",
  "originCity":"Auckland",
  "destinationName":"Tauranga",
  "destinationCity":"Tauranga"
}, ... ]}}
$ curl 'http://flightxml.flightaware.com/json/FlightXML2/GetHistoricalTrack?faFlightID=RLK229-1394861670-50-0'
{"error":"no data available"}


This flight was just last weekend, but even more recent flights give the same “no data available” response. There is track data for this flight somewhere: flightaware.com/live/flight/RLK2 … G/tracklog shows a table with coordinates, speeds etc for this very flight. And I can retrieve track information for other flights (for example, random US flights) using the calls above.

I guess I’m still hopeful I can get the data for this flight programatically, but at the moment I’m not sure if:

  1. I’m doing something wrong;

  2. There’s an issue server-side meaning the data isn’t being returned;

  3. The (NZ?) source of the data has licensing issues, or similar, meaning it can’t be returned (even though the raw data is visible in an HTML table).

Any help or pointers would be appreciated!

Thanks,
Paul