Electric Vehicle API
The Electric Vehicle API provides dozens of detailed datapoints on electric vehicles including range, battery capacity, charging time and performance metrics.
Available endpoints:
- /v1/electricvehicle - Get electric vehicle data by various parameters
- /v1/electricvehiclemakes - Get a list of all electric vehicle manufacturers
- /v1/electricvehiclemodels - Get all models for a specific manufacturer
For non-EV-specific data on all cars, see the Cars API.
From 3,156 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 347ms | 378ms | 442ms | 596ms | 1294ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/electricvehicle GET
https://api.api-ninjas.com/v1/electricvehicle
Get electric vehicle data from given parameters. Returns a list of electric vehicles that satisfy the parameters.
Parameters
At least one parameter (other than limit and offset) is required.
makeoptionalVehicle manufacturer (e.g.
teslaornissan).modeloptionalVehicle model (e.g.
model3orleaf).min_yearoptionalMinimum vehicle model year (e.g.
2020).max_yearoptionalMaximum vehicle model year (e.g.
2023).min_rangeoptionalMinimum range in kilometers (e.g.
250).max_rangeoptionalMaximum range in kilometers (e.g.
400).limitoptional premium onlyHow many results to return. Must be between
1and10. Default is1.offsetoptional premium onlyNumber of results to skip. Used for pagination. Default is
0.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
Returns an array of electric vehicle objects. Each object contains many technical fields; key fields include:
makeManufacturer name (for example
Tesla).modelModel name (for example
Model 3).year_startFirst model year this configuration is available.
battery_capacityNominal battery capacity in kWh (for example
60.0 kWh).battery_useable_capacityUsable battery capacity in kWh.
charge_powerAC charging power rating (for example
11 kW AC).charge_power_maxMaximum DC fast-charging power (for example
170 kW DC).electric_rangeRated electric range in kilometers (for example
420 km).total_powerTotal drivetrain power (for example
208 kW (283 PS)).vehicle_consumptionEnergy consumption in Wh/km (for example
112 Wh/km).length,width,heightExterior dimensions in millimeters.
seatsSeating capacity (for example
5 people).
Additional fields provide more detailed battery, charging, performance, and body specifications (see sample response).
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/electricvehicle?make=Tesla&model=Model%203Headers
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/electricvehicle?make=Tesla&model=Model%203" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
/v1/electricvehiclemakes GET
Business, Professional, or annual subscriptions only only
https://api.api-ninjas.com/v1/electricvehiclemakes
Returns a list of all electric vehicle makes (manufacturers).
Parameters
yearoptionalFilter manufacturers by year (e.g.
2023).
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
Returns an array of electric vehicle makes as strings (for example "Tesla", "Toyota").
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/electricvehiclemakesHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
/v1/electricvehiclemodels GET
Business, Professional, or annual subscriptions only only
https://api.api-ninjas.com/v1/electricvehiclemodels
Returns a list of all electric vehicle models for a given make (manufacturer).
Parameters
makerequiredVehicle manufacturer (e.g.
tesla).yearoptionalVehicle model year (e.g.
2023).
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
Returns an array of electric vehicle model names as strings (for example "Model 3", "Model 3 Long Range Dual Motor").
Sample Request
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/electricvehiclemodels?make=TeslaHeaders
X-Api-KeyLog in or sign up to get your API Key