Skip to content

Contact

Checking that you're human…

Navigation

Calculate flight emissions

Estimates emissions for one passenger. How the calculation chooses a track is explained in Fuel Burn Models.

POST
https://api.aerostats.ch/v1/emissions

Authorization

  • CF-Access-Client-Id
    API key in header
    required
  • CF-Access-Client-Secret
    API key in header
    required

Request body JSON required

  • flight
    string
    required

    Flight number.

  • date
    string
    required

    Date of the flight, as YYYY-MM-DD.

    format: date
  • cabin_class
    economy
    or
    premium_economy
    or
    business
    or
    first
    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.

  • origin
    optional
    string

    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.

  • destination
    optional
    string

    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.

  • saf_admixture_percent
    optional
    number

    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.

    maximum: 100 · minimum: 0

Returns

200

Emissions for one passenger in the requested cabin.

JSON
  • airline
    string
    required

    Airline that operated the flight.

  • aircraft
    string
    required

    Aircraft that operated the flight.

  • origin
    string
    required

    IATA airport code of the origin.

  • destination
    string
    required

    IATA airport code of the destination.

  • great_circle_distance_km
    number
    required

    Great-circle distance between origin and destination, in kilometres. Stops in between are not counted.

    minimum: 0
  • flown_distance_km
    number
    required

    Distance flown from origin to destination, including any stops, in kilometres.

    minimum: 0
  • mission_fuel_kg
    number
    required

    Fuel burned from origin to destination, including any stops, in kilograms.

    minimum: 0
  • calculation_tier
    actual_trajectory
    or
    representative_trajectory
    or
    synthetic_trajectory
    or
    reduced_order
    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.

  • 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.

    minimum: 0
  • pax_tank_to_wake_co2_kg
    number
    required

    Tank-to-wake emissions for one passenger in the requested cabin, in kilograms of CO₂.

    minimum: 0
  • pax_well_to_tank_co2e_kg
    number
    required

    Well-to-tank emissions for one passenger in the requested cabin, in kilograms of CO₂-equivalent.

    minimum: 0
  • 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.

    minimum: 0
  • 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.

    minimum: 0
  • 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.

    minimum: 1
  • saf_admixture_percent
    number
    required

    Share of sustainable aviation fuel in the fuel burned, in percent.

    maximum: 100 · minimum: 0
  • calculator_version
    string
    required

    Identifier of the calculator that produced this response.

    minLength: 1
  • calculated_at
    string
    required

    When the calculation was made, in UTC.

    format: date-time
  • uncertainty
    placeholder
    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
    optional
    string

    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.

  • saf_source
    optional
    traveller
    or
    airline
    or
    regulatory_average

    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.

400

The request is missing a field, a field is invalid, or only one of origin and destination was sent.
JSON
  • 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.
JSON
  • 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.
JSON
  • error
    string
    required

    What went wrong.

  • flights
    array of
    object
    required

    The flights under that flight number on that date, in the order they are flown.

    • origin
      string
      required

      IATA code of the origin airport.

    • destination
      string
      required

      IATA code of the destination airport.

422

Emissions for this cabin class are not available for this flight.
JSON
  • error
    string
    required

    What went wrong.

500

The emissions calculation failed.
JSON
  • error
    string
    required

    What went wrong.

Type to search…

↑↓ navigate↵ selectEsc close