Return the delay segment where the flight is likely to lay.
Query parameters
city/airport IATA code from which the traveler is departing, e.g. PAR for Paris
city/airport IATA code to which the traveler is going, e.g. PAR for Paris
the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the ISO 8601 YYYY-MM-DD format, e.g. 2019-12-25
local time relative to originLocationCode on which the traveler will depart from the origin. Time respects ISO 8601 standard. e.g. 13:22:00
the date on which the traveler will arrive to the destination from the origin. Dates are specified in the ISO 8601 YYYY-MM-DD format, e.g. 2019-12-25
local time relative to destinationLocationCode on which the traveler will arrive to destination. Time respects ISO 8601 standard. e.g. 13:22:00
IATA aircraft code (http://www.flugzeuginfo.net/table_accodes_iata_en.php)
airline / carrier code
flight number as assigned by the carrier
flight duration in ISO8601 PnYnMnDTnHnMnS format, e.g. PT2H10M
Response
Success
Example response
{
"data": [
{
"id": "TK1816NCEIST20200801",
"probability": "0.13336977",
"result": "LESS_THAN_30_MINUTES",
"subType": "flight-delay",
"type": "prediction"
},
{
"id": "TK1816NCEIST20200801",
"probability": "0.42023364",
"result": "BETWEEN_30_AND_60_MINUTES",
"subType": "flight-delay",
"type": "prediction"
},
{
"id": "TK1816NCEIST20200801",
"probability": "0.34671372",
"result": "BETWEEN_60_AND_120_MINUTES",
"subType": "flight-delay",
"type": "prediction"
},
{
"id": "TK1816NCEIST20200801",
"probability": "0.09968289",
"result": "OVER_120_MINUTES_OR_CANCELLED",
"subType": "flight-delay",
"type": "prediction"
}
],
"meta": {
"count": 4,
"links": {
"self": "https://test.api.amadeus.com/v1/travel/predictions/flight-delay?originLocationCode=NCE&destinationLocationCode=IST&departureDate=2020-08-01&departureTime=18:20:00&arrivalDate=2020-08-01&arrivalTime=22:15:00&aircraftCode=321&carrierCode=TK&flightNumber=1816&duration=PT31H10M"
}
}
}