Electric Vehicles
Battery Capacity
Returns the rated capacity of the electric vehicle's high voltage battery.
GET
/v2.0/vehicles/{id}/battery/capacity
Permission
read_battery
Request
Path
idrequired
string
The vehicle id of the vehicle you are making a request to.
curl "https://api.smartcar.com/v2.0/vehicles/{id}/battery/capacity" \
-H "Authorization: Bearer {token}" \
-X "GET"
Response
capacity
number
The rated capacity of the battery in kWh.
{
"capacity": 28
}
curl "https://api.smartcar.com/v2.0/vehicles/{id}/battery/capacity" \
-H "Authorization: Bearer {token}" \
-X "GET"
{
"capacity": 28
}