history
Get aircraft's last known flight
Returns flight info status summary for an aircraft's last known flight given its registration. The search is limited to flights flown since January 1, 2011. On a successful response, the body will contain a flights array with only 1 element. If a user queries a registration with it's last known flight before January 1, 2011, an empty flights array will be returned.
get/history/aircraft/{registration}/last_flight
Request
- Base URLhttps://aeroapi.flightaware.com/aeroapi
- AuthAPI key in header x-apikey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
registrationstring required
The registration number of the aircraft to fetch
Response
OK
Example response
{
"flights": [
{
"origin": {
"timezone": "America/New_York",
"name": "LaGuardia",
"city": "New York"
},
"destination": {
"timezone": "America/New_York",
"name": "LaGuardia",
"city": "New York"
},
"scheduled_out": "2021-12-31T19:59:59Z",
"estimated_out": "2021-12-31T19:59:59Z",
"actual_out": "2021-12-31T19:59:59Z",
"scheduled_off": "2021-12-31T19:59:59Z",
"estimated_off": "2021-12-31T19:59:59Z",
"actual_off": "2021-12-31T19:59:59Z",
"scheduled_on": "2021-12-31T19:59:59Z",
"estimated_on": "2021-12-31T19:59:59Z",
"actual_on": "2021-12-31T19:59:59Z",
"scheduled_in": "2021-12-31T19:59:59Z",
"estimated_in": "2021-12-31T19:59:59Z",
"actual_in": "2021-12-31T19:59:59Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.