APIs/Energy API
APIs/Energy API

Battery charge level

Get battery charge level

Endpoint used to get vehicle's latest battery charge level (State of Charge) in percentage while charging.

get

https://api.volvocars.com/energy/v1/vehicles/{vin}/recharge-status/battery-charge-level

Scopes

  • openid

  • energy:battery_charge_level

Headers

KeyDescription
All these header values are mandatory. They must exist in every request.

Response body

The response’s data node lists the vehicle’s latest battery charge level in percentage while parked.

FieldDescription

Examples

curl -v -X GET 'https://api.volvocars.com/energy/v1/vehicles/{vin}/recharge-status/battery-charge-level' \
-H 'accept: application/vnd.volvocars.api.energy.vehicledata.v1+json' \
-H 'authorization: Bearer <your-access-token>' \
-H 'vcc-api-key: <your-vcc-api-key>'

Battery charge level/Get battery charge level