FlightAware Discussions

FlightAware API response Issue with FlightXML v#


#1

We have integrated the FlightXML V3 in our application - “Topfly”.

We are getting response for only US sectors and the responses are incorrect. Other than US, we are not getting response from the API.

Please find the below scenarios:

1) This is the reference From Flightaware Document
$ident=‘BXR494’;

{“ident”:“BXR494”,“faFlightID”:“BXR494-1541833213-1-2-157”,“origin”:“KHWD”,“origin_name”:“Hayward Executive”,“destination”:“KVNY”,“destination_name”:“Van Nuys”,“date”:“11/10/2018”,“waypoints”:[{“lat”:37.6589285,“lng”:-122.1217372},{“lat”:37.3925,“lng”:-122.2813889},{“lat”:37.0934472,“lng”:-122.4442139},{“lat”:36.7459806,“lng”:-122.1359444},{“lat”:36.7270194,“lng”:-122.1192694},{“lat”:36.7125083,“lng”:-122.1063417},{“lat”:36.5200194,“lng”:-121.9372028},{“lat”:36.4551833,“lng”:-121.8797139},{“lat”:36.1812956,“lng”:-121.6421122},{“lat”:35.6469444,“lng”:-119.9786111},{“lat”:34.4803417,“lng”:-118.516025},{“lat”:34.2098056,“lng”:-118.4899722}]}

2) $ident=‘DAL4644’;
We are passing delta airline but we are getting results for SkyWest Airlines which is incorrect.

{“ident”:“SKW4644”,“faFlightID”:“SKW4644-1541744763-airline-0216”,“origin”:“KLGB”,“origin_name”:“Daugherty Field”,“destination”:“KSLC”,“destination_name”:“Salt Lake City Intl”,“date”:“11/11/2018”,“waypoints”:[{“lat”:33.8179297,“lng”:-118.1518906},{“lat”:33.9062778,“lng”:-117.9448056},{“lat”:33.9526111,“lng”:-117.9024722},{“lat”:34.0896944,“lng”:-117.7769722},{“lat”:34.2998056,“lng”:-117.4646667},{“lat”:34.5416667,“lng”:-117.1017778},{“lat”:34.8541667,“lng”:-116.6446944},{“lat”:35.6960833,“lng”:-115.5035278},{“lat”:36.1824444,“lng”:-114.8261389},{“lat”:36.1824528,“lng”:-114.8261361},{“lat”:36.711475,“lng”:-114.4740139},{“lat”:37.9333333,“lng”:-113.5},{“lat”:38.3603611,“lng”:-113.0132222},{“lat”:38.8414444,“lng”:-112.7557778},{“lat”:39.3022222,“lng”:-112.5055556},{“lat”:40.0434444,“lng”:-112.2579167},{“lat”:40.3025556,“lng”:-112.17},{“lat”:40.4792222,“lng”:-112.1096944},{“lat”:40.5566667,“lng”:-112.0833889},{“lat”:40.6335,“lng”:-112.0781667},{“lat”:40.7507222,“lng”:-112.0918056},{“lat”:40.7731667,“lng”:-112.0944722},{“lat”:41.2220278,“lng”:-112.148},{“lat”:40.7883878,“lng”:-111.9777731}]}

3) $ident=‘DAL960’;
The below is the sector we passed:

Delta airlines DL 960
07:00
New York (JFK)
6h 15m
Stop:0
10:15
Los Angeles (LAX)

The results of origin-departure is totally different as below.

{“ident”:“DAL960”,“faFlightID”:“DAL960-1541744763-airline-0041”,“origin”:“KMSP”,“origin_name”:“Minneapolis/St Paul Intl”,“destination”:“KATW”,“destination_name”:“Appleton Intl”,“date”:“11/11/2018”,“waypoints”:}

  1. $ident=‘AIC839’;DEL-BLR

For this sector, we didn’t get any response from the API.

  1. $ident=‘SEJ122’;DEL-HYD

For this sector, we didn’t get any response from the API. -> But we can see getting results in your site https://uk.flightaware.com/

6) $ident=‘SIA495’;singapore Airlines SQ 308 | Airbus A380

DXB - SIN

 For this sector,  we didn't get any response from the API. -> But we can see getting results in your site https://uk.flightaware.com/..

Also Flight aware using ICAO Airline codes for airlines. Also we can see flightaware API using ICAO Airport code for airports.

Is it possible to get along with IATA codes??

Kindly help us in resolving these issues and do the needful.


#2

Hello,

(2)
The result for DAL4644 is correct. This flight is operated by SkyWest and Delta lists it as a codeshare flight. After retrieving results from a FlightInfoStatus query this is visible in the codeshare field. Codeshares are automatically searched. The example SKW4644 flight also represents DAL4644, KLM8289, and AMX3479.

(3)
The ident DAL960 is associated with multiple origin and destination pairs. Whether or not an airline uses fixed or varying flight numbers for specific routes can change depending on the airline’s own practices. In the last week DAL960 has been used for routes KJFK-KLAX, KMSP-KATW, KTYS-KATL, and KATL-KTYS.

When requesting an ident from FlightInfoStatus results will be ordered by departure time newest to oldest, with scheduled flights appearing up to 48 hours in advance of departure. The origin, destination and departure time should be verified to make sure a result is actually the desired flight.

(4)(5)(6)
Requests like FlightInfoStatus will work for these flights. It looks like they were successfully queried.

However, DecodeFlightRoute will likely not work since these flights are not within the airspace of the continental United States. From DecodeFlightRoute’s documentation:

Not all flight routes can be successfully decoded by this function, particularly if the flight is not entirely within the continental U.S. airspace, since this function only has access to navaids within that area.

Instead you may want to use GetFlightTrack to retrieve the flight’s track log after departure.

In many cases, notably airports, it is possible to use IATA codes as input. However, ambiguous or conflicting IATA code assignments do exist so use of ICAO codes is strongly recommended.


#3

Dear FlightAware Staff,
From above message
Not all flight routes can be successfully decoded by this function, particularly if the flight is not entirely within the continental U.S. airspace, since this function only has access to navaids within that area.

what is the solution to get flight tracking in other continents through the world of current flying airlines.


#4

I have a receiver at Cocos Keeling Island in the middle of the Indian Ocean and I use https://skyvector.com to see if the the aircraft coming across from the Gulf and India will come into range.

I just copy the route from the flight page in flightaware and paste it into Skyvector.

It seems too know all the paths and waypoints but the planes don’t always stick to the plan.

S


#5

Dear flightaware,
We analysed in your reply, "in that we found flight-aware not providing live flight results apart from US continent.
But we found flight-aware providing results for airlines other than us continent also in flight aware website… it means flightaware have the details… So we request you how to get the same as in flight-aware website for our customers too.