Check flight compensation
check_flight_compensationPreliminary check of whether a delayed, cancelled or overbooked flight (or a missed connection) is likely to be owed fixed compensation under EU261, UK261, Israel's Aviation Services Law or Canada's APPR, and the estimated amount per passenger, from the route distance, the delay at the final destination, the notice given, the operating airline and the time limit. Given a flight number and date, it looks the flight up when the route or the delay is missing. Returns a verdict, an estimate and a short explanation. Read-only: files nothing and stores nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toCode | Yes | Final destination airport, 3-letter IATA code. | |
| fromCode | Yes | Departure airport, 3-letter IATA code (the first airport of the booking). | |
| delayBand | No | For DELAYED or MISSED_CONNECTION: arrival at the final destination was under 3 hours late (lt3), 3–4 hours (3to4) or over 4 hours (gt4). | |
| deniedType | No | For DENIED_BOARDING: refused boarding against their will (involuntary) or gave up the seat for a deal (voluntary). | |
| disruption | Yes | What happened. | |
| flightDate | No | Flight date, YYYY-MM-DD. Lets the check refuse a claim that is too old. | |
| airlineIata | No | Operating airline, 2-character IATA code (e.g. LH, BA, LY). Decides coverage of flights INTO Europe, the UK, Israel or Canada. | |
| airlineIsEU | No | Only if the airline code is unknown: is the operating airline licensed in the EU/EEA or the UK? | |
| cancelNotice | No | For CANCELLED: how far ahead the airline told them — under 7 days, 7 to 13 days, or 14 days or more. | |
| flightNumber | No | Flight number, e.g. LH400. Optional; with flightDate, the flight is looked up when the route or delay is missing. | |
| passengerCount | No | How many passengers on the booking were affected. Optional. |