- Retrieve a vehicle's current state of charge
Retrieve the vehicle's current battery percentage used to seed route plans. source indicates where the value came from: MANUAL when the driver entered it, or CONNECTED when it comes from the vehicle's telemetry. All fields are null when no value is available.
- Mock serverhttps://developers.ev.energy/_mock/ev.energy-api-v2/vehicles/{vehicle_id}/state_of_charge
- Live API for both production and sandbox requests.https://api.ev.energy/v2/vehicles/{vehicle_id}/state_of_charge
- Staging server for internal testing only.https://api-staging.ev.energy/v2/vehicles/{vehicle_id}/state_of_charge
curl -i -X GET \
https://developers.ev.energy/_mock/ev.energy-api-v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H/state_of_charge \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'EvEnergy-Version: 2'Returns the vehicle's current state of charge.
Indicates the version of the API that generated this response. If EvEnergy-Version was not specified in the request, this will be your OAuth application's default version.
The maximum number of requests that can be made to this endpoint per hour. Defaults to 1000 but may vary per client.
The number of requests remaining until this client's rate limit is reached.
Current battery percentage. Null when unknown.
Where the current value came from: MANUAL (driver-entered) or CONNECTED (vehicle telemetry). Null when no value is available.
{ "url": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H/state_of_charge", "vehicle": "https://api.ev.energy/v2/vehicles/vhcl01HRFF3SEVSCRAV9B3CHVDFN0H", "state_of_charge_percentage": 0, "source": "MANUAL", "updated_at": "2019-08-24T14:15:22Z" }