Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.airrating.io/llms.txt

Use this file to discover all available pages before exploring further.

The /api/explain public endpoint is coming soon. During private beta, AI explanations are available via the Risk Score endpoint by passing a request through the web app, or by using the app’s built-in explain panel.

Overview

The AI explanation feature generates a plain-language summary of the main delay risk factors for a flight. It covers historical performance, weather outlook, airport congestion, seasonal patterns, and airline-specific reliability. Powered by Claude (Anthropic).

How to access it now

The explanation is generated on-demand in the app UI when you open the detail panel for any flight score. A standalone API endpoint for programmatic access will be available in the next release.

Planned request parameters

origin
string
required
IATA code of the departure airport.
dest
string
required
IATA code of the arrival airport.
airline
string
required
IATA airline code.
date
string
required
Departure date in YYYY-MM-DD format.
api_key
string
required
Your API key.

Planned response

Response
{
  "origin": "FCO",
  "destination": "LHR",
  "airline": "AZ",
  "date": "2026-04-10",
  "score": 62,
  "label": "High",
  "explanation": "ITA Airways on the Rome Fiumicino → London Heathrow route has a historical delay rate of 31%, above the European average. April sees elevated congestion at Heathrow due to school holiday traffic. The main risk factors are historical airline performance and destination airport congestion."
}
To be notified when this endpoint goes live, contact us or watch the changelog.