Low Emission Zone compliance check
POST /v1/lez/check
Checks a route against the low-emission zones in the dataset for a vehicle with a given Euro standard. The dataset has 374 zones in 26 countries: 183 with boundaries from OpenStreetMap and 191 drawn as approximate circles around the city centre, with the general rule of the country (see boundary on each zone). The whole route is checked, including intermediate stops. Rules change often and differ by vehicle type; confirm with the city's official source before relying on the result.
Parameters
locationsarray of object, requiredcostingauto | truck | bicycle | pedestrian | motorcycle | motor_scooter | bus | taxi- Vehicle/costing model for routing Default: "auto".
euro_standardeuro1 | euro2 | euro3 | euro4 | euro5 | euro6- Euro emission standard of the vehicle
fueldiesel | petrol- With diesel, the zone's diesel threshold is applied when it is stricter.
Example request
curl -X POST https://eunavigation.duckdns.org/v1/lez/check \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"locations":[{"lat":52.374,"lon":4.8897},{"lat":51.5074,"lon":-0.1278}],"euro_standard":"euro5","costing":"auto"}'Price
See the price of /v1/lez/check on the pricing page.