Query parameters

  • origin string Required

    Origin of voyage. Can be a locode or a lat,long

  • destination string Required

    Destination of voyage. Can be a locode or a lat,long

  • modality string Required

    Modality of voyage. Can be DEEPSEA, BARGE, RAIL or TRUCK

  • Optional vessel information. Can be dimensions (length, width, draught) in cm or ship IMO/MMSI. Example: 100.0,50.0,25.0 or IMO1234567 or MMSI027811100

  • Optional container type information. Can be REEFER or DRY. Defaults to DRY

  • fuelType string

    Optional fuel type information. For modality RAIL it can be DIESEL or ELECTRIC. For modality TRUCK it can be BIO_LNG, CNG, DIESEL, ELECTRIC, HVO, or LNG.

Responses

  • 200 application/json

    Calculated the emissions in kg CO₂e per TEU, kg CO₂e per ton, and the distance in meters

    Hide response attributes Show response attributes object
  • The emissions couldn't be calculated because a route could not be found

  • Bad request, query parameters were wrong

  • Something went wrong on our side.

GET /api/emissions
curl \
 -X GET https://connect.routescanner.com/route-information/api/emissions?origin=string&destination=string&modality=string
Response examples (200)
{
  "co2eTeu": 42.0,
  "co2eTon": 42.0,
  "distance": 42
}