Check a flight for UK261 or EU261 compensation
check_flight_compensationWorks out compensation for a delayed or cancelled flight under UK261 or EU261. Takes the flight number and date. What happened comes from flight-status records, which cover about the last year, or from what_happened and arrival_delay_minutes when given. Returns the matched route, the arrival delay, the distance band, the amount per passenger, the extraordinary-circumstances caveat, the airline’s claim page, the dispute body for a refused claim, deadline guidance, a claim pack and the details needed to save the claim to an Untap account. When the airports given differ from the flight-status record, the result says so. No sign-in needed. Nothing is saved to an account. A record of the check, with no name, account or IP address, is kept for a year so answers can be verified.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date the flight was due to depart, local time. YYYY-MM-DD is best. | |
| price_paid | No | Optional, in pounds: "£180" or 180. Not used for the amount, which is fixed in law, but needed to save the claim to an account. | |
| to_airport | No | Three-letter arrival airport code, if known: "BCN". | |
| from_airport | No | Three-letter departure airport code, if known: "LGW". Helps pick the right flight on multi-stop numbers. | |
| flight_number | Yes | Airline code and number, as on the booking: "BA2551", "U2 8123". | |
| what_happened | No | What happened, if known. When left out, Untap looks it up in flight-status records. | |
| arrival_delay_minutes | No | How late the flight arrived at the gate, in minutes, if the person knows. Compensation turns on arrival, not departure. | |
| cancellation_notice_days | No | For a cancellation: how many days before departure the airline told the person. 14 or more means no compensation. |