EV Routing API

Range-aware directions for electric vehicles with charging stop planning

How it works

1

Set EV parameters

Battery capacity, current charge, and minimum threshold.

2

Plaza plans the route

Picks from OpenStreetMap charging stations along the way.

3

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.

terminal
$

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.

EV Routing Elevation Geocoding

Fleet Range Monitor

Track fleet charge levels and plan optimal charging stops.

EV Routing Distance Matrix

Charger Finder

Find compatible charging stations along any route.

EV Routing Search

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

Google: EV routing on Routes API only
Plaza: EV parameters on any car route request
Mapbox: Limited EV support
Plaza: Battery state, charging stops, connector filters
HERE: EV routing available (enterprise only)
Plaza: Available on all paid plans

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.