Method: flights.computeDetailedFlightEmissions

Retrieves detailed emission estimates.

Detailed Flight Emissions are transparent per-passenger greenhouse gas emission estimates supplemented by comprehensive metadata detailing the calculation methodology, emissions breakdown, contrail impact, and data provenance.

Details on how emission estimates are computed are in GitHub.

The response will contain all entries that match the input flight legs, in the same order. If there are no estimates available for a certain flight leg, the response will return the flight leg object with empty emission fields. The request will still be considered successful. Reasons for missing emission estimates include:

  • The flight is unknown to the server.
  • The input flight leg is missing one or more identifiers.
  • The flight date is in the past.
  • The aircraft type is not supported by the model.
  • Missing seat configuration.

The request can contain up to 100 flight legs. If the request has more than 100 flight legs, it will fail with an INVALID_ARGUMENT error.

HTTP request

POST https://travelimpactmodel.googleapis.com/v1/flights:computeDetailedFlightEmissions

The URL uses gRPC Transcoding syntax.

Request body

The request body contains data with the following structure:

JSON representation
{
  "flights": [
    {
      object (Flight)
    }
  ]
}
Fields
flights[]

object (Flight)

Required. Direct flights to return emission estimates for.

Response body

Output definition for the flights.computeDetailedFlightEmissions response.

If successful, the response body contains data with the following structure:

JSON representation
{
  "flightsWithDetailedEmissions": [
    {
      object (FlightWithDetailedEmissions)
    }
  ],
  "modelVersion": {
    object (ModelVersion)
  }
}
Fields
flightsWithDetailedEmissions[]

object (FlightWithDetailedEmissions)

List of flight legs with emission estimates.

modelVersion

object (ModelVersion)

The model version under which emission estimates for all flights in this response were computed.

FlightWithDetailedEmissions

Direct flight with emission estimates details.

JSON representation
{
  "flight": {
    object (Flight)
  },
  "flightEmissionsDetails": {
    object (FlightEmissionsDetails)
  },
  "emissionsMetadata": {
    object (EmissionsMetadata)
  },
  "errors": [
    {
      object (Status)
    }
  ]
}
Fields
flight

object (Flight)

Output only. Matches the flight identifiers in the request. Note: all IATA codes are capitalized.

flightEmissionsDetails

object (FlightEmissionsDetails)

Output only. All the flight emissions data.

emissionsMetadata

object (EmissionsMetadata)

Output only. Additional metadata about the flight emissions calculation.

errors[]

object (Status)

Output only. Errors detailing why detailed emission estimates could not be returned for the flight. Empty when emission estimates are present.

FlightEmissionsDetails

Details about the specific flight's emissions.

JSON representation
{
  "emissionsGramsPerPax": {
    object (EmissionsGramsPerPax)
  },
  "emissionsBreakdown": {
    object (EmissionsBreakdown)
  },
  "contrailsImpactBucket": enum (ContrailsImpactBucket),
  "source": enum (Source)
}
Fields
emissionsGramsPerPax

object (EmissionsGramsPerPax)

Output only. Per-passenger emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see flights.computeDetailedFlightEmissions

emissionsBreakdown

object (EmissionsBreakdown)

Output only. Details about the various emissions portions of the total emissionsGramsPerPax value. The value of the summed breakdowns should always equal emissionsGramsPerPax.

contrailsImpactBucket

enum (ContrailsImpactBucket)

Output only. The significance of contrails warming impact compared to the total CO2e emissions impact.

source

enum (Source)

Output only. The source of the emissions data.

EmissionsBreakdown

Details about the various emissions portions of the total emissionsGramsPerPax value. The value of the summed breakdowns should always equal emissionsGramsPerPax.

JSON representation
{
  "wttEmissionsGramsPerPax": {
    object (EmissionsGramsPerPax)
  },
  "ttwEmissionsGramsPerPax": {
    object (EmissionsGramsPerPax)
  }
}
Fields
wttEmissionsGramsPerPax

object (EmissionsGramsPerPax)

Per-passenger well-to-tank emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see flights.computeFlightEmissions.

ttwEmissionsGramsPerPax

object (EmissionsGramsPerPax)

Per-passenger tank-to-wake emission estimate numbers. Will not be present if emissions could not be computed. For the list of reasons why emissions could not be computed, see flights.computeFlightEmissions.

EmissionsMetadata

All additional metadata.

JSON representation
{
  "emissionsProvenance": {
    object (EmissionsProvenance)
  },
  "easaLabelMetadata": {
    object (EasaLabelMetadata)
  },
  "timWebsiteEmissionsCalculatorUrl": string
}
Fields
emissionsProvenance

object (EmissionsProvenance)

Output only. Details about the provenance of data used to calculate the emissions data, including the contributing factors with their data sources.

easaLabelMetadata

object (EasaLabelMetadata)

Output only. Metadata about the EASA Flight Emissions Label. Only set when the emissions data source is EASA.

timWebsiteEmissionsCalculatorUrl

string

Output only. Link to the travelimpactmodel.org Emissions Calculator website. Example: https://travelimpactmodel.org/lookup/flight?itinerary=ZRH-BOS-LX-52-20261225.