# Flight Delay Prediction API

> Flight Delay Prediction API on Apizie: 1 endpoint (Return the delay segment where the flight is likely to lay.) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/open-data:amadeus-amadeus-flight-delay-prediction/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `open-data:amadeus-amadeus-flight-delay-prediction`
- Category: Open Data
- Status: byok
- Source: https://amadeus.com
- Page: https://apizie.tech/api/open-data/amadeus-amadeus-flight-delay-prediction
- OpenAPI: https://apizie.tech/api/open-data/amadeus-amadeus-flight-delay-prediction/openapi.json

Before using this API, we recommend you read our **[Authorization Guide](https://developers.amadeus.com/self-service/apis-docs/guides/authorization-262)** for more information on how to generate an access token.

## Endpoints

### Return the delay segment where the flight is likely to lay.
`GET https://apizie.tech/v1/open-data:amadeus-amadeus-flight-delay-prediction/get-flight-delay-prediction` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| originLocationCode | string | yes | city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) from which the traveler is departing, e.g. PAR for Paris |
| destinationLocationCode | string | yes | city/airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx) to which the traveler is going, e.g. PAR for Paris |
| departureDate | string | yes | the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the [ISO… |
| departureTime | string | yes | local time relative to originLocationCode on which the traveler will depart from the origin. Time respects ISO 8601 standard. e.g. 13:22:00 |
| arrivalDate | string | yes | the date on which the traveler will arrive to the destination from the origin. Dates are specified in the [ISO… |
| arrivalTime | string | yes | local time relative to destinationLocationCode on which the traveler will arrive to destination. Time respects ISO 8601 standard. e.g.… |
| aircraftCode | string | yes | IATA aircraft code (http://www.flugzeuginfo.net/table_accodes_iata_en.php) |
| carrierCode | string | yes | airline / carrier code |
| flightNumber | string | yes | flight number as assigned by the carrier |
| duration | string | yes | flight duration in [ISO8601](https://en.wikipedia.org/wiki/ISO_8601) PnYnMnDTnHnMnS format, e.g. PT2H10M |

## Example
```
curl "https://apizie.tech/v1/open-data:amadeus-amadeus-flight-delay-prediction/get-flight-delay-prediction" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Flight Delay Prediction API?
Create a free Apizie key, then send GET https://apizie.tech/v1/open-data:amadeus-amadeus-flight-delay-prediction/get-flight-delay-prediction with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Flight Delay Prediction API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Flight Delay Prediction itself also needs your own key from amadeus.com.

### Can AI agents use the Flight Delay Prediction API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key open-data:amadeus-amadeus-flight-delay-prediction.

### What is the status of the Flight Delay Prediction API?
Needs your own provider key (bring your own key)
