airport-ontime-prediction
Returns a percentage of on-time flight departures from a given airport.
get/airport/predictions/on-time
Request
- Base URLhttps://test.api.amadeus.com/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
airportCodestring required
airport IATA code, e.g. BOS for Boston
datestring date required
the date on which the traveler will depart from the give airport. Dates are specified in the ISO 8601 YYYY-MM-DD format, e.g. 2019-12-25
Response
Success
Example response
{
"data": {
"id": "JFK20231112",
"probability": "0.928",
"result": "0.84062016",
"subType": "on-time",
"type": "prediction"
},
"meta": {
"links": {
"self": "https://test.api.amadeus.com/v1/airport/predictions/on-time?airportCode=JFK&date=2023-11-12"
}
}
}Changes
No recorded changes to this operation across all 3 revisions of this API.