Risk Score
API Reference
Risk Score
Calculate the delay risk score for a specific flight.
GET
Risk Score
Overview
The core endpoint. Returns a Risk Score (0–100) for a given route, airline, and date, along with historical statistics, weather data, risk drivers, and an optional news feed.Request
string
required
IATA code of the departure airport (e.g.
FCO, LHR, JFK).string
required
IATA code of the arrival airport.
string
required
IATA airline code (e.g.
AZ for ITA Airways, BA for British Airways).string
required
Departure date in
YYYY-MM-DD format.boolean
default:"false"
If
true, includes a live news feed of disruption reports for the route in the response.string
required
Your API key.
Response
integer
Risk Score from 0 (lowest risk) to 100 (highest risk).
integer
Statistical-only score before ML blending.
integer
ML model prediction (0–100).
null if model unavailable.boolean
Whether the ML model contributed to this score.
string
Human-readable risk label:
Low, Moderate, High, or Very High.string
One-sentence actionable recommendation based on the risk level and top driver.
object
Echo of the query parameters:
origin, destination, airline, flight_date.object
Historical statistics for this route/airline combination.
array
Sorted list of risk factor contributions (highest first).
object
Weather risk at the departure airport for the requested date.
object
Weather risk at the arrival airport. Same structure as
weather_dep.string
Which data tier was used:
exact (origin+dest+airline match), route_any_airline (fallback — any airline on the route), or no_data.object
Airline metadata:
name (full name), country.object
Airport metadata for origin:
name, city, country.object
Airport metadata for destination:
name, city, country.array
Present only when
news=true. Array of disruption reports — see Route News for the item schema.Example
Response
Score interpretation
Scoring formula
confidence_pct < 50), keeping the score grounded in observed outcomes.