Google

Travel Impact Model API

Travel Impact Model API lets you query travel carbon emission estimates.

Travel#openapi#analytics#media

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Travel Impact Model API lets you query travel carbon emission estimates.

Endpoints 4

flights

  • POSTRetrieves detailed emission estimates/v1/flights:computeDetailedFlightEmissionsRetrieves detailed emission estimates. Detailed Flight Emissions are transparent per-passenger greenhouse gas emission estimates supplemented by comprehensive…
  • POSTRetrieves emission estimates/v1/flights:computeFlightEmissionsRetrieves emission estimates. Details on how emission estimates are computed are in GitHub. The response will contain all entries that match the input flight…
  • POSTRetrieves GHG emissions estimates for a set of flight segments for Scope 3 reporting/v1/flights:computeScope3FlightEmissionsRetrieves GHG emissions estimates for a set of flight segments for Scope 3 reporting. The response will contain all entries that match the input…
  • POSTRetrieves typical flight emissions estimates between two airports, also known as a market/v1/flights:computeTypicalFlightEmissionsRetrieves typical flight emissions estimates between two airports, also known as a market. If there are no estimates available for a certain market, the…

API details

Base URL
https://travelimpactmodel.googleapis.com
Authentication
OAuth 2.0 (authorization code flow)
An API key in the key query parameter
Operations
4 operations on 4 pathsPOST 4
Main resources
flights 4
Response formats
application/json
Description format
Google API Discovery, API version v1

How to test the Travel Impact Model API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Travel Impact Model API collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (authorization code flow). Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Retrieves detailed emission estimates” (POST /v1/flights:computeDetailedFlightEmissions), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Travel Impact Model API?

Travel Impact Model API lets you query travel carbon emission estimates. It is listed under Travel and has 4 endpoints.

Who publishes the Travel Impact Model API?

It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Travel Impact Model API?

Requests go to https://travelimpactmodel.googleapis.com. Endpoint paths are added to this base URL.

How do I authenticate with the Travel Impact Model API?

It accepts 2 methods: OAuth 2.0 (authorization code flow); an API key in the key query parameter.

How many endpoints does the Travel Impact Model API have?

4 operations on 4 paths (4 POST). The largest groups are flights.

Is forking the Travel Impact Model API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.