Overview
The PTV Routing API supports the co2EmissionClass parameter as part of the vehicle profile. This parameter reflects the CO₂ emission class as defined by the European Union under Directive 1999/62/EC (Article 7ga) on the charging of heavy goods vehicles for the use of certain infrastructures.
Setting this parameter correctly ensures that toll costs are calculated accurately — for example, in Germany, the Lkw-Maut applies differentiated rates based on the emission class of the vehicle.
Parameter details
| Parameter | Type | Location | Valid values |
|---|---|---|---|
co2EmissionClass |
integer (int32) | Vehicle | 1 – 5 |
Valid values and their meaning:
| Value | Applies to |
|---|---|
| 1 | All combustion and hybrid vehicles, regardless of emission standard |
| 2 | Combustion/hybrid vehicles with emission standard EURO_6 or higher |
| 3 | Combustion/hybrid vehicles with emission standard EURO_6 or higher |
| 4 | Combustion/hybrid vehicles with emission standard EURO_6 or higher |
| 5 | Electric vehicles only |
Note: Values 2–4 require the vehicle's
emissionStandardto be set to at leastEURO_6. Using a value of 2–4 with a lower emission standard will result in an error.
Impact on toll calculation
The co2EmissionClass is relevant for toll calculations. Countries such as Germany have introduced CO₂-based toll surcharges as part of the Lkw-Maut reform. A higher emission class (lower emissions) results in reduced toll costs.
Example
To calculate a route for an electric truck (class 5), include the following in the vehicle section of your request:
{
"vehicle": {
"co2EmissionClass": 5
}
}
For a Euro 6 combustion vehicle at the highest combustion class:
{
"vehicle": {
"co2EmissionClass": 4,
"emissionStandard": "EURO_6"
}
}
Further information
Full parameter reference: Routing API Reference – calculateRoute