APIs/Energy APIVersion 1
APIs/Energy APIVersion 1

Estimated charging time

Get estimated charging time

Provides the latest retrieved estimated charging time in minutes to reach the target battery charge level for a specific vehicle.

get

https://api.volvocars.com/energy/v1/vehicles/{vin}/recharge-status/estimated-charging-time

Scopes

  • openid

  • energy:estimated_charging_time

Headers

KeyDescription

Key

accept

Description

The mediatype of what should be returned. The valid values are: application/vnd.volvocars.api.energy.vehicledata.v1+json

Key

authorization

Description

The access token issued by Volvo ID identity system.

Key

vcc-api-key

Description

Your application’s VCC API Key.

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

Response body

The response’s data node lists the vehicle’s latest estimated charging time in minutes.

FieldDescription

Field

estimatedChargingTime.value

Description

The latest retrieved charging time estimate.

Field

estimatedChargingTime.unit

Description

Always minutes.

Field

estimatedChargingTime.timestamp

Description

Timestamp in ISO-8601 format when the value was last retrieved from the vehicle.

Examples

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

/