get https://api.searoutes.com/co2/v1/rail
This endpoint returns CO2e emissions (i.e CO2e equivalent emissions) for a voyage from a given train station to another by train.
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 emissions are calculated based on the region. Supported regions are Europe and North America.
The response contains WTT (well-to-tank) and TTW (tank-to-wheels) CO2e emissions in g for the amount of goods carried.
The response also contains the distance (in meters).
The emissions are calculated using the GLEC framework.