---
title: "Calculate flight emissions"
description: "Estimates emissions for one passenger. How the calculation chooses a\ntrack is explained in [Fuel Burn Models](/documentation/fuel-burn-models/).\n"
---

> Documentation Index
> Fetch the complete documentation index at: https://aerostats.ch/llms.txt
> Use this file to discover all available pages before exploring further.

Path: AeroStats › Emissions

`POST /v1/emissions`

Estimates emissions for one passenger. How the calculation chooses a
track is explained in [Fuel Burn Models](/documentation/fuel-burn-models/).

## Authentication

- `CF-Access-Client-Id`, apiKey, in header, header `CF-Access-Client-Id`
- `CF-Access-Client-Secret`, apiKey, in header, header `CF-Access-Client-Secret`

## Request body

_Required._

- `flight` (`calculateFlightEmissions.flight`; string, required) — Flight number.
  - example `"LX632"`
- `date` (`calculateFlightEmissions.date`; string, required) — Date of the flight, as YYYY-MM-DD.
  - format `date`; example `"2026-09-18"`
- `cabin_class` (`calculateFlightEmissions.cabin_class`; string, required) — Cabin of the passenger. A passenger in first class is allocated more fuel than a passenger in economy, because first-class seats are larger and heavier. The allocation is based on the area of the seats in each cabin class, as ICAO and IATA recommend.
  - one of `"economy"`, `"premium_economy"`, `"business"`, `"first"`; example `"economy"`
- `origin` (`calculateFlightEmissions.origin`; string, optional) — IATA code of the origin airport. Use it when the flight number and date match more than one flight, for example several legs with the same flight number. Send it together with `destination`.
  - example `"ZRH"`
- `destination` (`calculateFlightEmissions.destination`; string, optional) — IATA code of the destination airport. Use it when the flight number and date match more than one flight, for example several legs with the same flight number. When the passenger stays on board through a stop, give the final destination. Send it together with `origin`.
  - example `"CDG"`
- `saf_admixture_percent` (`calculateFlightEmissions.saf_admixture_percent`; number, optional) — Share of sustainable aviation fuel bought for this passenger, in percent of the fuel burned. Send it when the passenger bought SAF beyond what the airline supplies. Without it, the airline's share is used, or, failing that, the share mandated where the flight departs.
  - min 0; max 100; example `10`

## Example request

```json
{
  "flight": "LX632",
  "date": "2026-09-18",
  "cabin_class": "economy"
}
```

## Code samples

### cURL

```bash
curl --request POST \
  --url https://api.aerostats.ch/v1/emissions \
  --header 'CF-Access-Client-Id: <CF-Access-Client-Id>' \
  --header 'CF-Access-Client-Secret: <CF-Access-Client-Secret>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "flight": "LX632",
  "date": "2026-09-18",
  "cabin_class": "economy"
}
'
```

### TypeScript

```typescript
const url = 'https://api.aerostats.ch/v1/emissions';
const options = {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'CF-Access-Client-Id': '<CF-Access-Client-Id>',
    'CF-Access-Client-Secret': '<CF-Access-Client-Secret>'
  },
  body: JSON.stringify({flight: 'LX632', date: '2026-09-18', cabin_class: 'economy'})
};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.aerostats.ch/v1/emissions"

payload = {
    "flight": "LX632",
    "date": "2026-09-18",
    "cabin_class": "economy"
}
headers = {
    "Content-Type": "application/json",
    "CF-Access-Client-Id": "<CF-Access-Client-Id>",
    "CF-Access-Client-Secret": "<CF-Access-Client-Secret>"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
```

## Responses

### 200

Emissions for one passenger in the requested cabin.

#### Example

```json
{
  "airline": "Swiss",
  "aircraft": "BCS3",
  "origin": "ZRH",
  "destination": "CDG",
  "great_circle_distance_km": 490,
  "flown_distance_km": 560,
  "mission_fuel_kg": 1700,
  "calculation_tier": "actual_trajectory",
  "pax_fuel_kg": 25,
  "pax_tank_to_wake_co2_kg": 80,
  "pax_well_to_tank_co2e_kg": 16,
  "pax_well_to_wake_co2e_kg": 96,
  "pax_climate_forcing_co2e_kg": 176,
  "rfi": 2,
  "saf_admixture_percent": 2,
  "saf_pathway": "HEFA, used cooking oil",
  "saf_source": "regulatory_average",
  "calculator_version": "2026.1",
  "calculated_at": "2026-09-20T08:15:30Z"
}
```

- `airline` (`calculateFlightEmissions.response.200.airline`; string, required) — Airline that operated the flight.
  - example `"Swiss"`
- `aircraft` (`calculateFlightEmissions.response.200.aircraft`; string, required) — Aircraft that operated the flight.
  - example `"BCS3"`
- `origin` (`calculateFlightEmissions.response.200.origin`; string, required) — IATA airport code of the origin.
  - example `"ZRH"`
- `destination` (`calculateFlightEmissions.response.200.destination`; string, required) — IATA airport code of the destination.
  - example `"CDG"`
- `great_circle_distance_km` (`calculateFlightEmissions.response.200.great_circle_distance_km`; number, required) — Great-circle distance between origin and destination, in kilometres. Stops in between are not counted.
  - min 0; example `490`
- `flown_distance_km` (`calculateFlightEmissions.response.200.flown_distance_km`; number, required) — Distance flown from origin to destination, including any stops, in kilometres.
  - min 0; example `560`
- `mission_fuel_kg` (`calculateFlightEmissions.response.200.mission_fuel_kg`; number, required) — Fuel burned from origin to destination, including any stops, in kilograms.
  - min 0; example `1700`
- `calculation_tier` (`calculateFlightEmissions.response.200.calculation_tier`; string, required) — How the mission fuel was calculated. The best available tier is used: `actual_trajectory` follows the flown track of this flight; `representative_trajectory` follows a comparable flight on the same route; `synthetic_trajectory` follows a constructed climb, cruise, and descent between origin and destination; `reduced_order` estimates the fuel from the aircraft type and the distance, without a trajectory. Weather along the trajectory is taken into account where it is available.
  - one of `"actual_trajectory"`, `"representative_trajectory"`, `"synthetic_trajectory"`, `"reduced_order"`; example `"actual_trajectory"`
- `pax_fuel_kg` (`calculateFlightEmissions.response.200.pax_fuel_kg`; number, required) — Share of the mission fuel allocated to one passenger in the requested cabin, in kilograms, based on seat area as ICAO and IATA recommend. The per-passenger emissions below are derived from it.
  - min 0; example `25`
- `pax_tank_to_wake_co2_kg` (`calculateFlightEmissions.response.200.pax_tank_to_wake_co2_kg`; number, required) — Tank-to-wake emissions for one passenger in the requested cabin, in kilograms of CO₂.
  - min 0; example `80`
- `pax_well_to_tank_co2e_kg` (`calculateFlightEmissions.response.200.pax_well_to_tank_co2e_kg`; number, required) — Well-to-tank emissions for one passenger in the requested cabin, in kilograms of CO₂-equivalent.
  - min 0; example `16`
- `pax_well_to_wake_co2e_kg` (`calculateFlightEmissions.response.200.pax_well_to_wake_co2e_kg`; number, required) — Well-to-wake emissions for one passenger in the requested cabin, in kilograms of CO₂-equivalent. The sum of the tank-to-wake and well-to-tank figures.
  - min 0; example `96`
- `pax_climate_forcing_co2e_kg` (`calculateFlightEmissions.response.200.pax_climate_forcing_co2e_kg`; number, required) — Well-to-wake climate forcing for one passenger in the requested cabin, in kilograms of CO₂-equivalent. The tank-to-wake term multiplied by `rfi`, plus the well-to-tank term.
  - min 0; example `176`
- `rfi` (`calculateFlightEmissions.response.200.rfi`; number, required) — Radiative-forcing index applied to the tank-to-wake term in `pax_climate_forcing_co2e_kg`, to account for non-CO₂ climate effects. A value of 1 applies no uplift. The index is set per account, not per request.
  - min 1; example `2`
- `saf_admixture_percent` (`calculateFlightEmissions.response.200.saf_admixture_percent`; number, required) — Share of sustainable aviation fuel in the fuel burned, in percent.
  - min 0; max 100; example `2`
- `calculator_version` (`calculateFlightEmissions.response.200.calculator_version`; string, required) — Identifier of the calculator that produced this response.
  - minLength 1; example `"2026.1"`
- `calculated_at` (`calculateFlightEmissions.response.200.calculated_at`; string, required) — When the calculation was made, in UTC.
  - format `date-time`; example `"2026-09-20T08:15:30Z"`
- `uncertainty` (`calculateFlightEmissions.response.200.uncertainty`; unknown, required) — Placeholder. How uncertain this result is. The type and contents are not settled, so the example response leaves this field out.
- `saf_pathway` (`calculateFlightEmissions.response.200.saf_pathway`; string, optional) — CORSIA eligible-fuel pathway for that sustainable aviation fuel: the conversion process and the feedstock, named as in ICAO's default life-cycle values. Omitted when `saf_admixture_percent` is 0.
  - example `"HEFA, used cooking oil"`
- `saf_source` (`calculateFlightEmissions.response.200.saf_source`; string, optional) — Where the sustainable-aviation-fuel share came from. The best available source is used: `traveller` when the share was sent in the request, with the pathway taken from the airline or, failing that, the average under the mandate; `airline` when the operating airline reports its own share and pathway; `regulatory_average` when the share is the blending mandate in force where the flight departs, with the average pathway reported under it. Omitted when `saf_admixture_percent` is 0.
  - one of `"traveller"`, `"airline"`, `"regulatory_average"`; example `"regulatory_average"`

### 400

The request is missing a field, a field is invalid, or only one of
`origin` and `destination` was sent.

#### Example

```json
{
  "error": "flight, date, and cabin_class are required."
}
```

- `error` (`calculateFlightEmissions.response.400.error`; string, required) — What went wrong.

### 401

The credentials are missing or invalid. This answer comes from the
gateway in front of the API, and its body is an HTML page.

### 404

No flight was found on that date, or none from that origin to that
destination.

#### Example

```json
{
  "error": "No flight was found on that date."
}
```

- `error` (`calculateFlightEmissions.response.404.error`; string, required) — What went wrong.

### 409

The flight number and date match more than one flight, for example
several legs flown under the same flight number. The response lists
them in the order they are flown. Send the request again with
`origin` and `destination`: those of one leg, or, for a passenger
who stays on board through a stop, the first origin and the last
destination. The response then covers all legs.

#### Example

```json
{
  "error": "ET737 on 2026-09-18 matches more than one flight. Send origin and destination.",
  "flights": [
    {
      "origin": "ZRH",
      "destination": "MXP"
    },
    {
      "origin": "MXP",
      "destination": "ADD"
    }
  ]
}
```

- `error` (`calculateFlightEmissions.response.409.error`; string, required) — What went wrong.
- `flights` (`calculateFlightEmissions.response.409.flights`; array<object>, required) — The flights under that flight number on that date, in the order they are flown.
  - `origin` (`calculateFlightEmissions.response.409.flights.origin`; string, required) — IATA code of the origin airport.
    - example `"ZRH"`
  - `destination` (`calculateFlightEmissions.response.409.flights.destination`; string, required) — IATA code of the destination airport.
    - example `"MXP"`

### 422

Emissions for this cabin class are not available for this flight.

#### Example

```json
{
  "error": "Emissions for this cabin class are not available for this flight."
}
```

- `error` (`calculateFlightEmissions.response.422.error`; string, required) — What went wrong.

### 500

The emissions calculation failed.

#### Example

```json
{
  "error": "The emissions calculation failed."
}
```

- `error` (`calculateFlightEmissions.response.500.error`; string, required) — What went wrong.


Source: https://aerostats.ch/api/calculate-flight-emissions/index.md
