Stay organized with collections Save and categorize content based on your preferences.

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",
        "operating_carrier_code": "AF",
        "flight_number": 1115,
        "departure_date": {"year": 2023, "month": 11, "day": 1}
      }
      {
        "origin": "CDG",
        "destination": "BOS",
        "operating_carrier_code": "AF",
        "flight_number": 334,
        "departure_date": {"year": 2023, "month": 11, "day": 1}
      }
      {
        "origin": "ZRH",
        "destination": "BOS",
        "operating_carrier_code": "LX",
        "flight_number": 54,
        "departure_date": {"year": 2023, "month": 7, "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": 2023,
          "month": 11,
          "day": 1
        }
      },
      "emissionsGramsPerPax": {
        "first": 94647,
        "business": 94647,
        "premiumEconomy": 63098,
        "economy": 63098
      }
    },
    {
      "flight": {
        "origin": "CDG",
        "destination": "BOS",
        "operatingCarrierCode": "AF",
        "flightNumber": 334,
        "departureDate": {
          "year": 2023,
          "month": 11,
          "day": 1
        }
      },
      "emissionsGramsPerPax": {
        "first": 1391495,
        "business": 1113196,
        "premiumEconomy": 417448,
        "economy": 278299
      }
    },
    {
      "flight": {
        "origin": "ZRH",
        "destination": "BOS",
        "operatingCarrierCode": "LX",
        "flightNumber": 54,
        "departureDate": {
          "year": 2023,
          "month": 7,
          "day": 1
        }
      },
      "emissionsGramsPerPax": {
        "first": 1745475,
        "business": 1396380,
        "premiumEconomy": 523642,
        "economy": 349095
      }
    }
  ],
  "modelVersion": {
    "major": 1,
    "minor": 5,
    "patch": 1,
    "dated": "20221213"
  }
}

Sample response.