Get emissions between two points using the given modality.
Query parameters
-
Origin of voyage. Can be a locode or a lat,long
-
Destination of voyage. Can be a locode or a lat,long
-
Modality of voyage. Can be one of [
DEEPSEA,BARGE,RAIL,TRUCK] -
Optional vessel information. Can be dimensions (length, width, draught) in cm or ship IMO/MMSI. Example:
100.0,50.0,25.0orIMO1234567orMMSI027811100 -
Optional container type information. Can be
DRYorREEFER. Defaults toDRY -
Optional fuel type information. For modality
BARGE, it can be one of [BIODIESEL,DIESEL,DIESEL_90_HVO_10,DIESEL_80_HVO_20,DIESEL_50_HVO_50,ETHANOL,HVO,HYDROGEN_BLUE,HYDROGEN_GREEN,HYDROGEN_GREY,LNG_MEDIUM,LNG_SLOW,LPG]. For modalityRAIL, it can be one of [DIESEL,ELECTRIC]. For modalityTRUCK, it can be one of [BIO_LNG,CNG,DIESEL,ELECTRIC,HVO,LNG].
curl \
--request GET 'https://connect.routescanner.com/route-information/api/emissions?origin=string&destination=string&modality=string'
{
"co2eTeu": 42.0,
"co2eTon": 42.0,
"distance": 42
}