EV Routing API

Range-aware directions for electric vehicles with charging stop planning

Battery-aware directions with automatic charging stop planning.

How it works

1

Set EV parameters

Battery capacity, current charge, and minimum threshold.

2

Plaza plans the route

Considers 200K+ OSM charging stations along the way.

3

Get route with stops

Directions including when and where to charge.

See it in action

A real API request, visualized.

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 "Content-Type: application/json" \
-d '{
"origin": {"lat": 52.52, "lng": 13.405},
"destination": {"lat": 48.137, "lng": 11.576},
"ev": {
"battery_capacity_wh": 75000,
"initial_charge_pct": 0.8,
"min_charge_pct": 0.1
}
}'
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 all route requests
Mapbox: Limited EV support
Plaza: Battery, charging stops, energy models
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. OSM maps over 200,000 charging stations globally with metadata including connector types, power output, and network operator.

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 alongside waypoints, road exclusions, alternative routes, and turn-by-turn steps. Pass them all in the same request body.

Try it yourself