This endpoint returns CO2e emissions (i.e CO2e equivalent emissions) for a voyage from a given train station to another by train. The train stations can be given either as locodes or as coordinates.
You must provide either fromLocode or fromCoordinates and either toLocode or toCoordinates.
The weight of the transported goods can be given. If no weight is specified, the API returns the amount of CO2e for 1 metric ton of goods.
The fuel type can also be given. If no fuel type is given, an average emission factor is used.
The response contains WTT (well-to-tank) and TTW (tank-to-wheels) CO2e emissions in g for the amount of goods carried. The emission are calculated taking into account the region of the world. Supported region are Europe and North America.
The response contains a parameters field which contains all the parameters that were passed in the query and the default values if some parameters were not passed.
The response contains a properties field which contains the useful information that was used for the calculation, for example the distance.
The emissions are calculated using the GLEC framework.
Click Try It! to start a request and see the response here!