APIs/Connected Vehicle API
APIs/Connected Vehicle API

Fuel

Get fuel amount

Endpoint used to get vehicle’s latest fuel amount in liters.

get

https://api.volvocars.com/connected-vehicle/v1/vehicles/{vin}/fuel

Scopes

  • openid

  • conve:fuel_status

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 fuel amount.

FieldDescription

Examples

curl -v -X GET 'https://api.volvocars.com/connected-vehicle/v1/vehicles/{vin}/fuel' \
-H 'accept: application/vnd.volvocars.api.connected-vehicle.vehicledata.v1+json' \
-H 'authorization: Bearer <your-access-token>' \
-H 'vcc-api-key: <your-vcc-api-key>'

Get battery charge level

Endpoint used to get vehicle's latest battery charge level in percentage.

get

https://api.volvocars.com/connected-vehicle/v1/vehicles/{vin}/battery-charge-level

Scopes

  • openid

  • conve:fuel_status

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.

FieldDescription

Examples

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

Fuel/Get fuel amount