---
title: "Returns a percentage of on-time flight departures from a given airport."
method: GET
path: "/airport/predictions/on-time"
tags: ["airport-ontime-prediction"]
---

# Returns a percentage of on-time flight departures from a given airport.

`GET /airport/predictions/on-time`

## Request

- Base URL: `https://test.api.amadeus.com/v1`
- URL: `https://test.api.amadeus.com/v1/airport/predictions/on-time`
- Auth: none declared
- TypeScript: <https://skmtc.dev/amadeus4dev/apis/airport-on-time-performance/docs/airport/predictions/on-time/get.ts> (a function with typed inputs; its response is checked against the schema)

## Query parameters

- `airportCode` string, required
- `date` string, date, required

## Response `200`

Success

- Prediction
  - `data` OnTimePrediction
    - `type` string: the resource name (`prediction`)
    - `subType` string
    - `id` string: item identifier
    - `result` string: forecast description
    - `probability` string: probability of the forecast (between 0 and 1)
  - `meta` Meta
    - `links` Links
      - `self` string, uri
      - `related` string, uri
      - `type` string

## Other responses

- `400`: code | title ------- | ------------------------------------- 477 | INVALID FORMAT 572 | INVALID OPTION 4926 | INVALID DATA RECEIVED 32171 | MANDATORY DATA MISSING
- `default`: Unexpected Error

---

[API](https://skmtc.dev/amadeus4dev/apis/airport-on-time-performance.md) - [All operations](https://skmtc.dev/amadeus4dev/apis/airport-on-time-performance/llms.txt) - [OpenAPI document](https://skmtc.dev/amadeus4dev/apis/airport-on-time-performance/revisions/39e9715f87ed?raw)
