The Travel Impact Model API exposes emission estimates computed according to the Travel Impact Model. These emission estimates are also shown on Google Flights.

The API is public and free of charge.

For authentication, you will need an API key.

The Travel Impact Model is a state of the art emission estimation model for flights.

The methodology is published on GitHub.

This API supports worldwide commercial flights that depart in the next 11 months.

Charter flights, private flights and cargo flights are not supported. Past flights are not supported. Please get in contact with us (see the Support page) if you have inquiries and feature requests.

The data exposed by this API is under the CC BY-SA 4.0 license.

Call the API example

curl https://travelimpactmodel.googleapis.com/v1/flights:computeFlightEmissions?key=$API_KEY \
  -H "Content-Type: application/json" -d \
  '{
    "flights": [
      {
        "origin": "ZRH",
        "destination": "CDG",
        "operatingCarrierCode": "AF",
        "flightNumber": 1115,
        "departureDate": {"year": 2024, "month": 12, "day": 2}
      },
      {
        "origin": "CDG",
        "destination": "BOS",
        "operatingCarrierCode": "AF",
        "flightNumber": 334,
        "departureDate": {"year": 2024, "month": 12, "day": 1}
      },
      {
        "origin": "ZRH",
        "destination": "BOS",
        "operatingCarrierCode": "LX",
        "flightNumber": 52,
        "departureDate": {"year": 2024, "month": 11, "day": 1}
      }
    ]
  }'

The example includes a flight ZRH - BOS with a layover in CDG, and a flight ZRH - BOS.

The example command calls the REST endpoint using curl. In the command, you will have to replace $API_KEY with your API key. You might also need to adjust the flight details to match an existing upcoming flight.

Please see the Reference tab for the full documentation of resources exposed by this API. Both HTTP and RPC calls are supported.

{
  "flightEmissions": [
    {
      "flight": {
        "origin": "ZRH",
        "destination": "CDG",
        "operatingCarrierCode": "AF",
        "flightNumber": 1115,
        "departureDate": {
          "year": 2024,
          "month": 12,
          "day": 2
        }
      },
      "emissionsGramsPerPax": {
        "first": 97116,
        "business": 97116,
        "premiumEconomy": 64744,
        "economy": 64744,
      }
    },
    {
      "flight": {
        "origin": "CDG",
        "destination": "BOS",
        "operatingCarrierCode": "AF",
        "flightNumber": 334,
        "departureDate": {
          "year": 2024,
          "month": 12,
          "day": 1
        }
      },
      "emissionsGramsPerPax": {
        "first": 2290480,
        "business": 1832384,
        "premiumEconomy": 687143,
        "economy": 458096
      }
    },
    {
      "flight": {
        "origin": "ZRH",
        "destination": "BOS",
        "operatingCarrierCode": "LX",
        "flightNumber": 52,
        "departureDate": {
          "year": 2024,
          "month": 11,
          "day": 1
        }
      },
      "emissionsGramsPerPax": {
        "first": 2220460,
        "business": 1776368,
        "premiumEconomy": 666137,
        "economy": 444092
      }
    }
  ],
  "modelVersion": {
    "major": 1,
    "minor": 9,
    "patch": 0,
    "dated": "20240312"
  }
}

Sample response.