# API returns wrong data

**URL:** https://discussions.flightaware.com/t/api-returns-wrong-data/36722
**Category:** AeroAPI
**Created:** [June 21, 2018, 7:43pm UTC](https://discussions.flightaware.com/t/api-returns-wrong-data/36722 "2018-06-21T19:43:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![andreev](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/andreev/32/18140_2.png) [@andreev](https://discussions.flightaware.com/u/andreev)
#### Post date: [June 21, 2018, 7:43pm UTC](https://discussions.flightaware.com/t/api-returns-wrong-data/36722/1 "2018-06-21T19:43:05Z")

</div>

Hi, I’m using FlightXML 2.0, methods:  
InFlightInfo  
FlightInfoEx  
InboundFlightInfo

for tracking flight data.  
When I compare data to [https://ru.flightaware.com/live/flight/XXXX](https://ru.flightaware.com/live/flight/XXXX) web page, departure, arrival, and flight times are most often different (from minutes to hours sometimes).  
Sometimes I get nothing (all fields filled with 0) for future flights. For example right now I get nothing for ident N63FF

How do I get the same data as on the web-page [https://ru.flightaware.com/live/flight/XXX](https://ru.flightaware.com/live/flight/XXX) ?

---

<div class="post-metadata">

### Author: ![cbw](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/cbw/32/117000_2.png) [@cbw](https://discussions.flightaware.com/u/cbw)
#### Post date: [June 25, 2018, 1:04pm UTC](https://discussions.flightaware.com/t/api-returns-wrong-data/36722/2 "2018-06-25T13:04:08Z")

</div>

Could you provide some examples of the data being wrong from the website to the api. Also please indicate at what phase of flight these discrepancies are happening (before flight, during flight, after flight)

---

<div class="post-metadata">

### Author: ![andreev](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/andreev/32/18140_2.png) [@andreev](https://discussions.flightaware.com/u/andreev)
#### Post date: [June 25, 2018, 1:35pm UTC](https://discussions.flightaware.com/t/api-returns-wrong-data/36722/3 "2018-06-25T13:35:50Z")

</div>

Hello,  
as an example [https://ru.flightaware.com/live/flight/N633PJ](https://ru.flightaware.com/live/flight/N633PJ)

For this flight right now I get this data:  
{“InFlightInfoResult”:{“faFlightID”:“”,“ident”:“N633PJ”,“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”:“”}}
