v3

latestSwagger 2.0raw.githubusercontent.com2022-06-031711.9 KB
flight-delay-prediction

Return the delay segment where the flight is likely to lay.

get/travel/predictions/flight-delay

Query parameters

originLocationCodestring required

city/airport IATA code from which the traveler is departing, e.g. PAR for Paris

destinationLocationCodestring required

city/airport IATA code to which the traveler is going, e.g. PAR for Paris

departureDatestring date required

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

departureTimestring time required

local time relative to originLocationCode on which the traveler will depart from the origin. Time respects ISO 8601 standard. e.g. 13:22:00

arrivalDatestring date required

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

arrivalTimestring time required

local time relative to destinationLocationCode on which the traveler will arrive to destination. Time respects ISO 8601 standard. e.g. 13:22:00

aircraftCodestring required
carrierCodestring required

airline / carrier code

flightNumberstring required

flight number as assigned by the carrier

durationstring required

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"
    }
  }
}
All 1 operations