Calculate CO2 emissions for a transport route
GET/company/minimal/co2
Calculate carbon dioxide (CO2) emissions for freight transportation between an origin point and a destination point. It allows for assessing the environmental impact of logistics operations.
Objective
Provide accurate CO2 emission calculations to support sustainability initiatives, environmental reporting, and optimization of eco-friendly routes in freight transportation.
Use Cases
- Generate environmental impact reports for transport operations
- Compare CO2 emissions between different route options
- Track carbon footprint on corporate sustainability dashboards
- Optimize routes to minimize environmental impact
- Comply with environmental regulations and reporting requirements
Calculation Method
The CO2 calculation takes into account:
- Total route distance (in kilometers)
- Cargo weight and volume
- Vehicle type and average fuel consumption (32L/100km — fixed for CO2 calculation)
- Fuel type and emission factors
- Note: tolls are NOT included in the CO2 calculation
Parameter Priority
The endpoint accepts location identifiers in multiple formats. Order of priority:
- id (auction_id): Uses the pickup/delivery addresses from the auction
- idEtl/idEtd: Uses addresses by database ID
- zipcodeStart/zipcodeEnd: Uses postal codes to find the nearest address
- coordsStart/coordsEnd: Uses GPS coordinates (lat,lng format)
- countryOrigin/countryDestiny: Country codes for routing
At least one pair of location identifiers must be provided.
Error Responses
- 400: Invalid parameters, missing required fields, or incompatible identifier combinations
- 404: Auction or addresses not found
- 500: External routing service error
Request
Responses
- 200
- 400
- 404
- 500
CO2 calculation completed correctly.
Invalid request parameters
Auction or addresses not found
External routing service error