EV Routing API
Range-aware directions for electric vehicles with charging stop planning
How it works
Set EV parameters
Battery capacity, current charge, and minimum threshold.
Plaza plans the route
Picks from OpenStreetMap charging stations along the way.
Get route with stops
Directions including when and where to charge.
See it in action
An example request and its response, drawn on the map.
Who uses this
Teams building with EV Routing API.
EV trip planning
Plan long-distance trips with automatic charging stops.
Electric fleets
Route electric delivery vehicles within range constraints.
In-car navigation
Range-aware routing for EV infotainment systems.
What you can build
Example apps powered by EV Routing API.
EV Trip Planner
Plan road trips with charging stops and range visualization.
Fleet Range Monitor
Track fleet charge levels and plan optimal charging stops.
Charger Finder
Find compatible charging stations along any route.
Start building
curl -X POST "https://plaza.fyi/api/v1/route" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"destination": {
"coordinates": [
11.576,
48.137
],
"type": "Point"
},
"ev": {
"battery_capacity_wh": 75000,
"initial_charge_pct": 0.8,
"min_charge_pct": 0.1
},
"origin": {
"coordinates": [
13.405,
52.52
],
"type": "Point"
}
}'
View endpoints
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/route | Directions with EV parameters (battery_capacity_wh, initial_charge_pct) |
How it compares
Common questions
Do Google Maps or Mapbox offer EV routing?
Google supports EV parameters in its Routes API. Mapbox has a Directions EV API in private preview. Neither is as straightforward as Plaza, which includes dedicated EV routing with automatic charging stop planning on all paid plans.
Where does Plaza get charging station data?
OpenStreetMap charging stations (amenity=charging_station), with their socket types, power output and operator tags.
How does EV routing pricing work?
EV routing uses the same /api/v1/route endpoint โ it's a premium endpoint counting as 4x. No separate pricing for EV parameters.
Can I combine EV routing with other route features?
Yes. EV parameters work with waypoints or alternative routes (not both at once), road exclusions and turn-by-turn steps, in the same request body. They don't combine with truck, motorcycle or scooter modes.