Flight delay compensation API Decide a delay claim from the record, not the passenger’s memory.
A claim starts with “my flight was three hours late”. This is how claims teams turn that sentence into a yes or a no in one request.
Under EU Regulation 261/2004 a passenger is owed compensation when the flight reaches its final destination three or more hours late. The regulation never said that; the Court of Justice did, in Sturgeon (C-402/07, 2009). It later pinned “arrival” to the moment at least one aircraft door opens (Germanwings, C-452/13, 2014). So the number that decides a claim is the arrival delay. Departure delay, the figure passengers remember, doesn’t decide anything.
That is the number GET /api/v1/flights/status returns as delayMinutes: actual arrival against scheduled arrival, in signed minutes. Positive is late. Null means the flight never arrived, which is a different claim.
The check, end to end
- Take the flight number and the scheduled departure date from the booking. Send the date in UTC. A 23:40 departure from Lisbon in winter is still the same calendar day in UTC, but a 00:30 departure from Athens is the previous one.
- Pass
originanddestinationwhen you have them. They disambiguate codeshares and flight numbers an airline reuses on more than one leg in a day. - Read
selected.status.cancelledanddivertedroute to different rules from a delay, so branch on them before you look at minutes. - Compare
delayMinuteswith 180. Anything comfortably above is a delay claim; anything near the line deserves a human look (see below). - Store the response. Settled disruptions older than three UTC days are frozen on our side, so asking again returns the identical record with
meta.cached: true.
Why 179 minutes is not an automatic no
Courts measure to the door, and no public data source publishes a door-open time. Gate arrival lands close to it; touchdown can be ten minutes earlier. We return the actual arrival we can resolve and the reasoning in flightDelay.disruption.rationale, plus a confidence of high, medium or low depending on whether actual times or estimates carried the answer. A 176-minute delay with medium confidence is a file to read, not a rejection to send.
What the amount depends on
| Distance | EU261 | UK261 |
|---|---|---|
| Up to 1,500 km | €250 | £220 |
| 1,500–3,500 km, or intra-EU over 1,500 km | €400 | £350 |
| Over 3,500 km (non-intra-EU) | €600 | £520 |
Distance is great-circle between origin and final destination. The airport flight webhooks compute this for you: when a flight on a board we watch becomes an EU261 case, the flight.qualifying event carries data.qualification.compensation with amountEur, distanceKm and the band.
Proof for the airline
Airlines push back with “extraordinary circumstances”, most often weather or a knock-on delay from an earlier leg. The evidence endpoint answers both in one call (50 credits, Pro plan and up). You get three cropped screenshots: the flight's history row for that date, the aircraft's full same-day rotation, and the departure airport METAR near scheduled departure. When the earlier legs ran on time and the METAR is clear, the defence has very little left to stand on.
Catching claims before the passenger does
If you want the case before the passenger files it, subscribe to airport flight webhooks. We poll 99 airports every 30 minutes and send flight.qualifying when a flight becomes an EU261 case. flight.predicted_qualifying can fire earlier still, when the aircraft's previous leg is already running too late for the next one to leave on time.
Questions
- Does the API tell me whether a claim is valid?
- It tells you what happened to the flight: actual times, arrival delay, cancellation or diversion, and the reasoning. Whether a claim succeeds also depends on the booking, the cause of the delay and the jurisdiction — that judgement stays with you.
- How far back can I check a flight?
- Roughly 10 years. EU261 claims are time-barred by national limitation periods (from one year in some member states to six in others), so the window you need is usually well inside that.
- What does one check cost?
- A status lookup costs 5 credits; the evidence pack costs 50. Every request is metered at the same rate; a frozen record just comes back instantly.
Check a flight you already know.
The console shows real settled records in the exact shape the API returns. No account needed.