# Warming Flights

Warming Flights estimates per-passenger climate emissions for a flight between two airports.

## Calculate a route

Use the calculator at <https://warmingflights.com/>. It accepts these query parameters:

- `from`: origin IATA airport code, such as `HEL`
- `to`: destination IATA airport code, such as `JFK`
- `trip`: `one-way` or `round-trip`
- `cabin`: `economy`, `premium-economy`, `business`, or `first`

Example: <https://warmingflights.com/?from=HEL&to=JFK&trip=one-way&cabin=economy>

## Machine-readable data

- API catalog: <https://warmingflights.com/.well-known/api-catalog>
- Calculations index: <https://warmingflights.com/calculations/index.json>
- OpenAPI description: <https://warmingflights.com/openapi.json>
- Documentation: <https://warmingflights.com/llms.txt>

The calculations index describes the scenario order, units, assumptions, and route chunk URLs. Fetch the chunk for the origin airport, select the destination, and use the scenario index to read the result tuple.

## Interpretation

Results are estimates in tonnes of CO2e per passenger. Warming Flights includes a radiative-forcing factor of 3.0 in its warming-effect value and reports annual-budget usage as whole percentage points.
