# GetLastTrack API

**URL:** <https://discussions.flightaware.com/t/getlasttrack-api/32356>\
**Category:** AeroAPI\
**Created:** [March 6, 2018, 11:29am UTC](https://discussions.flightaware.com/t/getlasttrack-api/32356 "2018-03-06T11:29:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![intelener](https://sea1.discourse-cdn.com/flex019/user_avatar/discussions.flightaware.com/intelener/32/10826_2.png) [@intelener](https://discussions.flightaware.com/u/intelener)\
**Post date:** [March 6, 2018, 11:29am UTC](https://discussions.flightaware.com/t/getlasttrack-api/32356/1 "2018-03-06T11:29:13Z")

</div>

Does GetLastTrack return all data of the past 24 hours position or only for the recent one flight if there were 2 flights in past 24 hours?

Many thanks!

---

<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:** [March 6, 2018, 1:35pm UTC](https://discussions.flightaware.com/t/getlasttrack-api/32356/2 "2018-03-06T13:35:25Z")

</div>

It provides data for the current flight if there is a flight in air, or the most recent flight if there is not a flight currently in the air.

You can use [GetHistoricalTrack](https://flightaware.com/commercial/flightxml/explorer/#op_GetHistoricalTrack) if you wanted a specific flight in the past.
