{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:amadeus-amadeus-flight-delay-prediction/get-flight-delay-prediction":{"get":{"operationId":"open_data_amadeus_amadeus_flight_delay_prediction_get_flight_delay_prediction","summary":"Return the delay segment where the flight is likely to lay.","description":"GET /travel/predictions/flight-delay","tags":["open-data"],"parameters":[{"name":"originLocationCode","in":"query","required":true,"description":"city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) from which the traveler is departing, e.g. PAR for Paris","schema":{"type":"string","description":"city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) from which the traveler is departing, e.g. PAR for Paris"},"example":"NCE"},{"name":"destinationLocationCode","in":"query","required":true,"description":"city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) to which the traveler is going, e.g. PAR for Paris","schema":{"type":"string","description":"city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) to which the traveler is going, e.g. PAR for Paris"},"example":"IST"},{"name":"departureDate","in":"query","required":true,"description":"the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the [ISO…","schema":{"type":"string","description":"the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the [ISO…"},"example":"2025-10-15T13:50:20.886Z"},{"name":"departureTime","in":"query","required":true,"description":"local time relative to originLocationCode on which the traveler will depart from the origin. Time respects ISO 8601 standard. e.g. 13:22:00","schema":{"type":"string","description":"local time relative to originLocationCode on which the traveler will depart from the origin. Time respects ISO 8601 standard. e.g. 13:22:00"},"example":66000},{"name":"arrivalDate","in":"query","required":true,"description":"the date on which the traveler will arrive to the destination from the origin. Dates are specified in the [ISO…","schema":{"type":"string","description":"the date on which the traveler will arrive to the destination from the origin. Dates are specified in the [ISO…"},"example":"2025-10-15T13:50:20.886Z"},{"name":"arrivalTime","in":"query","required":true,"description":"local time relative to destinationLocationCode on which the traveler will arrive to destination. Time respects ISO 8601 standard. e.g.…","schema":{"type":"string","description":"local time relative to destinationLocationCode on which the traveler will arrive to destination. Time respects ISO 8601 standard. e.g.…"},"example":80100},{"name":"aircraftCode","in":"query","required":true,"description":"IATA aircraft code (http://www.flugzeuginfo.net/table_accodes_iata_en.php)","schema":{"type":"string","description":"IATA aircraft code (http://www.flugzeuginfo.net/table_accodes_iata_en.php)"},"example":321},{"name":"carrierCode","in":"query","required":true,"description":"airline / carrier code","schema":{"type":"string","description":"airline / carrier code"},"example":"TK"},{"name":"flightNumber","in":"query","required":true,"description":"flight number as assigned by the carrier","schema":{"type":"string","description":"flight number as assigned by the carrier"},"example":1816},{"name":"duration","in":"query","required":true,"description":"flight duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M","schema":{"type":"string","description":"flight duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M"},"example":"PT31H10M"}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}