---
title: "POST /v1/flights:computeDetailedFlightEmissions"
method: POST
path: "/v1/flights:computeDetailedFlightEmissions"
tags: ["flights"]
---

# POST /v1/flights:computeDetailedFlightEmissions

`POST /v1/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](https://github.com/google/travel-impact-model). 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.

## Request body

- ComputeDetailedFlightEmissionsRequest — Input definition for the ComputeDetailedFlightEmissions request.
  - `flights` Flight[] — Required. Direct flights to return emission estimates for.
    - `destination` string — Required. IATA airport code for flight destination, e.g. "JFK".
    - `operatingCarrierCode` string — Required. IATA carrier code, e.g. "AA".
    - `departureDate` Date — Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
      - `year` integer — Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
      - `month` integer — Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
      - `day` integer — Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
    - `origin` string — Required. IATA airport code for flight origin, e.g. "LHR".
    - `flightNumber` integer — Required. Flight number, e.g. 324.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/travelimpactmodel.md) · [All operations](https://skmtc.dev/google/apis/travelimpactmodel/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/travelimpactmodel/revisions/dd6f831b31b3/schema)
