Introduction
Start for free
Register now to use this API under our Freemium plan and begin with free API requests.
Long Distance EV Routing API overview
The Long Distance EV Routing service endpoint calculates a route between a given origin and destination, passing through waypoints if they are specified. The route contains charging stops that have been added automatically based on the vehicle's consumption and charging model.
- Each charging stop results in an additional leg in the route response.
- Each additional leg contains a
chargingInformationAtEndOfLegelement in its leg summary. - Both the route summary and the leg summary include a
remainingChargeAtArrivalInkWhelement. - The route summary includes a
totalChargingTimeInSecondselement.
Refer to Long Distance EV Routing API for more information.
Getting started
Use the following topics to become more acquainted with this API and its endpoints.

How to get a TomTom API Key
When you use our location Service APIs, we need a way to identify that it is your application that is making the request to use the service (API).

TomTom Knowledge Base
The TomTom Knowledge Base optimizes the retrieval of information via articles, blogs, FAQs, tutorials, and videos for your use and reference.
Common use cases
Calculating
- Calculate departure times by planning routes using desired arrival times.
- Calculate the travel time of pre-existing routes (like routes created using GPS trace data or routes planned with other routing engines).
- Calculate a batch of up to 700 routing requests in parallel and retrieve the results as a single file.
- While having a matrix of origins and destinations, calculate routing costs for each origin-to-destination combination and retrieve it in a single file.
Evaluating and VNisualizing
- Evaluate the amount of fuel or energy needed for any route.
- Display the route geometry on map tiles from TomTom (or other map providers).
- Draw a polygon showing the reachable range with the current fuel or energy budget.
Planning
- Plan the fastest, shortest or eco route from A to B taking in consideration the real-time traffic and the historical traffic.
- Plan multiple alternative routes through one single API call.
- Plan a route through up to 150 intermediate waypoints.
- Plan the optimized route through the intermediate waypoints (traveling salesman).
- Plan a round trip through at least one intermediate point.
- Plan a route which avoids toll roads, ferries, or other types of roads.
- Plan a route for vehicles or pedestrians.
- Plan a route using our elaborated consumption models for both electric and combustion engines.
- Draggable routes: replan the same route with additional intermediate points.
Features
Charging data
Each charging stop results in an additional leg in the route response.
- Each additional leg contains a
chargingInformationAtEndOfLegelement in its leg summary. - Both the route summary and the leg summary include a
remainingChargeAtArrivalInkWhelement. - The route summary includes a
totalChargingTimeInSecondselement. - The
chargingInformationAtEndOfLegfield consists of:
- Target battery charge.
- Charging time.
- Details about the charging stop.